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>
|
||||
{{ range .Pages }}
|
||||
<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>{{ .Summary }}</p>
|
||||
<p>{{ .Summary | truncate 200 }}</p>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<!-- Metadata -->
|
||||
<meta name="description" content="{{ site.Params.description }}" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="canonical" href="{{ .Permalink }}" />
|
||||
<meta name="canonical" href="{{ .RelPermalink }}" />
|
||||
|
||||
<!-- Icons -->
|
||||
<link
|
||||
|
Loading…
x
Reference in New Issue
Block a user