Add Hugo templates

Former-commit-id: 6acb3b55f2aa94614468538718110c9a8e193a94 [formerly dc95babc2c5b2489276749d3a1871d553a177c29] [formerly 0cc5c356ea6f087f072a453b49d574fd88575034 [formerly afc7db0773]]
Former-commit-id: d4c951d15debbe41055fd7c0ac388266173e6499 [formerly dfdf04f7542a209f8de7e1961fe7ab7b9ba05229]
Former-commit-id: 93647cf110c3bee54b7623e847cefeddc4ec1af7
This commit is contained in:
Henrique Dias 2017-06-26 21:17:52 +01:00
parent 08df67a48e
commit e59605700d
2 changed files with 15 additions and 1 deletions

View File

@ -126,4 +126,4 @@
<footer>Served with <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">File Manager</a>.</footer>
</body>
</html>
</html>

View File

@ -0,0 +1,14 @@
{{ define "sidebar-addon" }}
<a class="action" href="{{ .BaseURL }}/content/">
<i class="material-icons">subject</i>
<span>Posts and Pages</span>
</a>
<a class="action" href="{{ .BaseURL }}/themes/">
<i class="material-icons">format_paint</i>
<span>Themes</span>
</a>
<a class="action" href="{{ .BaseURL }}/settings/">
<i class="material-icons">settings</i>
<span>Settings</span>
</a>
{{ end }}