feat: Use fonts provided by system, new navbar (again)
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<h1>{{ section.title }}</h1>
|
||||
|
||||
<p>{{ section.description | markdown | safe }}</p>
|
||||
<p>{{ section.description }}</p>
|
||||
|
||||
<small>
|
||||
<a class="link-page" href="{{ get_url(path='tags') }}">Filter by tag</a>
|
||||
|
@ -24,9 +24,8 @@
|
||||
</p>
|
||||
<p>
|
||||
<small>
|
||||
Since Fediverse is decentralized, you can use your existing account hosted by a Mastodon or a compatible server if
|
||||
you
|
||||
don't have an account on this one. Known non-private replies are displayed below.
|
||||
Since Fediverse is decentralized, you can use your existing Mastodon or a compatible account if you don't have an
|
||||
account on this one. Known non-private replies are displayed below.
|
||||
</small>
|
||||
</p>
|
||||
|
||||
|
@ -1,40 +1,19 @@
|
||||
<header id="site-nav">
|
||||
<nav>
|
||||
<a id="home" href="{{ get_url(path='') }}">
|
||||
{% if config.extra.nav.icons %}
|
||||
<i class="bi bi-house"></i>
|
||||
<span>{{ config.title }}</span>
|
||||
{% else %}
|
||||
{{ config.title }}
|
||||
{% endif %}
|
||||
</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a id="home" href="{{ get_url(path='') }}">{{ config.title }}</a>
|
||||
</li>
|
||||
{% for link in config.extra.nav.links %}
|
||||
<li>
|
||||
<a href="{{ link.url | safe | replace(from='$BASE_URL', to=get_url(path='')) | safe }}">
|
||||
{% if config.extra.nav.icons %}
|
||||
{% if link.icon %}
|
||||
<i class="bi bi-{{ link.icon }}"></i>
|
||||
<span>{{ link.name }}</span>
|
||||
{% else %}
|
||||
{{ link.name }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ link.name }}
|
||||
{% endif %}
|
||||
</a>
|
||||
<a href="{{ link.url | safe | replace(from='$BASE_URL', to=get_url(path='')) | safe }}">{{ link.name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% if config.extra.nav.show_feed %}
|
||||
<a id="feed" href="{{ get_url(path='') }}/{{ config.feed_filename }}">
|
||||
{% if config.extra.nav.icons %}
|
||||
<i class="bi bi-rss"></i>
|
||||
<span class="link-name">Feed</span>
|
||||
{% else %}
|
||||
Feed
|
||||
{% if config.extra.nav.show_feed %}
|
||||
<li>
|
||||
<a id="feed" href="{{ get_url(path='') }}/{{ config.feed_filename }}"><svg width="1rem" height="1rem"><path fill="currentColor" d="M1.988 1.988V3c.008.547.453.984 1 .988.004-.004.008-.004.012-.004v.028A8.977 8.977 0 0 1 11.988 13a.991.991 0 0 0 1 .984h1V13h-.004c0-.004 0-.004.004-.008C13.984 7.02 9.184 2.148 3.242 2.02A1.004 1.004 0 0 0 3 1.988v-.004zm0 4V7c.008.547.453.984 1 .988.004-.004.008-.004.012-.004V8a4.985 4.985 0 0 1 4.996 4.844 1.002 1.002 0 0 0 .988 1.145c.008-.005.012-.005.016-.005v.004h.984V13H10c0-3.793-3.047-6.898-6.82-6.992 0-.004-.004-.004-.004-.004A.892.892 0 0 0 3 5.988v-.004zm2 4a1.999 1.999 0 1 0-.002 3.998 1.999 1.999 0 0 0 .002-3.998m0 0"/></svg></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user