use / as base url for links in rss to avoid spamming webmentions
This commit is contained in:
parent
335a066ae5
commit
d64884d575
|
@ -80,18 +80,18 @@
|
|||
{{ end }}
|
||||
|
||||
<p>
|
||||
By <a href="{{ $baseurl }}about">{{ .Site.Author.name }}</a> on <time datetime="{{ .Lastmod.Format "2006-01-02" }}">{{ .Lastmod.Format (.Site.Params.dateFormat | default "2 January 2006") }}</time>.
|
||||
By <a href="/about">{{ .Site.Author.name }}</a> on <time datetime="{{ .Lastmod.Format "2006-01-02" }}">{{ .Lastmod.Format (.Site.Params.dateFormat | default "2 January 2006") }}</time>.
|
||||
</p>
|
||||
{{ if .Params.game_name }}
|
||||
<hr/>
|
||||
<p>
|
||||
{{ $platform := .CurrentSection.Title }}
|
||||
{{ with .CurrentSection.Params.platform }}
|
||||
Played on: <a href="{{ $baseurl }}games/{{ lower . }}">{{ $platform }}</a><br/>
|
||||
Played on: <a href="/games/{{ lower . }}">{{ $platform }}</a><br/>
|
||||
{{ end }}
|
||||
{{ with .Params.game_genre }}
|
||||
{{ $tag := replaceRE `\s` "-" . }}
|
||||
Genre: <a href="{{ $baseurl }}tags/{{ $tag | lower }}">{{ . }}</a><br/>
|
||||
Genre: <a href="/tags/{{ $tag | lower }}">{{ . }}</a><br/>
|
||||
{{ end }}
|
||||
{{ with .Params.game_release_year }}
|
||||
Release year: {{ . }}<br/>
|
||||
|
|
Loading…
Reference in New Issue