update relURL to absURL
This commit is contained in:
parent
20fc8d4245
commit
47453ee205
@ -5,7 +5,7 @@
|
||||
<ul class="terms">
|
||||
{{ range $key, $value := .Data.Terms }}
|
||||
<li>
|
||||
<a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | relURL }}">
|
||||
<a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | absURL }}">
|
||||
{{ $key }}
|
||||
</a>
|
||||
({{ len $value }})
|
||||
|
@ -7,12 +7,12 @@
|
||||
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||
<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="apple-touch-icon-precomposed" href="/favicon.png">
|
||||
<link rel="icon" type="image/x-icon" href="{{ "/favicon.ico" | absURL }}">
|
||||
<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/twitter_cards.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user