Compat with latest hugo releases
This commit is contained in:
parent
7ced5779a0
commit
d3f5ed2d43
2 changed files with 3 additions and 3 deletions
|
|
@ -68,12 +68,12 @@
|
|||
<hr>
|
||||
<div>
|
||||
{{ if .PrevInSection }}
|
||||
<a class="mb-2 btn btn-outline-primary float-left" href="{{ .PrevInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">←
|
||||
<a class="mb-2 btn btn-outline-primary float-left" href="{{ .PrevInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">←
|
||||
Article précédent
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ if .NextInSection }}
|
||||
<a class="mb-2 btn btn-outline-primary float-right" href="{{ .NextInSection.URL }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title}}">
|
||||
<a class="mb-2 btn btn-outline-primary float-right" href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title}}">
|
||||
Article suivant →
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
<title>{{ if .Title }}{{ .Title }} - {{ .Site.Params.SEOTitle }}{{ else }}{{ .Site.Params.SEOTitle }}{{ end }}</title>
|
||||
|
||||
<link rel="canonical" href="{{ .URL | relURL }}">
|
||||
<link rel="canonical" href="{{ .RelPermalink }}">
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue