Custom Ghost theme for my blog, based on Casper https://www.geber.ga
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

site-nav.hbs 1.6KB

12345678910111213141516171819202122232425262728293031
  1. <nav class="site-nav">
  2. <div class="site-nav-left">
  3. {{^is "home"}}
  4. {{#if @site.logo}}
  5. <a class="site-nav-logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
  6. {{else}}
  7. <a class="site-nav-logo" href="{{@site.url}}">{{@site.title}}</a>
  8. {{/if}}
  9. {{/is}}
  10. {{#if @site.navigation}}
  11. {{navigation}}
  12. {{/if}}
  13. </div>
  14. <div class="site-nav-right">
  15. <div class="social-links">
  16. {{#if @site.twitter}}
  17. <a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
  18. {{/if}}
  19. <a rel="me" class="social-link social-link-ms" href="https://miaou.drycat.fr/@albakham" target="_blank" rel="noopener">{{> "icons/mastodon"}}</a>
  20. <a class="social-link social-link-sh" href="https://framagit.org/albakham" target="_blank" rel="noopener">{{> "icons/git"}}</a>
  21. <a class="social-link social-link-sh" href="https://link.geber.ga" target="_blank" rel="noopener">{{> "icons/shaarli"}}</a>
  22. {{#if @site.facebook}}
  23. <a class="social-link social-link-fb" href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
  24. {{/if}}
  25. <a class="rss-button" href="{{@site.url}}/rss/" title="RSS" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
  26. </div>
  27. {{#if @labs.subscribers}}
  28. <a class="subscribe-button" href="#subscribe">S'abonner</a>
  29. {{/if}}
  30. </div>
  31. </nav>