Skip to content

Commit

Permalink
Create footer.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Zheng-Bote authored Oct 4, 2024
1 parent 4a5c11a commit d9ec634
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<footer class="site-footer h-card"></footer>
<data class="u-url" href="{{ "/" | relative_url }}"></data>

<div class="wrapper">

<div class="footer-col-wrapper">
<div class="footer-col">
{%- if site.author %}
<ul class="contact-list">
{% if site.author.name -%}
<li class="p-name">Author: {{ site.author.name | escape }}</li>
{% endif -%}
{% if site.author.email -%}
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
{%- endif %}
</ul>
{%- endif %}
<div class="social-links">
{%- include social.html -%}
</div>

</div>
<div class="footer-col">
{% if site.page_created -%}
<ul class="contact-list">
<li class="p-name">created on {{ site.page_created }}</li>
<li class="p-name">last auto-update {{ site.time | date: '%Y-%m-%d %H:%M' }}</li>
</ul>
{%- endif %}
</div>
<div class="footer-col">
<p>{{ site.page_desc | escape }}</p>
</div>

</div>
</div>

</footer>

0 comments on commit d9ec634

Please sign in to comment.