Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/summary.html2
-rw-r--r--layouts/services/summary.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 5f9a9e9..4ce4f2a 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -1,6 +1,6 @@
<div class="summary">
<h2>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
{{ .Content | truncate 120 "…" }}
</div>
diff --git a/layouts/services/summary.html b/layouts/services/summary.html
index 57d46ee..bccd45e 100644
--- a/layouts/services/summary.html
+++ b/layouts/services/summary.html
@@ -1,7 +1,7 @@
<div class="service service-summary">
<div class="service-content">
<h2 class="service-title">
- <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
<p>{{ .Content | plainify | htmlUnescape | truncate 120 "…" }}</p>
</div>