mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 20:23:18 -06:00
15 lines
440 B
HTML
15 lines
440 B
HTML
<h2 class="header">
|
|
<a href="{{ "/" | relURL }}">{{ .Site.Title | markdownify }}</a>
|
|
</h2>
|
|
|
|
<nav id="navbar">
|
|
{{ with .Site.GetPage "/" }}
|
|
{{/* if I use relLangURL, then it does /es/es/ instead of /es/ (for example) */}}
|
|
<a class="navbar-item" href="{{ .Permalink | relURL }}">{{ .Title }}</a>
|
|
{{ end }}
|
|
|
|
{{ range .Site.Menus.main }}
|
|
<a class="navbar-item" href="{{ .URL }}">{{ .Name }}</a>
|
|
{{ end }}
|
|
</nav>
|