diff options
Diffstat (limited to '_includes/article-footer.html')
-rw-r--r-- | _includes/article-footer.html | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/_includes/article-footer.html b/_includes/article-footer.html deleted file mode 100644 index 33c3742..0000000 --- a/_includes/article-footer.html +++ /dev/null @@ -1,55 +0,0 @@ -{%- include snippets/assign.html - target=site.data.variables.default.page.show_author_profile - source0=layout.show_author_profile source1=page.show_author_profile -%} -{%- assign _show_author_profile = __return -%} - -{%- include snippets/assign.html - target=site.data.variables.default.page.show_subscribe - source0=layout.show_subscribe source1=page.show_subscribe -%} -{%- assign _show_subscribe = __return -%} - -{%- include snippets/assign.html - target=site.data.variables.default.page.license - source0=layout.license source1=page.license -%} -{%- assign _license = __return -%} - -<footer class="article__footer"> - {%- if page.modify_date -%} - {%- include snippets/get-locale-string.html key='ARTICLE_DATE_FORMAT' -%} - {%- assign _locale_date_format = __return -%} - - {%- include snippets/get-locale-string.html key='LAST_UPDATED' -%} - {%- assign _locale_last_update = __return -%} - <span>{{ _locale_last_update }} - <time itemprop="dateModified" datetime="{{ page.modify_date | date_to_xmlschema }}">{{ page.modify_date | date: _locale_date_format }}</time> - </span> - {%- elsif page.date -%} - <meta itemprop="dateModified" content="{{ page.date | date_to_xmlschema }}"> - {%- endif -%} - - {%- include article/footer/custom.html -%} - - {%- if _show_author_profile -%} - {%- if page.author -%} - {%- assign _author = site.data.authors[page.author] -%} - {%- else -%} - {%- assign _author = site.author -%} - {%- endif -%} - {%- include article/footer/author-profile.html author=_author -%} - {%- endif -%} - - {%- if _show_subscribe -%} - <div class="article__subscribe">{%- include article/footer/subscribe.html -%}</div> - {%- endif -%} - - {%- if _license != false -%} - {%- assign _data_license = site.data.licenses-%} - {%- if site.license -%} - {%- assign _license_data = _data_license[site.license] -%} - {%- endif -%} - {%- if _license != true -%} - {%- assign _license_data = _data_license[_license] -%} - {%- endif -%} - <div class="article__license">{%- include article/footer/license.html license=_license_data -%}</div> - {%- endif -%} -</footer> |