@gem-sdk/components 2.1.13 → 2.1.14
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.
|
@@ -56,8 +56,12 @@ const ArticleList = ({ setting, styles, className, children, advanced, builderPr
|
|
|
56
56
|
assign all_articles = all_articles | concat: articleByHandle
|
|
57
57
|
endfor
|
|
58
58
|
else
|
|
59
|
-
assign
|
|
60
|
-
|
|
59
|
+
assign current_blog = blogs['${blogHandle}']
|
|
60
|
+
if gp_enable_custom_dynamic_blog == true
|
|
61
|
+
assign current_blog = blog
|
|
62
|
+
endif
|
|
63
|
+
assign all_articles = current_blog.articles | limit: limit | sort: "${articleOrderBy.replace('_REVERSE', '').toLowerCase()}" ${articleOrderBy.includes('_REVERSE') ? '| reverse' : ''}
|
|
64
|
+
assign blogTitle = current_blog.title
|
|
61
65
|
endif
|
|
62
66
|
|
|
63
67
|
%}
|
|
@@ -52,8 +52,12 @@ const ArticleList = ({ setting, styles, className, children, advanced, builderPr
|
|
|
52
52
|
assign all_articles = all_articles | concat: articleByHandle
|
|
53
53
|
endfor
|
|
54
54
|
else
|
|
55
|
-
assign
|
|
56
|
-
|
|
55
|
+
assign current_blog = blogs['${blogHandle}']
|
|
56
|
+
if gp_enable_custom_dynamic_blog == true
|
|
57
|
+
assign current_blog = blog
|
|
58
|
+
endif
|
|
59
|
+
assign all_articles = current_blog.articles | limit: limit | sort: "${articleOrderBy.replace('_REVERSE', '').toLowerCase()}" ${articleOrderBy.includes('_REVERSE') ? '| reverse' : ''}
|
|
60
|
+
assign blogTitle = current_blog.title
|
|
57
61
|
endif
|
|
58
62
|
|
|
59
63
|
%}
|