This repository has been archived on 2021-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
the-flux-of-thought/_includes/header.html

18 lines
593 B
HTML

<div class="top">
<ul>
<li><a href="#main">Main content</a></li>
{% if page.url != '/sitemap/' %}
<li><a href="{{ site.baseurl }}/sitemap/">Sitemap</a></li>
{% endif %}
{% if page.url == '/index.html' or page.url == '/' %}
{% assign link = '/about' %}
{% assign prompt = 'About' %}
{% else %}
{% assign link = '/' %}
{% assign prompt = 'Home' %}
{% endif %}
<li><a href="{{ link | prepend: site.baseurl }}">{{ prompt }}</a></li>
<li><a href="{{ site.baseurl }}/feed.xml">RSS</a></li>
</ul>
</div>