fix: use current domain (.RelPermalink) instead of hardcoded baseURL (.Permalink)
This commit is contained in:
parent
98dbd4d419
commit
e0cf3a3e60
@ -3,9 +3,9 @@
|
|||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<article>
|
<article>
|
||||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||||
<p class="date">{{ .Date.Format "January 02, 2006" }}</p>
|
<p class="date">{{ .Date.Format "January 02, 2006" }}</p>
|
||||||
<p>{{ .Summary }}</p>
|
<p>{{ .Summary | truncate 200 }}</p>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<!-- Metadata -->
|
<!-- Metadata -->
|
||||||
<meta name="description" content="{{ site.Params.description }}" />
|
<meta name="description" content="{{ site.Params.description }}" />
|
||||||
<meta name="robots" content="index, follow" />
|
<meta name="robots" content="index, follow" />
|
||||||
<meta name="canonical" href="{{ .Permalink }}" />
|
<meta name="canonical" href="{{ .RelPermalink }}" />
|
||||||
|
|
||||||
<!-- Icons -->
|
<!-- Icons -->
|
||||||
<link
|
<link
|
||||||
|
Loading…
x
Reference in New Issue
Block a user