portfoligor/layouts/partials/header.html

21 lines
641 B
HTML

<header class="main-header">
<section class="container">
<header>
<a href="{{ .Site.BaseURL }}" class="title">
<img class="avatar" src="{{ .Site.BaseURL }}images/avatar.png">
<h1>{{ .Site.Title }}</h1></a>
</header>
<nav>
<a href="{{ .Site.BaseURL }}blog">Blog</a> /
<a href="{{ .Site.BaseURL }}categories">Catégories</a>
{{ if .IsNode }}
/ <a href="{{ .Permalink }}index.xml"><span class="smallcaps">rss</a>
{{ end }}
{{ if .IsPage }}
/ <a href="{{ .Site.BaseURL }}index.xml"><span class="smallcaps">rss</a>
{{ end }}
</nav>
</section>
</header>