8 lines
319 B
HTML
8 lines
319 B
HTML
{{ define "main" }}
|
|
{{ .Content }}
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.social }}
|
|
<a class="{{if or ($currentPage.IsMenuCurrent "social" .) ($currentPage.HasMenuCurrent "social" .) }} active{{end}} button" rel="me" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a><br>
|
|
{{ end }}
|
|
{{ end }}
|