first commit
This commit is contained in:
commit
7fa1a1444a
52 changed files with 1519 additions and 0 deletions
32
layouts/partials/menu.html
Normal file
32
layouts/partials/menu.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<section id="menu-pane" class="menu text-center">
|
||||
{{ if not .IsNode }}
|
||||
<nav aria-label="Page navigation">
|
||||
<ul class="pagination justify-content-center">
|
||||
{{ if .Section }}
|
||||
{{ with .PrevInSection }}
|
||||
<li class="menu-item">
|
||||
<a class="menu-item" href="{{ .Permalink }}">< prev</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
<li class="menu-item">
|
||||
{{ if .PrevInSection}}
|
||||
<span class="menu-item"> | </span>
|
||||
{{ end}}
|
||||
<a class="menu-item" href="{{ .Section | relURL }}">{{ .Section | lower }}</a>
|
||||
{{ if .NextInSection}}
|
||||
<span class="menu-item"> | </span>
|
||||
{{ end}}
|
||||
</li>
|
||||
|
||||
{{ with .NextInSection }}
|
||||
<li class="menu-item">
|
||||
<a class="menu-item" href="{{ .Permalink }}">next ></a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
{{ end }}
|
||||
<h4 class="text-center mt-3"><a class="menu-item" href="{{ .Site.BaseURL }}">home</a></h4>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue