mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-22 23:51:02 +00:00
Add Hugo templates
This commit is contained in:
parent
4a7a7e6cf4
commit
afc7db0773
2 changed files with 15 additions and 1 deletions
|
|
@ -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>
|
||||
14
_assets/templates/hugo.tmpl
Normal file
14
_assets/templates/hugo.tmpl
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue