diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-10-03 00:10:58 -0500 |
---|---|---|
committer | Karl Hallsby <karl@hallsby.com> | 2021-10-03 02:16:53 -0500 |
commit | a10ad0a99ba6e44a35253c3bcaff80c90e99348e (patch) | |
tree | 005e05a70fb1fe24a5a7c44dc1d2d14c9e1d88ed /_layouts/articles.html | |
parent | b9b34a65fbe55ce78d353ce2b7eb51f6884bd272 (diff) |
Revert ALL jekyll-text-theme configuration files
I am changing the theme of the site, and need to revert these changes
to make everything work.
Revert "Add jekyll-text-theme YAML files"
This reverts commit 61b34a5f260db45575d448d766ea29c0fb273ed3.
Revert "Bring all of jekyll-text-theme _includes into site"
This reverts commit c6bf5f7c895287d2028f6024265913b59784a154.
Revert "Bring all of jekyll-text-theme assets to site"
This reverts commit 7b69c2e5975f98da09d932ba6c70bdd71b1601a7.
Remove jekyll text theme from Gemfile
Diffstat (limited to '_layouts/articles.html')
-rw-r--r-- | _layouts/articles.html | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/_layouts/articles.html b/_layouts/articles.html deleted file mode 100644 index 00738a1..0000000 --- a/_layouts/articles.html +++ /dev/null @@ -1,89 +0,0 @@ ---- -layout: page ---- - -{%- assign _page_articles_data_source = page.articles.data_source | default: layout.articles.data_source -%} - -{%- if _page_articles_data_source -%} -{%- assign _keys = _page_articles_data_source | split: '.' -%} -{%- endif -%} - -{%- assign _articles = nil -%} -{%- for _key in _keys -%} - {%- if forloop.first -%} - {%- case _key -%} - {%- when 'site' -%} - {%- assign _articles = site -%} - {%- when 'page' -%} - {%- assign _articles = page -%} - {%- when 'layout' -%} - {%- assign _articles = layout -%} - {%- when 'paginator' -%} - {%- assign _articles = paginator -%} - {%- else -%} - {%- assign _articles = site[_key] -%} - {%- else -%} - {%- endcase -%} - {%- else -%} - {%- assign _articles = _articles[_key] -%} - {%- endif -%} -{%- endfor -%} - -{%- assign _type = page.articles.type | default: layout.articles.type -%} - -{%- if _articles -%} - - <div class="layout--articles"> - - {%- if _type == 'grid' -%} - {%- if page.articles.size == 'sm' -%} - {%- include article-list.html articles=_articles type='grid' size='sm' -%} - {%- else -%} - {%- include article-list.html articles=_articles type='grid' -%} - {%- endif -%} - - {%- elsif _type == 'brief' -%} - {%- include snippets/assign.html - target=site.data.variables.default.page.articles.show_info - source0=layout.articles.show_info source1=page.articles.show_info -%} - {%- assign _show_info = __return -%} - - {%- include article-list.html articles=_articles type='brief' show_info=_show_info -%} - - {%- else -%} - {%- include snippets/assign.html - target=site.data.variables.default.page.articles.show_cover - source0=layout.articles.show_cover source1=page.articles.show_cover -%} - {%- assign _show_cover = __return -%} - - {%- include snippets/assign.html - target=site.data.variables.default.page.articles.show_excerpt - source0=layout.articles.show_excerpt source1=page.articles.show_excerpt -%} - {%- assign _show_excerpt = __return -%} - - {%- include snippets/assign.html - target=site.data.variables.default.page.articles.show_readmore - source0=layout.articles.show_readmore source1=page.articles.show_readmore -%} - {%- assign _show_readmore = __return -%} - - {%- include snippets/assign.html - target=site.data.variables.default.page.articles.show_info - source0=layout.articles.show_info source1=page.articles.show_info -%} - {%- assign _show_info = __return -%} - - {%- assign _article_type = page.articles.article_type | default: layout.articles.article_type -%} - {%- assign _cover_size = page.articles.cover_size | default: layout.articles.cover_size -%} - {%- assign _excerpt_type = page.articles.excerpt_type | default: layout.articles.excerpt_type -%} - - {%- include article-list.html articles=_articles type='item' - article_type=_article_type - show_cover=_show_cover cover_size=_cover_size - show_excerpt=_show_excerpt excerpt_type=_excerpt_type - show_readmore=_show_readmore show_info=_show_info -%} - - {%- endif -%} - - </div> -{%- endif -%} - -{{ content }} |