casper-modified-ghost-theme/partials/site-nav.hbs
Arkadiusz Wieczorek d2e709891e Update navbar
2023-02-01 10:45:20 +01:00

120 lines
4.7 KiB
Handlebars

<nav class="site-nav">
<div class="site-nav-left-wrapper">
<div class="site-nav-left">
{{#if @site.logo}}
<a
class="site-nav-logo"
href="{{@site.url}}"
><img
src="{{@site.logo}}"
alt="{{@site.title}}"
/></a>
{{else}}
<a
class="site-nav-logo"
href="{{@site.url}}"
>{{@site.title}}</a>
{{/if}}
<div class="site-nav-content">
{{#if @site.navigation}}
{{navigation}}
{{/if}}
{{#is "post"}}
<span class="nav-post-title {{#unless @site.logo}}dash{{/unless}}">{{post.title}}</span>
{{/is}}
</div>
</div>
</div>
<div class="site-nav-right">
{{#if @site.secondary_navigation}}
{{navigation type="secondary"}}
{{else}}
<div class="social-links">
<a
class="social-link social-link-mastodon"
href="https://mastodon.internet-czas-dzialac.pl/@icd"
title="Profil „Internet. Czas działać!” na Mastodonie"
rel="me"
>{{> "icons/mastodon"}}</a>
<!-- {{#if @site.twitter}}
<a
class="social-link social-link-tw"
href="{{twitter_url @site.twitter}}"
title="Profil „Internet. Czas działać!” na Twitterze"
rel="noopener"
>{{> "icons/twitter"}}</a>
{{/if}}
{{#if @site.facebook}}
<a
class="social-link social-link-fb"
href="{{facebook_url @site.facebook}}"
title="Profil „Internet. Czas działać!” na Facebooku"
rel="noopener"
>{{> "icons/facebook"}}</a>
{{/if}}
<a
class="social-link social-link-telegram"
href="https://t.me/internet_czas_dzialac"
title="Kanał „Internet. Czas działać!” na Telegramie"
rel="me"
>{{> "icons/telegram"}}</a>
<a
class="social-link social-link-funkwhale"
href="https://podcast.midline.pl/channels/Midline/"
title="„Internet. Czas działać!” - podcast na naszej instancji Funkwhale'a"
rel="me"
>{{> "icons/funkwhale"}}</a> -->
<!-- <a
class="social-link social-link-spotify"
href="https://open.spotify.com/show/2BSREI0uQcADS8W0RHrkxB"
title="„Internet. Czas działać!” - podcast na Spotify"
rel="me"
>{{> "icons/spotify"}}</a> -->
<a
class="social-link social-link-peertube"
href="https://video.internet-czas-dzialac.pl/video-channels/internet_czas_dzialac/videos"
title="„Internet. Czas działać!” - kanał na Peertube"
rel="me"
>{{> "icons/peertube"}}</a>
<!-- <a
class="social-link social-link-youtube"
href="https://www.youtube.com/c/internetczasdzialac"
title="„Internet. Czas działać!” - kanał na YouTube"
rel="me"
>{{> "icons/youtube"}}</a> -->
<a
class="social-link social-link-liberapay"
href="https://liberapay.com/internet-czas-dzialac"
title="Wesprzyj nas na Liberapay"
rel="me"
>{{> "icons/liberapay"}}</a>
<a
class="social-link social-link-patronite"
href="https://patronite.pl/internet-czas-dzialac"
title="Wesprzyj nas na Patronite"
rel="me"
>{{> "icons/patronite"}}</a>
<!-- <a
class="social-link social-link-feedly"
href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/"
title="Subskrybuj nas na Feedly"
rel="noopener"
>{{> "icons/feedly"}}</a> -->
<a
class="social-link social-link-rss"
href="{{@site.url}}/rss/"
title="RSS „Internet. Czas działać!”"
rel="noopener"
>{{> "icons/rss"}}</a>
<a
class="social-link social-link-rentgen social-link__large"
href="https://addons.mozilla.org/pl/firefox/addon/rentgen/"
title="Pobierz naszą wtyczkę Rentgen"
rel="noopener"
><span>Rentgen</span> {{> "icons/rentgen"}}</a>
</div>
{{/if}}
</div>
</nav>