Make all links non-relative
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<div class="announcement-list">
|
||||
{{ $announcements := partial "get-announcement-list" . }}
|
||||
{{ range $announcements }}
|
||||
{{ $urlBlogEntry := .RelPermalink}}
|
||||
{{ $urlBlogEntry := .Permalink}}
|
||||
<div class="entry">
|
||||
<span class="time">
|
||||
{{ (time.AsTime .Params.announcement.date).Format "02.01.2006" }}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="archive-year-list">
|
||||
<div class="date">{{ .Date.Format "02.01.2006" }}</div>
|
||||
<div class="title">
|
||||
<a href="{{ .RelPermalink}}">
|
||||
<a href="{{ .Permalink}}">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
</a>
|
||||
<div class="news-blog">
|
||||
{{ range (.Paginate (first 30 ( where .Site.RegularPages "Section" "==" "news")) 10 ).Pages }}
|
||||
{{ $urlBlogEntry := .RelPermalink}}
|
||||
{{ $urlBlogEntry := .Permalink}}
|
||||
<div class="blog-entry">
|
||||
<div class="header">
|
||||
{{ .Date.Format "02.01.2006" }}
|
||||
@@ -21,7 +21,7 @@
|
||||
{{/* {{ with ($resImage).Fit "290x190 webp" }} */}}
|
||||
{{ with $resImage }}
|
||||
<a href="{{ $urlBlogEntry }}">
|
||||
<img src="{{ (.Fit "290x190 webp").RelPermalink }}">
|
||||
<img src="{{ (.Fit "290x190 webp").Permalink }}">
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -3,14 +3,5 @@
|
||||
<h1>{{ .Title }}</h1>
|
||||
</a>
|
||||
{{ .Content }}
|
||||
<!--{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<p>
|
||||
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{ partial "metadata.html" . }}
|
||||
<a class="summary" href="{{ .RelPermalink }}">
|
||||
<p>{{ .Summary }}</p>
|
||||
</a>
|
||||
</p>
|
||||
{{ end }}-->
|
||||
{{ partial "totop" }}
|
||||
{{ end }}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="day">
|
||||
<div class="date">{{ .Key }}</div>
|
||||
{{ range .Pages }}
|
||||
<div class="participation"><a href="{{ .RelPermalink }}">{{ .Params.ort }} ({{ .Params.partner }} / {{ .Params.partnerin }})</a></div>
|
||||
<div class="participation"><a href="{{ .Permalink }}">{{ .Params.ort }} ({{ .Params.partner }} / {{ .Params.partnerin }})</a></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user