diff options
author | Curtis Timson <curt@live.co.uk> | 2018-02-11 17:43:49 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-02-11 17:43:49 +0300 |
commit | cafb8080cd2b19ddb0e2ace3399209f39b6c13a8 (patch) | |
tree | 5378b7315c0b563d8604530488bce0ed667ab2af /layouts | |
parent | ba3d42bccd56487ad1d581ee949f257bea3628a4 (diff) |
:truck: Rename post section to blog
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/blog.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer/recentposts.html | 2 | ||||
-rw-r--r-- | layouts/partials/nav.html | 2 |
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> |