1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-06-27 15:47:30 -05:00

Add caching to some partials that don't change much

This commit is contained in:
2021-10-11 09:52:24 -05:00
parent 9ff5314bc0
commit 03834fb1ba
7 changed files with 26 additions and 25 deletions

10
layouts/partials/top.html Normal file

@ -0,0 +1,10 @@
<h2 class="header">
<a href="{{ "/" | relURL }}">{{ .Site.Title | markdownify }}</a>
</h2>
<nav id="navbar">
<a class="navbar-item" href="{{ "/" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a class="navbar-item" href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
</nav>