update relURL to absURL
This commit is contained in:
parent
20fc8d4245
commit
47453ee205
@ -5,7 +5,7 @@
|
|||||||
<ul class="terms">
|
<ul class="terms">
|
||||||
{{ range $key, $value := .Data.Terms }}
|
{{ range $key, $value := .Data.Terms }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | relURL }}">
|
<a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | absURL }}">
|
||||||
{{ $key }}
|
{{ $key }}
|
||||||
</a>
|
</a>
|
||||||
({{ len $value }})
|
({{ len $value }})
|
||||||
|
@ -7,12 +7,12 @@
|
|||||||
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||||
<meta name="description" content="{{ .Site.Params.Description }}">
|
<meta name="description" content="{{ .Site.Params.Description }}">
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "/rss/" }}">
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "/rss/" | absURL }}">
|
||||||
|
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="{{ "/favicon.ico" | absURL }}">
|
||||||
<link rel="apple-touch-icon-precomposed" href="/favicon.png">
|
<link rel="apple-touch-icon-precomposed" href="{{ "/favicon.png" | absURL }}">
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}?rnd={{ now.Unix }}" />
|
<link rel="stylesheet" href="{{ "/css/style.css" | absURL }}?rnd={{ now.Unix }}" />
|
||||||
|
|
||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user