diff options
Diffstat (limited to 'layouts/partials/bookMenu.html')
-rw-r--r-- | layouts/partials/bookMenu.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/bookMenu.html b/layouts/partials/bookMenu.html new file mode 100644 index 0000000..7833e3b --- /dev/null +++ b/layouts/partials/bookMenu.html @@ -0,0 +1,14 @@ +<div class="menuItems d-none">
+ <ul class="list-unstyled">
+ {{ range .Site.Sections }}
+ <li>
+ <a href="{{ .URL | absURL}}">
+ <h2 class="mb-0 mt-3">
+ {{ .Title |markdownify }}
+ </h2>
+ </a>
+ <p>by {{ .Params.author }}</p>
+ </li>
+ {{ end }}
+ </ul>
+</div>
|