Move theme from subrepo into the main repo
the theme is customized for this site so having it as a sub repo dosent make sense
This commit is contained in:
16
themes/hugo-theme-minos/layouts/partials/nav.html
Normal file
16
themes/hugo-theme-minos/layouts/partials/nav.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ if not .Site.Params.NoPostNavigation }}
|
||||
<nav id="article-nav">
|
||||
{{ if .NextPage }}
|
||||
<a href="{{ .NextPage.RelPermalink }}" id="article-nav-newer" class="article-nav-link-wrap">
|
||||
<div class="article-nav-title"><span><</span>
|
||||
{{ .NextPage.Title }}
|
||||
</div>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if .PrevPage }}
|
||||
<a href="{{ .PrevPage.RelPermalink }}" id="article-nav-older" class="article-nav-link-wrap">
|
||||
<div class="article-nav-title">{{ .PrevPage.Title }} <span>></span></div>
|
||||
</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user