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 17:43:49 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-11 17:43:49 +0300
commitcafb8080cd2b19ddb0e2ace3399209f39b6c13a8 (patch)
tree5378b7315c0b563d8604530488bce0ed667ab2af /layouts
parentba3d42bccd56487ad1d581ee949f257bea3628a4 (diff)
:truck: Rename post section to blog
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/blog.html2
-rw-r--r--layouts/partials/footer/recentposts.html2
-rw-r--r--layouts/partials/nav.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index e382940..76c3414 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -44,7 +44,7 @@
</div>
<footer>
<ul class="actions">
- <li><a href="post" class="button big">View All</a></li>
+ <li><a href="blog" class="button big">View All</a></li>
</ul>
</footer>
</div>
diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html
index 3b04203..0251829 100644
--- a/layouts/partials/blog.html
+++ b/layouts/partials/blog.html
@@ -4,7 +4,7 @@
<h2>The Blog</h2>
</header>
<div class="row">
- {{ range where .Data.Pages "Type" "post" }}
+ {{ range where .Data.Pages "Type" "blog" }}
<div class="6u 12u(mobile)">
<section class="box">
<a href="{{ .Permalink }}" class="image featured"><img src="{{ .Site.BaseURL }}{{ .Params.thumbnail }}" alt="" /></a>
diff --git a/layouts/partials/footer/recentposts.html b/layouts/partials/footer/recentposts.html
index 0ebb29b..a610ef5 100644
--- a/layouts/partials/footer/recentposts.html
+++ b/layouts/partials/footer/recentposts.html
@@ -4,7 +4,7 @@
<h2>{{ .Site.Params.Footer.title1 }}</h2>
</header>
<ul class="dates">
- {{ range first 5 (where .Site.Pages "Type" "post") }}
+ {{ range first 5 (where .Site.Pages "Type" "blog") }}
<li>
<span class="date">{{ .Date.Format "Jan" }} <strong>{{ .Date.Format "_2" }}</strong></span>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index ee1997c..75a5ab5 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -13,7 +13,7 @@
<li>
<a href="{{ .Site.BaseURL }}#blog">My Blog</a>
<ul>
- {{ range first 5 (where .Site.Pages "Type" "post") }}
+ {{ range first 5 (where .Site.Pages "Type" "blog") }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>