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

github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurtis Timson <curt@live.co.uk>2018-02-11 19:42:38 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-11 19:42:38 +0300
commit557c18b11e0f0145194044a26d0607e455e6cd26 (patch)
tree9e30c49d8a6fcaa334c6f8f8096e7949c2e658e3 /layouts
parent697e05f62c55355bb3e6f1d1680c06ca8292f461 (diff)
:sparkles: Use blog foldername for links
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/nav.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 01291bd..dacaa70 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -45,7 +45,7 @@
</div>
<footer>
<ul class="actions" style="text-align: center">
- <li><a href="blog" class="button big">{{ .Site.Params.Blog.viewalltext }}</a></li>
+ <li><a href="{{ .Site.Params.Blog.foldername }}" class="button big">{{ .Site.Params.Blog.viewalltext }}</a></li>
</ul>
</footer>
</div>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index fc7a695..260cc1c 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -6,7 +6,7 @@
<a href="{{ .Site.BaseURL }}#portfolio">My Portfolio</a>
</li>
<li>
- <a href="{{ .Site.BaseURL }}/blog">{{ .Site.Params.Blog.title }}</a>
+ <a href="{{ .Site.BaseURL }}{{ .Site.Params.Blog.foldername }}">{{ .Site.Params.Blog.title }}</a>
<ul>
{{ range first 5 (where .Site.Pages "Type" .Site.Params.Blog.foldername) }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>