File tree 3 files changed +5
-5
lines changed
themes/hugo-lithium/layouts/partials 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 14
14
< meta name ="twitter:site " content ="@rhub_ ">
15
15
16
16
< meta name ="twitter:image " content ="{{.Site.BaseURL}}rhub-square-white.png " >
17
- {{ if eq .URL "/" }}
17
+ {{ if eq .RelPermalink "/" }}
18
18
< title > {{ .Site.Title }}</ title >
19
19
< meta property ="og:title " content ="{{ .Site.Title }} ">
20
20
< meta property ="og:type " content ="website ">
23
23
< meta property ="og:title " content ="{{ .Title }} - {{ .Site.Title }} ">
24
24
{{ end }}
25
25
26
- {{ if eq .URL "/" }}
26
+ {{ if eq .RelPermalink "/" }}
27
27
< meta property ="description " content ="{{ .Site.Params.description }} ">
28
28
< meta property ="og:description " content ="{{ .Site.Params.description }} ">
29
29
{{ else }}
Original file line number Diff line number Diff line change 10
10
{{ range .Site.Menus.main }}
11
11
< li >
12
12
{{ if .Pre }}
13
- < a href ="{{ .URL }} " target ="_blank " aria-label ="{{ .Name }} " title ="{{ .Name }} "> {{ .Pre }}</ a >
13
+ < a href ="{{ .URL }} " target ="_blank " aria-label ="{{ .Name }} " title ="{{ .Name }} "> {{ .Pre }}</ a >
14
14
{{ else }}
15
- < a href ="{{ .URL }} "> {{ .Name }}</ a >
15
+ < a href ="{{ .URL }} "> {{ .Name }}</ a >
16
16
{{ end }}
17
17
</ li >
18
18
{{ end }}
Original file line number Diff line number Diff line change 8
8
9
9
< ul class ="nav-links ">
10
10
{{ range .Site.Menus.main }}
11
- < li > < a href ="{{ .URL }} "> {{ .Name }}</ a > </ li >
11
+ < li > < a href ="{{ .RelPermalink }} "> {{ .Name }}</ a > </ li >
12
12
{{ end }}
13
13
</ ul >
14
14
</ nav >
You can’t perform that action at this time.
0 commit comments