|
@ -18,14 +18,17 @@ |
|
|
{{ range where .Site.Pages "Type" "navLink" }} |
|
|
{{ range where .Site.Pages "Type" "navLink" }} |
|
|
<li class="pure-menu-list"><a href="{{ .URL }}" class="pure-menu-link" title="{{ .Title }}">{{ .Title }}</a></li> |
|
|
<li class="pure-menu-list"><a href="{{ .URL }}" class="pure-menu-link" title="{{ .Title }}">{{ .Title }}</a></li> |
|
|
{{ end }} |
|
|
{{ end }} |
|
|
{{ range .Site.Params.links }} |
|
|
|
|
|
|
|
|
{{ range sort .Site.Params.links "priority" "desc" }} |
|
|
<li class="pure-menu-list"> |
|
|
<li class="pure-menu-list"> |
|
|
|
|
|
{{ if .image }} |
|
|
<a href="{{ .url }}" target="_blank" title="{{ .title }}"> |
|
|
<a href="{{ .url }}" target="_blank" title="{{ .title }}"> |
|
|
{{ if .image }} |
|
|
|
|
|
<img src="{{ .image | absURL }}" /> |
|
|
<img src="{{ .image | absURL }}" /> |
|
|
{{ else }} |
|
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
{{ else }} |
|
|
|
|
|
<a href="{{ .url }}" target="_blank" class="pure-menu-link" title="{{ .title }}"> |
|
|
{{ .title }} |
|
|
{{ .title }} |
|
|
{{ end }} |
|
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
{{ end }} |
|
|
</a> |
|
|
</a> |
|
|
</li> |
|
|
</li> |
|
|
{{ end }} |
|
|
{{ end }} |
|
|