rebly-sections 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ {% if section.settings.show_recent_articles %}
2
+ <div class="widget widget_recent_article">
3
+ <h4>{{ 'blogs.sidebar.recent_articles' | t }}<span class="right"></span></h4>
4
+ <ul class="recent_article">
5
+ {% for article in blogs[blog.handle].articles limit: section.settings.blog_article_limit %}
6
+ <li class="article-item">
7
+ {% if section.settings.show_recent_articles_img %}
8
+ {% if article.image %}
9
+ <div class="article-image">
10
+ {% assign image_alt = article.title | escape %}
11
+ {{ article | img_url: 'master' | img_tag: image_alt, 'article__image' | link_to: article.url }}
12
+ </div>
13
+ {% endif %}
14
+ {% endif %}
15
+ <div class="article-description">
16
+ <h6>
17
+ <a href="{{ article.url }}">{{ article.title }}</a></h6>
18
+ <p>{{ article.content | strip_html | truncatewords: 5 }}</p>
19
+ </div>
20
+ </li>
21
+ {% endfor %}
22
+ </ul>
23
+ </div>
24
+ {% endif %}
25
+
26
+ {% schema %}
27
+ {
28
+ "name": "Blog Article",
29
+ "settings": [
30
+
31
+ {
32
+ "type": "checkbox",
33
+ "id": "show_recent_articles",
34
+ "label": "Show Recent Articles",
35
+ "default": true
36
+ },
37
+ {
38
+ "type": "checkbox",
39
+ "id": "show_recent_articles_img",
40
+ "label": "Show Recent Articles Image",
41
+ "default": true
42
+ },
43
+ {
44
+ "type": "text",
45
+ "id": "blog_article_limit",
46
+ "label": "Article limit",
47
+ "default": "3"
48
+ }
49
+ ]
50
+ }
51
+ {% endschema %}
@@ -0,0 +1,189 @@
1
+ {% if section.settings.show_best_products %}
2
+ <div data-section-id="{{ section.id }}" data-section-type="blog-sidebar-deals" class="blog-sidebar-deals">
3
+ <div class="widget widget_top_rated_products" style ="background:{{section.settings.sidebar_bg_color}}">
4
+ {% if collections[section.settings.dealitems].products.size > 0 %}
5
+ {% if section.settings.title != blank %}
6
+ <h4><span>{{ section.settings.title }}</span></h4>
7
+ {% endif %}
8
+ {% endif %}
9
+ <div class="carousel-block">
10
+ <ul class="no-bullets sidebar-deal-products owl-carousel owl-theme">
11
+ {% for product in collections[section.settings.dealitems].products limit: section.settings.limit %}
12
+ <li class="products">
13
+
14
+ <div class="product-container">
15
+ {% if product.images.size > 0 %}
16
+ <a class="thumb grid__item" href="{{ product.url | within: collection }}">
17
+ {% if product.compare_at_price > product.price and settings.collections_show_sale_circle %}
18
+ <div class="featured-tag">
19
+ <span class="badge badge--sale">
20
+ <span class="gift-tag badge__text{% if sale_text.size > 7 %} badge__text--small{% endif %}">{{ 'products.product.sale' | t }}</span>
21
+ </span>
22
+ </div>
23
+ {% endif %}
24
+
25
+
26
+ <img alt="featured product" src="{{ product.featured_image | product_img_url: '350X' }}">
27
+
28
+ {% if settings.count_down_enable and settings.count_down_collections %}
29
+ {% assign dealTime = settings.home_productdeal_time | split: ' ' | join: ' ' | split: ' ' %}
30
+ {% include 'deal-snippet-sidebar' %}
31
+ {% endif %}
32
+ </a>
33
+ {% endif %}
34
+ </div>
35
+
36
+ <div class="product-detail">
37
+ <a class="grid-link__title" href="{{ product.url | within: collection }}"> {{ product.title }} </a>
38
+
39
+ {% if settings.product_review %} <span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span> {% endif %}
40
+
41
+ <div class="top-product-prices grid-link__meta">
42
+
43
+ <div class="product_price">
44
+ <div class="grid-link__org_price">
45
+ {{ product.price_min | money }}
46
+ </div>
47
+ {% if product.compare_at_price_max > product.price %}
48
+ <del>{{ product.compare_at_price_max | money }}</del>
49
+ {% endif %}
50
+ </div>
51
+ </div>
52
+ </div>
53
+
54
+ </li>
55
+
56
+ {% else %}
57
+ {% for i in (1..section.settings.limit) %}
58
+ <li>
59
+ <div class="products wow fadeIn animated" style="visibility: visible;">
60
+ <div class="product-container">
61
+ <a href="#" class="grid-link">
62
+ {% if forloop.index == 3 %}
63
+ <span class="badge badge--sale"> <span class="gift-tag badge__text">Sale</span> </span>
64
+ {% endif %}
65
+
66
+ <div class="reveal">
67
+ {% capture current %}{% cycle 1, 2, 3, 4, 5, 6 %}{% endcapture %}
68
+ <img src="//via.placeholder.com/570x490">
69
+ </div>
70
+ </a>
71
+ <div class="ImageWrapper">
72
+ <div class="product-button">
73
+ <a href="#" id="party-wear-heel" class="quick-view-text">
74
+ <i class="fas fa-eye" aria-hidden="true"></i>
75
+ </a>
76
+ <form action="#" method="post" class="variants clearfix" id="cart-form-6529189125">
77
+ <input type="hidden" name="id" value="21661289093">
78
+ <a href="#" class="add-cart-btn"><i class="fas fa-shopping-cart"></i> </a>
79
+ </form>
80
+ <a href="/account/login" class="wishlist"><i class="far fa-heart"></i></a> </div>
81
+ </div>
82
+ </div>
83
+ <div class="product-detail">
84
+ <a href="#" class="grid-link__title">Sample title {{ i }}</a>
85
+ <span class="spr-badge" id="spr_badge_6529189125" data-rating="0.0">
86
+ <span class="spr-starrating spr-badge-starrating"><i class="spr-icon spr-icon-star-empty"></i><i class="spr-icon spr-icon-star-empty"></i><i class="spr-icon spr-icon-star-empty"></i><i class="spr-icon spr-icon-star-empty"></i><i class="spr-icon spr-icon-star-empty"></i></span> <span class="spr-badge-caption"> </span> </span>
87
+ <div class="grid-link__meta">
88
+ <div class="product_price"> <span class="money" data-currency-usd="$320.00">$0.00</span> </div>
89
+ <del class="grid-link__sale_price"><span class="money" data-currency-usd="$756.00">$0.00</span></del> </div>
90
+
91
+ </div>
92
+ </div>
93
+ </li>
94
+ {% endfor %}
95
+ {% endfor %}
96
+ </ul>
97
+ <div class="sidabar_nav home_sidebar--deal-nav"></div>
98
+ </div>
99
+ </div>
100
+ <style>
101
+ .home-sidebar-deals .lof-clock-timer-detail-single li {background:{{ section.settings.dealbtn }};border:1px solid {{ section.settings.dealbtn_border }};color:{{ section.settings.dealbtn_text }};}
102
+
103
+ </style>
104
+ </div>
105
+ {% endif %}
106
+
107
+ {% schema %}
108
+ {
109
+ "name": "Blog Sidebar Deals",
110
+ "settings": [
111
+ {
112
+ "type": "checkbox",
113
+ "id": "show_best_products",
114
+ "label": "Enable best deals"
115
+ },
116
+ {
117
+ "type": "color",
118
+ "id": "sidebar_bg_color",
119
+ "label": "Bg Color",
120
+ "default": "#fff"
121
+ },
122
+ {
123
+ "type": "text",
124
+ "id": "title",
125
+ "label": "Heading"
126
+ },
127
+ {
128
+ "type": "collection",
129
+ "id": "dealitems",
130
+ "label": "Collection"
131
+ },
132
+ {
133
+ "type": "color",
134
+ "id": "dealbtn_border",
135
+ "label": "Deal Button Border",
136
+ "default": "#000"
137
+ },
138
+ {
139
+ "type": "color",
140
+ "id": "dealbtn",
141
+ "label": "Deal Button Bg",
142
+ "default": "#000"
143
+ },
144
+ {
145
+ "type": "color",
146
+ "id": "dealbtn_text",
147
+ "label": "Deal Button Text",
148
+ "default": "#000"
149
+ },
150
+
151
+ {
152
+ "type": "text",
153
+ "id": "limit",
154
+ "label": "Product Limit",
155
+ "default": "4"
156
+ }
157
+
158
+ ]
159
+ }
160
+ {% endschema %}
161
+
162
+ <script type="text/javascript">
163
+ $(document).ready(function(){
164
+ var homeSidedeals = $(".sidebar-deal-products");
165
+ homeSidedeals.owlCarousel({
166
+ items:1,
167
+ loop:false,
168
+ dots: false,
169
+ nav:true,
170
+ navContainer: ".home_sidebar--deal-nav",
171
+ navText: [' <a class="prev btn active"><i class="fa fa-angle-left"></i></a>','<a class="next btn"><i class="fa fa-angle-right"></i></a>'],
172
+ responsive:{
173
+ 0:{
174
+ items: 1
175
+ },
176
+ 600:{
177
+ items:1
178
+ },
179
+ 700:{
180
+ items:1
181
+ },
182
+
183
+ 1000:{
184
+ items: 1
185
+ }
186
+ }
187
+ });
188
+ });
189
+ </script>
@@ -0,0 +1,126 @@
1
+ {% if section.settings.instagram_use %}
2
+ <div class="widget widget_instagram clearfix">
3
+ {% if section.settings.title != blank or section.settings.text_1 %}
4
+ <h4 style="color:{{ section.settings.title_1_clr }};"><span> {{ section.settings.title | escape }}</span></h4>
5
+ {% endif %}
6
+ <input type="hidden" id="token-{{ section.id }}" value="{{ section.settings.accessToken }}">
7
+ <div class="lush-instagram clearfix" data-id="{{ section.id }}">
8
+ <div class="grid">
9
+ <div id="instafeed-{{ section.id }}" class="-{{ section.id }}" data-sort-by="{{ section.settings.sort }}">
10
+ </div>
11
+ </div>
12
+ </div>
13
+
14
+ </div>
15
+ {% endif %}
16
+
17
+ {{ 'slick.scss' | asset_url | stylesheet_tag }}
18
+ {{ 'instagram.js' | asset_url | script_tag }}
19
+
20
+ {%- if section.settings.padding != blank or section.settings.margin != blank -%}
21
+ {% assign margin = section.settings.margin | remove: ' ' | split: '-' | join: ' ' %}
22
+ {% assign padding = section.settings.padding | remove: ' ' | split: '-' | join: ' ' %}
23
+ <style>
24
+ #shopify-section-{{ section.id }} {
25
+ {%- if section.settings.margin != blank -%} margin: {{margin}};{%- endif -%}
26
+ {%- if section.settings.padding != blank -%}padding: {{padding}}{%- endif -%}
27
+ }
28
+
29
+
30
+ </style>
31
+ {%- endif -%}
32
+
33
+ {% schema %}
34
+ {
35
+ "name": "Instagram Feed",
36
+ "class": "instagram-block",
37
+ "settings": [
38
+
39
+ {
40
+ "type": "checkbox",
41
+ "id": "instagram_use",
42
+ "label": "Use Insagram?"
43
+
44
+ },
45
+ {
46
+ "type": "color",
47
+ "id": "sidebar_bg_color",
48
+ "label": "Bg Color",
49
+ "default": "#000"
50
+ },
51
+ {
52
+ "type": "text",
53
+ "id": "accessToken",
54
+ "label": "Access Token:",
55
+ "default": "3311466850.1677ed0.84b4d7bf4b6f49b4887a8fe93707d9b5",
56
+ "info": "Use when Get Image from: 'Access Token'. [Where do I find Access Token?](http:\/\/instagram.pixelunion.net)"
57
+ },
58
+ {
59
+ "type": "checkbox",
60
+ "id": "heading_image_need",
61
+ "label": "Show Heading Image ?"
62
+
63
+ },
64
+ {
65
+ "type": "image_picker",
66
+ "id": "heading_image",
67
+ "label": "Image",
68
+ "info": "Size: 105x17"
69
+
70
+ },
71
+ {
72
+ "type": "text",
73
+ "id": "title",
74
+ "label": "Title",
75
+ "default": "Instagram Feed"
76
+ },
77
+ {
78
+ "type": "color",
79
+ "id": "title_1_clr",
80
+ "label": "Heading",
81
+ "default": "#000"
82
+ },
83
+
84
+ {
85
+ "type": "select",
86
+ "id": "sort",
87
+ "label": "Sort by",
88
+ "default": "none",
89
+ "options": [
90
+ {
91
+ "value": "none",
92
+ "label": "none (default)."
93
+ },
94
+ {
95
+ "value": "most-recent",
96
+ "label": "Newest to oldest."
97
+ },
98
+ {
99
+ "value": "least-recent",
100
+ "label": "Oldest to newest."
101
+ },
102
+ {
103
+ "value": "most-liked",
104
+ "label": "Highest # of likes to lowest."
105
+ },
106
+ {
107
+ "value": "least-liked",
108
+ "label": "Lowest # likes to highest."
109
+ },
110
+ {
111
+ "value": "most-commented",
112
+ "label": "Highest # of comments to lowest."
113
+ },
114
+ {
115
+ "value": "least-commented",
116
+ "label": "Lowest # of comments to highest."
117
+ },
118
+ {
119
+ "value": "random",
120
+ "label": "Random order."
121
+ }
122
+ ]
123
+ }
124
+ ]
125
+ }
126
+ {% endschema %}
@@ -0,0 +1,30 @@
1
+ {% if section.settings.show_blog_tags %}
2
+ <div class="widget widget_categories">
3
+ {% if blog.all_tags.size > 0 %}
4
+ <h4>{{ 'blogs.sidebar.categories' | t }}<span class="right"></span></h4>
5
+ <ul class="categories">
6
+ {% for tag in blog.all_tags %}
7
+ {% if current_tags contains tag %}
8
+ <li class="active">{{ tag }}</li>
9
+ {% else %}
10
+ <li>{{ tag | link_to_tag: tag }}</li>
11
+ {% endif %}
12
+ {% endfor %}
13
+ </ul>
14
+ {% endif %}
15
+ </div>
16
+ {% endif %}
17
+
18
+ {% schema %}
19
+ {
20
+ "name": "Blog Tags",
21
+ "settings": [
22
+ {
23
+ "type": "checkbox",
24
+ "id": "show_blog_tags",
25
+ "label": "Show Blog Categories",
26
+ "default": true
27
+ }
28
+ ]
29
+ }
30
+ {% endschema %}