diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..fc40782 Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index d57ee8b..8b547b2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ desktop.ini Thumbs.db .sass-cache *.cfg -node_modules \ No newline at end of file +node_modules +package.json +.sass-cache/.DS_Store \ No newline at end of file diff --git a/.sass-cache/.DS_Store b/.sass-cache/.DS_Store new file mode 100644 index 0000000..012880c Binary files /dev/null and b/.sass-cache/.DS_Store differ diff --git a/content/review-response-8.htm b/content/review-response-8.htm new file mode 100644 index 0000000..0f0ae6e --- /dev/null +++ b/content/review-response-8.htm @@ -0,0 +1,7 @@ +--- +name: 'Review Response 8' +content_type: html +--- +

Store Response: 

+

Hi there, 

+

Sorry to hear you had a bad experience with the Ionic Band. We're sending you a replacement :)

\ No newline at end of file diff --git a/package.json b/package.json index 0793dbf..8cde52d 100644 --- a/package.json +++ b/package.json @@ -41,4 +41,4 @@ "responsive", "electronics" ] -} +} \ No newline at end of file diff --git a/pages/.DS_Store b/pages/.DS_Store new file mode 100644 index 0000000..48913b6 Binary files /dev/null and b/pages/.DS_Store differ diff --git a/pages/blog-categories/code-breadcrumbs.htm b/pages/blog-categories/code-breadcrumbs.htm new file mode 100644 index 0000000..2b7d6f1 --- /dev/null +++ b/pages/blog-categories/code-breadcrumbs.htm @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/pages/blog-categories/code-setup.htm b/pages/blog-categories/code-setup.htm new file mode 100644 index 0000000..508ac3d --- /dev/null +++ b/pages/blog-categories/code-setup.htm @@ -0,0 +1 @@ +{% global active_page = 'blog' %} \ No newline at end of file diff --git a/pages/blog-categories/page-blog-categories.htm b/pages/blog-categories/page-blog-categories.htm new file mode 100644 index 0000000..1e3608c --- /dev/null +++ b/pages/blog-categories/page-blog-categories.htm @@ -0,0 +1,53 @@ +--- +action: 'cmscontent:archive' +description: 'Blog Categories' +template: default +protocol: all +published: true +name: 'Blog Categories' +url: '/archives/:type/:category' +--- +
+
+
+
+ +
+
+
+
+

{{ category }}

+
+
+ + {% if archives | length > 0 %} + {% paginate archives by 5 %} + {% for post in pagination.items %} +
+

{{ post.title }}

+
{{ post.excerpt | unescape }}
+ +
+
+ {% endfor %} +
+ {% navigation %} +
+ {% endpaginate %} + {% else %} +
+
+

Not found

+

No {{ type }} posts found in category: {{ category }} {{ categoryID }}

+
+
+ {% endif %} +
+
+
+
\ No newline at end of file diff --git a/pages/blog-post/code-breadcrumbs.htm b/pages/blog-post/code-breadcrumbs.htm new file mode 100644 index 0000000..3854aff --- /dev/null +++ b/pages/blog-post/code-breadcrumbs.htm @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/pages/blog-post/page-blog-post.htm b/pages/blog-post/page-blog-post.htm index 6522c33..c50d52f 100644 --- a/pages/blog-post/page-blog-post.htm +++ b/pages/blog-post/page-blog-post.htm @@ -1,27 +1,55 @@ ---- -action: 'cmscontent:blog' -template: default -protocol: all -published: true -name: 'Blog Post' -url: /blog/:slug ---- -
- - {% if featured_image %} - {{ featured_image.alt }} - {% endif %} - In {{ post.type }} | {{ post.published_on | date("F j, Y") }} - {{ post.body | unescape }} - -
- {% if profile_image %} - {{ profile_image.alt }} - {% endif %} - {{ post.author_name }} - {{ post.user.getSocialLinks()|unescape }} -
- {{ post.user.user_bio|unescape }} -
-
-
\ No newline at end of file +--- +action: 'cmscontent:blog' +template: default +protocol: all +published: true +name: 'Blog Post' +url: '/blog/:slug' +--- +{% if featured_image %} +
+
+ {{ featured_image.alt }} +
+
+{% endif %} + +
+
+
+
+
+ +
+
+

{{ post.title }}

+
+
+

Published {{ post.published_on | date("F j, Y") }} In {{ post.type }}

+
+
+
+ {{ post.body | unescape }} +
+ +
+ {% if profile_image %} + {{ profile_image.alt }} + {% endif %} + {{ post.author_name }} + +
+ {{ post.user.user_bio|unescape }} +
+
+
+
+
+
+
diff --git a/pages/blog/page-blog.htm b/pages/blog/page-blog.htm index 067d286..afe2bd4 100644 --- a/pages/blog/page-blog.htm +++ b/pages/blog/page-blog.htm @@ -1,30 +1,46 @@ --- action: 'cmscontent:archive' +description: 'blog template' template: default protocol: all published: true name: Blog -url: /blog +url: '/archives/:type' --- -
-
- {% set publishedPosts = 0 %} - {% for post in archives %} - {% if post.status == "published" %} +
+
+
+ {% if archives | length > 0 or publishedPosts > 0 %} + {% paginate archives by 5 %} + {% set publishedPosts = 0 %} +
+ +
+
+ {% for post in archives %} + {% if post.status == "published" %} {% set publishedPosts = publishedPosts + 1 %} - {% endif %} -
-

{{ post.title }}

+ {% endif %} +
+

{{ post.title }}

{{ post.excerpt | unescape }}
- -
-
- {% endfor %} - - {% if archives | length == 0 or publishedPosts == 0 %} -
-

No posts found

-
- {% endif %} + +
+
+ {% endfor %} +
+ {% navigation %} +
+
+ {% endpaginate %} + {% else %} +

No posts found

+ {% endif %}
-
\ No newline at end of file +
+ diff --git a/pages/contact/page-contact.htm b/pages/contact/page-contact.htm index a0aca19..8244c76 100644 --- a/pages/contact/page-contact.htm +++ b/pages/contact/page-contact.htm @@ -5,7 +5,6 @@ name: Contact url: /contact --- -
@@ -34,6 +33,7 @@

Need to send a message?

+
{{ close_form() }}
@@ -45,4 +45,3 @@

Contact Us here

- diff --git a/pages/product/code-breadcrumbs.htm b/pages/product/code-breadcrumbs.htm index f4a02f2..993b351 100644 --- a/pages/product/code-breadcrumbs.htm +++ b/pages/product/code-breadcrumbs.htm @@ -1,17 +1,17 @@ -{% set category = product ? product.categories[0] : null %} - -
-

- Home - / - {% if category %} - {% for parent in category.listAllParents() %} - {{ parent.name }} - / - {% endfor %} - {{ category.name }} - / - {% endif %} - {{ product.name }} -

+{% set category = product ? product.categories[0] : null %} + +
+

+ Home + / + {% if category %} + {% for parent in category.listAllParents() %} + {{ parent.name }} + / + {% endfor %} + {{ category.name }} + / + {% endif %} + {{ product.name }} +

\ No newline at end of file diff --git a/pages/product/page-product.htm b/pages/product/page-product.htm index ea62160..84186aa 100644 --- a/pages/product/page-product.htm +++ b/pages/product/page-product.htm @@ -6,7 +6,6 @@ name: Product url: '/product/:urlName' --- - {{ open_form({'class': 'custom', 'onsubmit': 'return false'}) }} {% if product %}
@@ -16,9 +15,6 @@

We are sorry, the requested product was not found.

{% endif %} {{ close_form() }} + {{ partial('shop-product-review-form') }} {{ partial('shop-product-review') }} - - - - \ No newline at end of file diff --git a/pages/review/review.htm b/pages/review/review.htm new file mode 100644 index 0000000..94454ca --- /dev/null +++ b/pages/review/review.htm @@ -0,0 +1,56 @@ +--- +template: default +protocol: all +published: true +name: review +url: /review +--- +{{ open_form({'data-ajax-handler': 'system:onSendMessage', 'data-test': 'true'}) }} +

Review this product

+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+ + +
+
+ + + + + + +{{ close_form() }} \ No newline at end of file diff --git a/pages/robots/page-robots.htm b/pages/robots/page-robots.htm new file mode 100644 index 0000000..6a61857 --- /dev/null +++ b/pages/robots/page-robots.htm @@ -0,0 +1,13 @@ +--- +template: robots +protocol: all +published: true +name: Robots +url: /robots +--- +# robots.txt for http://www.example.com/ +User-agent: * +Disallow: /cyberworld/map/ # This is an infinite virtual URL space +Disallow: /tmp/ # these will soon disappear +Disallow: /foo.html +Sitemap: https://storename.lemonstand.com/sitemap \ No newline at end of file diff --git a/pages/sitemap/page-sitemap.htm b/pages/sitemap/page-sitemap.htm new file mode 100644 index 0000000..a65c8e9 --- /dev/null +++ b/pages/sitemap/page-sitemap.htm @@ -0,0 +1,46 @@ +--- +action: 'shop:products' +template: xml +protocol: all +published: true +name: Sitemap +url: /products.xml +--- + + +{% for product in products %} + + {% set page_url = "https:#{site_url('/')}product/#{product.url_name}" %} + {{ page_url }} + {{ product.updated_at|date("Y-m-d\\TH:i:sP") }} + +{% endfor %} + +{% for post in cmsContent('blog') %} + + {% set page_url = "#{post.permalink}" %} + {{ page_url }} + {{ post.published_on | date("Y-m-d\\TH:i:sP") }} + +{% endfor %} + +{% for url, code in pages %} +{% set page_url = "https:#{site_url('/')}#{url}" %} + {% if '/:' not in page_url %} + + {{ page_url | replace({"m//": "m/"}) }} + {{ page.published_on | date("Y-m-d\\TH:i:sP") }} + + {% endif %} +{% endfor %} + +{% for category in categories %} + + {% set page_url = "https:#{site_url('/')}/category/#{category.url_name}" %} + {{ page_url | replace({"m//": "m/"}) }} + {{ post.published_on | date("Y-m-d\\TH:i:sP") }} + +{% endfor %} + + + diff --git a/partials/blog-categories.htm b/partials/blog-categories.htm new file mode 100644 index 0000000..bb44a22 --- /dev/null +++ b/partials/blog-categories.htm @@ -0,0 +1,15 @@ +{% set blogCategories = [] %} +
+ {% for post in cmsContent('blog')|extended_sort('published_on', false) %} + {% for category in post.categories %} + {% if category.name not in blogCategories %} + + {% set blogCategories = blogCategories|merge([category.name]) %} + {% endif %} + {% endfor %} + {% endfor %} +
\ No newline at end of file diff --git a/partials/breadcrumb-bar.htm b/partials/breadcrumb-bar.htm new file mode 100644 index 0000000..8ecc6c0 --- /dev/null +++ b/partials/breadcrumb-bar.htm @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/partials/layout-header.htm b/partials/layout-header.htm index fede456..d05e9d8 100644 --- a/partials/layout-header.htm +++ b/partials/layout-header.htm @@ -60,22 +60,10 @@
- - - -