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 | |
parent | ba3d42bccd56487ad1d581ee949f257bea3628a4 (diff) |
:truck: Rename post section to blog
-rw-r--r-- | exampleSite/content/blog/01-post.md (renamed from exampleSite/content/post/01-post.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/02-post.md (renamed from exampleSite/content/post/02-post.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/03-post.md (renamed from exampleSite/content/post/03-post.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/04-post.md (renamed from exampleSite/content/post/04-post.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/05-no-comments.md (renamed from exampleSite/content/post/05-no-comments.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/06-post.md (renamed from exampleSite/content/post/06-post.md) | 0 | ||||
-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 | ||||
-rw-r--r-- | package.json | 2 |
11 files changed, 5 insertions, 5 deletions
diff --git a/exampleSite/content/post/01-post.md b/exampleSite/content/blog/01-post.md index c500d72..c500d72 100644 --- a/exampleSite/content/post/01-post.md +++ b/exampleSite/content/blog/01-post.md diff --git a/exampleSite/content/post/02-post.md b/exampleSite/content/blog/02-post.md index e97ceed..e97ceed 100644 --- a/exampleSite/content/post/02-post.md +++ b/exampleSite/content/blog/02-post.md diff --git a/exampleSite/content/post/03-post.md b/exampleSite/content/blog/03-post.md index 69a7011..69a7011 100644 --- a/exampleSite/content/post/03-post.md +++ b/exampleSite/content/blog/03-post.md diff --git a/exampleSite/content/post/04-post.md b/exampleSite/content/blog/04-post.md index dc3eb11..dc3eb11 100644 --- a/exampleSite/content/post/04-post.md +++ b/exampleSite/content/blog/04-post.md diff --git a/exampleSite/content/post/05-no-comments.md b/exampleSite/content/blog/05-no-comments.md index 398d076..398d076 100644 --- a/exampleSite/content/post/05-no-comments.md +++ b/exampleSite/content/blog/05-no-comments.md diff --git a/exampleSite/content/post/06-post.md b/exampleSite/content/blog/06-post.md index 3231657..3231657 100644 --- a/exampleSite/content/post/06-post.md +++ b/exampleSite/content/blog/06-post.md 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> diff --git a/package.json b/package.json index 395a891..ad5dbf6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-dopetrope", - "version": "1.2.1", + "version": "2.0.0", "description": "Hugo Theme Dopetrope", "main": "index.js", "scripts": { |