Browse Source

modified navigation

tags/v1.0.0
somrat 4 years ago
parent
commit
54bf8cdf9d
2 changed files with 12 additions and 1 deletions
  1. 5
    1
      exampleSite/config.toml
  2. 7
    0
      layouts/partials/navigation.html

+ 5
- 1
exampleSite/config.toml View File

URL = "contact" URL = "contact"
weight = 7 weight = 7



#### external / static link ####
[[menu.static]]
name = "Themefisher"
URL = "https://themefisher.com/"
weight = 7


############################# Default Parameters ########################## ############################# Default Parameters ##########################
[params] [params]

+ 7
- 0
layouts/partials/navigation.html View File

</li> </li>
{{ end }} {{ end }}
{{ end }} {{ end }}

{{ range .Site.Menus.static }}
<li class="nav-item"><a class="nav-link" target="_blank" href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul> </ul>
<!-- Language List --> <!-- Language List -->
{{- if .Site.IsMultiLingual }} {{- if .Site.IsMultiLingual }}

Loading…
Cancel
Save