diff options
Diffstat (limited to '_includes/article/footer')
-rw-r--r-- | _includes/article/footer/author-profile.html | 47 | ||||
-rw-r--r-- | _includes/article/footer/custom.html | 3 | ||||
-rw-r--r-- | _includes/article/footer/license.html | 14 | ||||
-rw-r--r-- | _includes/article/footer/subscribe.html | 6 |
4 files changed, 0 insertions, 70 deletions
diff --git a/_includes/article/footer/author-profile.html b/_includes/article/footer/author-profile.html deleted file mode 100644 index 8b0d72d..0000000 --- a/_includes/article/footer/author-profile.html +++ /dev/null @@ -1,47 +0,0 @@ -{%- assign _author = include.author -%} - -{%- if _author.type == 'organization' -%} - {%- assign _author_itemtype = 'http://schema.org/Organization' -%} -{%- else -%} - {%- assign _author_itemtype = 'http://schema.org/Person' -%} -{%- endif -%} - -<div itemscope itemtype="{{ _author_itemtype }}" class="author-profile card card--flat item"> - {%- if _author.avatar -%} - {%- if _author.url -%} - <a href="{{ _author.url }}" class="item__image"> - {%- endif -%} - {%- include snippets/get-nav-url.html path=_author.avatar -%} - {%- assign _author_avatar = __return -%} - <img class="author-profile__avatar" itemprop="image" src="{{ _author_avatar }}" /> - {%- if _author.url -%} - </a> - {%- endif -%} - {%- endif -%} - - - <div class="item__content"> - - {%- if _author.name -%} - <meta itemprop="name" content="{{ _author.name }}"> - <p class="author-profile__name"> - {%- if _author.url -%} - <meta itemprop="url" content="{{ _author.url }}"> - <a href="{{ _author.url }}"> - {%- endif -%} - {{ _author.name }} - {%- if _author.url -%} - </a> - {%- endif -%} - </p> - {%- endif -%} - - {%- if _author.bio -%} - <p itemprop="description">{{ _author.bio }}</p> - {%- endif -%} - <div class="author-profile__links"> - {%- include author-links.html author=_author -%} - </div> - - </div> -</div> diff --git a/_includes/article/footer/custom.html b/_includes/article/footer/custom.html deleted file mode 100644 index edcd06d..0000000 --- a/_includes/article/footer/custom.html +++ /dev/null @@ -1,3 +0,0 @@ -<!-- start custom article footer snippet --> - -<!-- end custom article footer snippet --> diff --git a/_includes/article/footer/license.html b/_includes/article/footer/license.html deleted file mode 100644 index a2c1535..0000000 --- a/_includes/article/footer/license.html +++ /dev/null @@ -1,14 +0,0 @@ -{%- include snippets/get-locale-string.html key='LICENSE_ANNOUNCE' -%} -{%- assign _license_announce = __return -%} - -{%- if include.license -%} - - {%-assign _license_name = '<a itemprop="license" rel="license" href="[URL]">[NAME]</a>' | replace: "[URL]", include.license.url | replace: "[NAME]", include.license.name -%} - <div class="license"> - <p>{{ _license_announce | replace: "[LICENSE]", _license_name }} - <a rel="license" href="{{ include.license.url }}"> - <img alt="{{ include.license.name }}" src="{{ include.license.image }}" /> - </a> - </p> - </div> -{%- endif -%} diff --git a/_includes/article/footer/subscribe.html b/_includes/article/footer/subscribe.html deleted file mode 100644 index cb9a169..0000000 --- a/_includes/article/footer/subscribe.html +++ /dev/null @@ -1,6 +0,0 @@ -{%- assign _paths_rss = site.paths.rss | default: site.data.variables.default.paths.rss -%} -{%- include snippets/get-nav-url.html path=_paths_rss -%} -{%- assign _paths_rss = __return -%} -{%- include snippets/get-locale-string.html key='SUBSCRIBE' -%} -{%- assign _locale_nav_subscribe = __return -%} -<div class="subscribe"><i class="fas fa-rss"></i> <a type="application/rss+xml" href="{{ _paths_rss }}">{{ _locale_nav_subscribe }}</a></div> |