diff options
Diffstat (limited to '_includes/footer.html')
-rw-r--r-- | _includes/footer.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..0a4eb29 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,37 @@ + +<footer class="footer py-4 js-page-footer"> + <div class="main"> + + {%- assign _site_author = site.author -%} + {%- if _site_author.type == 'organization' -%} + {%- assign _site_author_itemtype = 'http://schema.org/Organization' -%} + {%- else -%} + {%- assign _site_author_itemtype = 'http://schema.org/Person' -%} + {%- endif -%} + + <div itemscope itemtype="{{ _site_author_itemtype }}"> + <meta itemprop="name" content="{{ _site_author.name }}"> + {%- assign _site_author_url = _site_author.url | default: '/'-%} + {%- include snippets/get-nav-url.html path=_site_author_url -%} + {%- assign _site_author_url = __return -%} + <meta itemprop="url" content="{{ _site_author_url }}"> + {%- if _site_author.bio -%} + <meta itemprop="description" content="{{ _site_author.bio }}"> + {%- endif -%} + <div class="footer__author-links"> + {%- include author-links.html author=_site_author -%} + </div> + </div> + {%- include snippets/get-locale-string.html key='COPYRIGHT_DATES' -%} + {%- assign _locale_copyright_dates = __return -%} + <div class="site-info mt-2"> + <div> + {%- include snippets/get-locale-string.html key='COPYRIGHT_DATES' -%} + {%- assign _locale_copyright_dates = __return -%} + © {{ site.title }} {{ _locale_copyright_dates }}, + Powered by <a title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a + title="TeXt is a super customizable Jekyll theme." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>. + </div> + </div> + </div> +</footer> |