diff --git a/.gitignore b/.gitignore index 7f7d675..8556af4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ public/ -exampleSite/themes/ \ No newline at end of file +exampleSite/themes/ +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 9e10863..fa5f62b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ -# Hugo shopping product catalogue simple +# Shopping product catalogue - simple [![Build Status](https://travis-ci.org/kishaningithub/hugo-shopping-product-catalogue-simple.svg?branch=master)](https://travis-ci.org/kishaningithub/hugo-shopping-product-catalogue-simple) +Shopping product catalogue theme gives you a categorized display of all your products you want to showcase to your prospective customers. + +![screenshot](https://raw.githubusercontent.com/kishaningithub/hugo-shopping-product-catalogue-simple/master/images/screenshot.png) + ## Installation Go to the directory where you have your Hugo site and run: diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 214270c..b644203 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,4 @@ baseURL = "http://example.org/" languageCode = "en-us" -title = "Fancy Lighting Catalogue" +title = "Awesome Lighting Inc." theme = "hugo-shopping-product-catalogue-simple" diff --git a/exampleSite/content/products/alessa.md b/exampleSite/content/products/alessa.md index 9815ffe..791acc2 100644 --- a/exampleSite/content/products/alessa.md +++ b/exampleSite/content/products/alessa.md @@ -3,8 +3,8 @@ title: "Alessa" date: 2018-05-11T22:35:06+05:30 tags: ["Wall Light", "ambience", "black", "black metal", "contemporary", "cool", "cozy", "edison bulb", "filament bulb", "glass", "green", "indoor", "light", "metal", "MODERN", "round", "rustic", "vintage", "white"] categories: ["Wall Light"] -images: ["https://cdn.shopify.com/s/files/1/0832/3531/products/prod691161_1024x1024.png?v=1509604075", "https://cdn.shopify.com/s/files/1/0832/3531/products/IYL-W208W_1024x1024.JPG?v=1509604207", "https://cdn.shopify.com/s/files/1/0832/3531/products/prod691161_1024x1024.jpeg?v=1473056813", "https://cdn.shopify.com/s/files/1/0832/3531/products/IYL-W208W-001_1024x1024.jpg?v=1473056813", "https://cdn.shopify.com/s/files/1/0832/3531/products/IYL-W208G_1_1024x1024.JPG?v=1473056813", "https://cdn.shopify.com/s/files/1/0832/3531/products/3633abd024afbfe14957da40d3f4783d_1024x1024.jpg?v=1473056813"] -thumbnailImage: "https://cdn.shopify.com/s/files/1/0832/3531/products/prod691161_large.png?v=1509604075" +images: ["/img/alessa/1.png", "/img/alessa/2.jpg", "/img/alessa/3.jpg", "/img/alessa/4.jpg", "/img/alessa/5.jpg", "/img/alessa/6.jpg"] +thumbnailImage: "/img/alessa/thumnail.png" comparePrice: "" actualPrice: "₹ 4,032.00" inStock: true diff --git a/exampleSite/content/products/azure-blue-de-stijl-bedside-retro-light-with-black-ring.md b/exampleSite/content/products/azure-blue-de-stijl-bedside-retro-light-with-black-ring.md index 3b4b98b..689246d 100644 --- a/exampleSite/content/products/azure-blue-de-stijl-bedside-retro-light-with-black-ring.md +++ b/exampleSite/content/products/azure-blue-de-stijl-bedside-retro-light-with-black-ring.md @@ -3,14 +3,14 @@ title: "Azure Blue De Stijl Inspired Bedside Retro Light" date: 2018-05-10T08:02:34+05:30 tags: ["Wall Light"] categories: ["Wall Light"] -images : ["https://cdn.shopify.com/s/files/1/0976/8822/products/bedside_modern_style_lamp_light_sconce.jpg?v=1523161339"] -thumbnailImage: "https://cdn.shopify.com/s/files/1/0976/8822/products/bedside_modern_style_lamp_light_sconce_large.jpg?v=1523161339" +images : ["/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/1.jpg"] +thumbnailImage: "/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/thumbnail.jpg" comparePrice: "₹ 3000.00" actualPrice: "₹ 2917.00" inStock: true --- -The azure blue bedside modern retro lamp is functional at different levels and minimal in appearance. You can swivel it to your desired angle and pivot the light freely. +The azure blue bedside modern retro lamp is functional at different levels and minimal in appearance. You can swivel it to your desired angle and pivot the light freely. - Feature: 360 degrees swivel. - Bulb: Not Included, Shop here diff --git a/exampleSite/content/products/duke.md b/exampleSite/content/products/duke.md index a092a8a..8c77663 100644 --- a/exampleSite/content/products/duke.md +++ b/exampleSite/content/products/duke.md @@ -3,8 +3,8 @@ title: "Duke" date: 2018-05-12T15:48:00+05:30 tags: ["Floor Light"] categories: ["Floor Light"] -images: ["https://cdn.shopify.com/s/files/1/1204/7448/products/1210F.4_1024x1024.jpg?v=1517572734", "https://cdn.shopify.com/s/files/1/1204/7448/products/1210F.1_1024x1024.jpg?v=1517572734", "https://cdn.shopify.com/s/files/1/1204/7448/products/1210F.2_1024x1024.jpg?v=1517572734"] -thumbnailImage: "https://cdn.shopify.com/s/files/1/1204/7448/products/1210F.4_large.jpg?v=1517572734" +images: ["/img/duke/1.jpg", "/img/duke/2.jpg", "/img/duke/3.jpg"] +thumbnailImage: "/img/duke/thumbnail.jpg" comparePrice: "" actualPrice: "₹ 87,341.00" inStock: true diff --git a/exampleSite/content/products/modo-21-lamp.md b/exampleSite/content/products/modo-21-lamp.md index 2333e78..6f400e9 100644 --- a/exampleSite/content/products/modo-21-lamp.md +++ b/exampleSite/content/products/modo-21-lamp.md @@ -3,8 +3,8 @@ title: "Modo 21 Lamp" date: 2018-05-12T15:54:25+05:30 tags: ["chandeliers"] categories: ["chandeliers"] -images: ["https://cdn.shopify.com/s/files/1/1204/7448/products/MD8001-21_1024x1024.jpg?v=1522740623", "https://cdn.shopify.com/s/files/1/1204/7448/products/MD8001-21.2_1024x1024.jpg?v=1522740623", "https://cdn.shopify.com/s/files/1/1204/7448/products/MD8001-21_1024x1024.jpeg?v=1522740623"] -thumbnailImage: "https://cdn.shopify.com/s/files/1/1204/7448/products/MD8001-21_large.jpeg?v=1522740623" +images: ["/img/modo-21-lamp/1.jpg", "/img/modo-21-lamp/2.jpg", "/img/modo-21-lamp/2.jpg"] +thumbnailImage: "/img/modo-21-lamp/thumbnail.jpg" comparePrice: "" actualPrice: "₹ 85,000.00" inStock: true diff --git a/exampleSite/content/products/oda-lamp.md b/exampleSite/content/products/oda-lamp.md index fcdc032..61cbf68 100644 --- a/exampleSite/content/products/oda-lamp.md +++ b/exampleSite/content/products/oda-lamp.md @@ -3,8 +3,8 @@ title: "Oda Lamp" date: 2018-05-12T13:50:55+05:30 tags: ["Floor Light"] categories: ["Floor Light"] -images: ["https://cdn.shopify.com/s/files/1/0832/3531/products/49ab4aa3fc99e391e74c22754cbc7262_1024x1024.jpg?v=1509266776", "https://cdn.shopify.com/s/files/1/0832/3531/products/Oda_Small_Oda_Big_1024x1024.jpg?v=1509266715"] -thumbnailImage: "https://cdn.shopify.com/s/files/1/0832/3531/products/49ab4aa3fc99e391e74c22754cbc7262_large.jpg?v=1509266776" +images: ["/img/oda-lamp/1.jpg", "/img/oda-lamp/2.jpg"] +thumbnailImage: "/img/oda-lamp/thumbnail.jpg" comparePrice: "₹ 25,920.00" actualPrice: "₹ 12,960.00" inStock: false diff --git a/exampleSite/content/products/retro-vintage-industrial-cage-pendant-system.md b/exampleSite/content/products/retro-vintage-industrial-cage-pendant-system.md index d9901b3..1840b72 100644 --- a/exampleSite/content/products/retro-vintage-industrial-cage-pendant-system.md +++ b/exampleSite/content/products/retro-vintage-industrial-cage-pendant-system.md @@ -3,8 +3,8 @@ title: "Retro Vintage Industrial Cage Pendant System" date: 2018-05-10T20:11:38+05:30 tags: ["Pendant Light"] categories: ["Pendant Light"] -images: ["https://cdn.shopify.com/s/files/1/0832/3531/products/retro-vintage-cage-pendant-system_1024x1024.png?v=1474392866", "https://cdn.shopify.com/s/files/1/0832/3531/products/Screen_Shot_2015-11-28_at_8.46.45_pm_1024x1024.png?v=1474392865"] -thumbnailImage: "https://cdn.shopify.com/s/files/1/0832/3531/products/retro-vintage-cage-pendant-system_large.png?v=1474392866" +images: ["/img/retro-vintage-industrial-cage-pendant-system/1.png", "/img/retro-vintage-industrial-cage-pendant-system/2.png"] +thumbnailImage: "/img/retro-vintage-industrial-cage-pendant-system/thumbnail.png" comparePrice: "" actualPrice: "₹ 3,744.00" inStock: true diff --git a/exampleSite/content/products/void-pendant.md b/exampleSite/content/products/void-pendant.md index f82c758..c2b667a 100644 --- a/exampleSite/content/products/void-pendant.md +++ b/exampleSite/content/products/void-pendant.md @@ -3,13 +3,11 @@ title: "Void Pendant" date: 2018-05-10T20:17:46+05:30 tags: ["Pendant Light"] categories: ["Pendant Light"] -images: ["https://cdn.shopify.com/s/files/1/0832/3531/products/VoidCopper1_TomDixon_OrangeSkin1_362_362_s_c1_1024x1024.jpg?v=1507722486", "https://cdn.shopify.com/s/files/1/0832/3531/products/2717_20_1024x1024.jpg?v=1507722486", "https://cdn.shopify.com/s/files/1/0832/3531/products/led-pendant-lamps-Copper-Glass-Shade-pendant-light-modern-suspension-lighting-mirror-ball-lampshade-Pendant-Lamp_1024x1024.jpg?v=1507722486", -"https://cdn.shopify.com/s/files/1/0832/3531/products/205becaf08789b429b00f18d95c0ab58--tom-dixon-pendant-lights_1024x1024.jpg?v=1507722486" -] -thumbnailImage: "https://cdn.shopify.com/s/files/1/0832/3531/products/VoidCopper1_TomDixon_OrangeSkin1_362_362_s_c1_large.jpg?v=1507722486" +images: ["/img/void-pendant/1.jpg", "/img/void-pendant/2.jpg", "/img/void-pendant/3.jpg", "/img/void-pendant/4.jpg"] +thumbnailImage: "/img/void-pendant/thumbnail.jpg" comparePrice: "" actualPrice: "₹ 18,500.00" inStock: true --- -Inspired by vacuum flasks, Void is made from glass which is formed into a complex double-walled shade. A small but powerful bulb deep inside the lamp creates a soft but directional light beam, while the exterior is polished to a highly reflective finish in Pendant and Surface light versions. \ No newline at end of file +Inspired by vacuum flasks, Void is made from glass which is formed into a complex double-walled shade. A small but powerful bulb deep inside the lamp creates a soft but directional light beam, while the exterior is polished to a highly reflective finish in Pendant and Surface light versions. \ No newline at end of file diff --git a/exampleSite/static/img/alessa/1.png b/exampleSite/static/img/alessa/1.png new file mode 100644 index 0000000..524e2c7 Binary files /dev/null and b/exampleSite/static/img/alessa/1.png differ diff --git a/exampleSite/static/img/alessa/2.jpg b/exampleSite/static/img/alessa/2.jpg new file mode 100644 index 0000000..8dded05 Binary files /dev/null and b/exampleSite/static/img/alessa/2.jpg differ diff --git a/exampleSite/static/img/alessa/3.jpg b/exampleSite/static/img/alessa/3.jpg new file mode 100644 index 0000000..98075bf Binary files /dev/null and b/exampleSite/static/img/alessa/3.jpg differ diff --git a/exampleSite/static/img/alessa/4.jpg b/exampleSite/static/img/alessa/4.jpg new file mode 100644 index 0000000..a51daf8 Binary files /dev/null and b/exampleSite/static/img/alessa/4.jpg differ diff --git a/exampleSite/static/img/alessa/5.jpg b/exampleSite/static/img/alessa/5.jpg new file mode 100644 index 0000000..4d4d954 Binary files /dev/null and b/exampleSite/static/img/alessa/5.jpg differ diff --git a/exampleSite/static/img/alessa/6.jpg b/exampleSite/static/img/alessa/6.jpg new file mode 100644 index 0000000..8bdc156 Binary files /dev/null and b/exampleSite/static/img/alessa/6.jpg differ diff --git a/exampleSite/static/img/alessa/thumnail.png b/exampleSite/static/img/alessa/thumnail.png new file mode 100644 index 0000000..d213af1 Binary files /dev/null and b/exampleSite/static/img/alessa/thumnail.png differ diff --git a/exampleSite/static/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/1.jpg b/exampleSite/static/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/1.jpg new file mode 100644 index 0000000..511e780 Binary files /dev/null and b/exampleSite/static/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/1.jpg differ diff --git a/exampleSite/static/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/thumbnail.jpg b/exampleSite/static/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/thumbnail.jpg new file mode 100644 index 0000000..c81a6d7 Binary files /dev/null and b/exampleSite/static/img/azure-blue-de-stijl-bedside-retro-light-with-black-ring/thumbnail.jpg differ diff --git a/exampleSite/static/img/duke/1.jpg b/exampleSite/static/img/duke/1.jpg new file mode 100644 index 0000000..0089a6d Binary files /dev/null and b/exampleSite/static/img/duke/1.jpg differ diff --git a/exampleSite/static/img/duke/2.jpg b/exampleSite/static/img/duke/2.jpg new file mode 100644 index 0000000..3a48db7 Binary files /dev/null and b/exampleSite/static/img/duke/2.jpg differ diff --git a/exampleSite/static/img/duke/3.jpg b/exampleSite/static/img/duke/3.jpg new file mode 100644 index 0000000..9084be3 Binary files /dev/null and b/exampleSite/static/img/duke/3.jpg differ diff --git a/exampleSite/static/img/duke/thumbnail.jpg b/exampleSite/static/img/duke/thumbnail.jpg new file mode 100644 index 0000000..1728f7d Binary files /dev/null and b/exampleSite/static/img/duke/thumbnail.jpg differ diff --git a/exampleSite/static/img/modo-21-lamp/1.jpg b/exampleSite/static/img/modo-21-lamp/1.jpg new file mode 100644 index 0000000..6c2ba17 Binary files /dev/null and b/exampleSite/static/img/modo-21-lamp/1.jpg differ diff --git a/exampleSite/static/img/modo-21-lamp/2.jpg b/exampleSite/static/img/modo-21-lamp/2.jpg new file mode 100644 index 0000000..d0313ff Binary files /dev/null and b/exampleSite/static/img/modo-21-lamp/2.jpg differ diff --git a/exampleSite/static/img/modo-21-lamp/3.jpg b/exampleSite/static/img/modo-21-lamp/3.jpg new file mode 100644 index 0000000..a1cf617 Binary files /dev/null and b/exampleSite/static/img/modo-21-lamp/3.jpg differ diff --git a/exampleSite/static/img/modo-21-lamp/thumbnail.jpg b/exampleSite/static/img/modo-21-lamp/thumbnail.jpg new file mode 100644 index 0000000..8feaaf4 Binary files /dev/null and b/exampleSite/static/img/modo-21-lamp/thumbnail.jpg differ diff --git a/exampleSite/static/img/oda-lamp/1.jpg b/exampleSite/static/img/oda-lamp/1.jpg new file mode 100644 index 0000000..0e647b5 Binary files /dev/null and b/exampleSite/static/img/oda-lamp/1.jpg differ diff --git a/exampleSite/static/img/oda-lamp/2.jpg b/exampleSite/static/img/oda-lamp/2.jpg new file mode 100644 index 0000000..ff674ad Binary files /dev/null and b/exampleSite/static/img/oda-lamp/2.jpg differ diff --git a/exampleSite/static/img/oda-lamp/thumbnail.jpg b/exampleSite/static/img/oda-lamp/thumbnail.jpg new file mode 100644 index 0000000..5a749a0 Binary files /dev/null and b/exampleSite/static/img/oda-lamp/thumbnail.jpg differ diff --git a/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/1.png b/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/1.png new file mode 100644 index 0000000..1b663c0 Binary files /dev/null and b/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/1.png differ diff --git a/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/2.png b/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/2.png new file mode 100644 index 0000000..ba0ae90 Binary files /dev/null and b/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/2.png differ diff --git a/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/thumbnail.png b/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/thumbnail.png new file mode 100644 index 0000000..d65009c Binary files /dev/null and b/exampleSite/static/img/retro-vintage-industrial-cage-pendant-system/thumbnail.png differ diff --git a/exampleSite/static/img/void-pendant/1.jpg b/exampleSite/static/img/void-pendant/1.jpg new file mode 100644 index 0000000..a7af8b5 Binary files /dev/null and b/exampleSite/static/img/void-pendant/1.jpg differ diff --git a/exampleSite/static/img/void-pendant/2.jpg b/exampleSite/static/img/void-pendant/2.jpg new file mode 100644 index 0000000..1be7adf Binary files /dev/null and b/exampleSite/static/img/void-pendant/2.jpg differ diff --git a/exampleSite/static/img/void-pendant/3.jpg b/exampleSite/static/img/void-pendant/3.jpg new file mode 100644 index 0000000..e22651d Binary files /dev/null and b/exampleSite/static/img/void-pendant/3.jpg differ diff --git a/exampleSite/static/img/void-pendant/4.jpg b/exampleSite/static/img/void-pendant/4.jpg new file mode 100644 index 0000000..deeaa2a Binary files /dev/null and b/exampleSite/static/img/void-pendant/4.jpg differ diff --git a/exampleSite/static/img/void-pendant/thumbnail.jpg b/exampleSite/static/img/void-pendant/thumbnail.jpg new file mode 100644 index 0000000..a7af8b5 Binary files /dev/null and b/exampleSite/static/img/void-pendant/thumbnail.jpg differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..0aba3c9 Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 0000000..4ee9faf Binary files /dev/null and b/images/tn.png differ diff --git a/layouts/partials/products/list/product-list.html b/layouts/partials/products/list/product-list.html index 42ad946..0a4c695 100644 --- a/layouts/partials/products/list/product-list.html +++ b/layouts/partials/products/list/product-list.html @@ -8,7 +8,7 @@
- {{ range .Data.Pages }} + {{ range .Data.Pages.ByPublishDate }} {{ partial "products/list/product-list-item.html" . }} {{ end }}
diff --git a/theme.toml b/theme.toml index 9248606..30b671f 100644 --- a/theme.toml +++ b/theme.toml @@ -1,21 +1,21 @@ # theme.toml template for a Hugo theme # See https://github.com/gohugoio/hugoThemes#themetoml for an example -name = "Hugo Shopping Product Catalogue Simple" +name = "Shopping Product Catalogue - Simple" license = "MIT" -licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE.md" -description = "" -homepage = "http://example.com/" -tags = [] -features = [] +licenselink = "https://github.com/kishaningithub/hugo-shopping-product-catalogue-simple/blob/master/LICENSE.md" +description = "Kishan B" +homepage = "https://github.com/kishaningithub" +tags = ["shopping", "catalogue", "product catalogue", "ecommerce", "minimal", "responsive"] +features = ["catalogue", "bootstrap", "responsive"] min_version = "0.38" [author] - name = "" - homepage = "" + name = "Kishan B" + homepage = "https://github.com/kishaningithub" # If porting an existing theme [original] name = "" homepage = "" - repo = "" + repo = "" \ No newline at end of file