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

github.com/qqhann/hugo-primer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/card.page.html')
-rw-r--r--layouts/partials/card.page.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/card.page.html b/layouts/partials/card.page.html
index c079b93..12b8202 100644
--- a/layouts/partials/card.page.html
+++ b/layouts/partials/card.page.html
@@ -2,7 +2,7 @@
<div class="rounded-2 box-shadow-medium px-3 pb-2 pt-2 mb-3">
<div class="Subhead mb-2">
<div class="Subhead-heading">
- <a href="{{ .URL }}">
+ <a href="{{ .RelPermalink }}">
<div class="h2 mt-1 mb-1">{{ .Title }}</div>
</a>
</div>
@@ -16,6 +16,6 @@
<div class="text-gray">
<!-- summary -->
{{ .Summary }}
- <a class="muted-link" href="{{ .URL }}">…</a>
+ <a class="muted-link" href="{{ .RelPermalink }}">…</a>
</div>
</div>