mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Replace another 2 .URL occurrences with .Permalink
This is basically a completion of #216
This commit is contained in:
parent
6500b99ba6
commit
e727b32483
@ -9,7 +9,7 @@
|
|||||||
<ul class="pl0 mr3">
|
<ul class="pl0 mr3">
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
<li class="list f5 f4-ns fw4 dib pr3">
|
<li class="list f5 f4-ns fw4 dib pr3">
|
||||||
<a class="hover-white no-underline white-90" href="{{ .URL }}" title="{{ .Name }} page">
|
<a class="hover-white no-underline white-90" href="{{ .Permalink }}" title="{{ .Name }} page">
|
||||||
{{ .Name }}
|
{{ .Name }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{{ $title := .Title }}
|
{{ $title := .Title }}
|
||||||
{{ $url := printf "%s" .URL | absLangURL }}
|
{{ $url := printf "%s" .Permalink | absLangURL }}
|
||||||
{{ $icon_size := "32px" }}
|
{{ $icon_size := "32px" }}
|
||||||
|
|
||||||
{{ if not .Params.disable_share }}
|
{{ if not .Params.disable_share }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user