mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-14 00:59:43 +00:00
39 lines
No EOL
1 KiB
HTML
39 lines
No EOL
1 KiB
HTML
<hr>
|
|
<nav class="nav nav-center">
|
|
<span id="nav-toggle" class="nav-toggle" onclick="document.getElementById('nav-menu').classList.toggle('is-active');">
|
|
<span></span>
|
|
<span></span>
|
|
<span></span>
|
|
</span>
|
|
<div id="nav-menu" class="nav-left nav-menu">
|
|
<span class="nav-item">
|
|
<a href="/">Main</a>
|
|
</span>
|
|
<span class="nav-item">
|
|
<a href="/#about">About</a>
|
|
</span>
|
|
{{ if .Site.Params.showprojects }}
|
|
<span class="nav-item">
|
|
<a href="/#projects">Projects</a>
|
|
</span>
|
|
{{ end }}
|
|
{{ if .Site.Params.showallposts }}
|
|
<span class="nav-item">
|
|
<a href="/#blog">Back to blog</a>
|
|
</span>
|
|
{{ else }}
|
|
<span class="nav-item">
|
|
<a href="/blog">Back to blog</a>
|
|
</span>
|
|
{{ end }}
|
|
<span class="nav-item">
|
|
<a href="/#contact">Contact</a>
|
|
</span>
|
|
{{ if .Site.RSSLink }}
|
|
<span class="nav-item">
|
|
<a href="{{ .Site.RSSLink }}"><i class="fa fa-rss"></i></a>
|
|
</span>
|
|
{{ end }}
|
|
</div>
|
|
</nav>
|
|
<hr> |