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

github.com/MarcusVirg/forty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <10623666+funkydan2@users.noreply.github.com>2018-03-30 04:39:42 +0300
committerGitHub <noreply@github.com>2018-03-30 04:39:42 +0300
commit350973ed6a2d5b102b76be2d366bf76afb2eee42 (patch)
treed867880b29694bee5604137abbe81fc1b1227aec
parent18f1464731940c92f19ccb7d504f3f2280ca391f (diff)
Linking to .URL rather than .Slug
-rw-r--r--layouts/_default/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 9fec008..ded797f 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -31,7 +31,7 @@
<section id="two" class="spotlights">
{{ range .Pages }}
<section>
- <a href="{{ .Slug }}" class="image">
+ <a href="{{ .URL }}" class="image">
<img src="{{ .Site.Params.baseURL }}/img/{{ .Section }}/{{ .Params.image }}" alt="" data-position="center center" />
</a>
<div class="content">
@@ -41,7 +41,7 @@
</header>
<p>{{ .Description }}</p>
<ul class="actions">
- <li><a href="{{ .Slug }}" class="button">Learn more</a></li>
+ <li><a href="{{ .URL }}" class="button">Learn more</a></li>
</ul>
</div>
</div>