diff options
-rw-r--r-- | exampleSite/content/posts/Cover-image-showcase.md (renamed from exampleSite/content/post/Cover-image-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Elements-showcase.md (renamed from exampleSite/content/post/Elements-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Hidden-pagination-showcase.md (renamed from exampleSite/content/post/Hidden-pagination-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Hidden-social-section-showcase.md (renamed from exampleSite/content/post/Hidden-social-section-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Hidden-tag-section-showcase.md (renamed from exampleSite/content/post/Hidden-tag-section-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Image-gallery-showcase.md (renamed from exampleSite/content/post/Image-gallery-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Tags-plugins-showcase.md (renamed from exampleSite/content/post/Tags-plugins-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Video-integrations-showcase.md (renamed from exampleSite/content/post/Video-integrations-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md (renamed from exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/Who-is-using-Tranquilpeak-Hugo-Theme.md (renamed from exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/highlighted-code-showcase.md (renamed from exampleSite/content/post/highlighted-code-showcase.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/中文測試.md (renamed from exampleSite/content/post/中文測試.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/posts/日本語テスト.md (renamed from exampleSite/content/post/日本語テスト.md) | 0 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/taxonomy/archive.terms.html | 2 | ||||
-rw-r--r-- | layouts/taxonomy/category.html | 4 | ||||
-rw-r--r-- | layouts/taxonomy/category.terms.html | 2 | ||||
-rw-r--r-- | layouts/taxonomy/tag.html | 4 |
18 files changed, 7 insertions, 7 deletions
diff --git a/exampleSite/content/post/Cover-image-showcase.md b/exampleSite/content/posts/Cover-image-showcase.md index d766cd7..d766cd7 100644 --- a/exampleSite/content/post/Cover-image-showcase.md +++ b/exampleSite/content/posts/Cover-image-showcase.md diff --git a/exampleSite/content/post/Elements-showcase.md b/exampleSite/content/posts/Elements-showcase.md index c1ddead..c1ddead 100644 --- a/exampleSite/content/post/Elements-showcase.md +++ b/exampleSite/content/posts/Elements-showcase.md diff --git a/exampleSite/content/post/Hidden-pagination-showcase.md b/exampleSite/content/posts/Hidden-pagination-showcase.md index 4a4f22c..4a4f22c 100644 --- a/exampleSite/content/post/Hidden-pagination-showcase.md +++ b/exampleSite/content/posts/Hidden-pagination-showcase.md diff --git a/exampleSite/content/post/Hidden-social-section-showcase.md b/exampleSite/content/posts/Hidden-social-section-showcase.md index a787c65..a787c65 100644 --- a/exampleSite/content/post/Hidden-social-section-showcase.md +++ b/exampleSite/content/posts/Hidden-social-section-showcase.md diff --git a/exampleSite/content/post/Hidden-tag-section-showcase.md b/exampleSite/content/posts/Hidden-tag-section-showcase.md index 22c2262..22c2262 100644 --- a/exampleSite/content/post/Hidden-tag-section-showcase.md +++ b/exampleSite/content/posts/Hidden-tag-section-showcase.md diff --git a/exampleSite/content/post/Image-gallery-showcase.md b/exampleSite/content/posts/Image-gallery-showcase.md index f41cd5f..f41cd5f 100644 --- a/exampleSite/content/post/Image-gallery-showcase.md +++ b/exampleSite/content/posts/Image-gallery-showcase.md diff --git a/exampleSite/content/post/Tags-plugins-showcase.md b/exampleSite/content/posts/Tags-plugins-showcase.md index 5ded476..5ded476 100644 --- a/exampleSite/content/post/Tags-plugins-showcase.md +++ b/exampleSite/content/posts/Tags-plugins-showcase.md diff --git a/exampleSite/content/post/Video-integrations-showcase.md b/exampleSite/content/posts/Video-integrations-showcase.md index e988d5d..e988d5d 100644 --- a/exampleSite/content/post/Video-integrations-showcase.md +++ b/exampleSite/content/posts/Video-integrations-showcase.md diff --git a/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md b/exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md index b1e9b04..b1e9b04 100644 --- a/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md +++ b/exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md diff --git a/exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md b/exampleSite/content/posts/Who-is-using-Tranquilpeak-Hugo-Theme.md index ca37fbb..ca37fbb 100644 --- a/exampleSite/content/post/Who-is-using-Tranquilpeak-Hugo-Theme.md +++ b/exampleSite/content/posts/Who-is-using-Tranquilpeak-Hugo-Theme.md diff --git a/exampleSite/content/post/highlighted-code-showcase.md b/exampleSite/content/posts/highlighted-code-showcase.md index 79b5c00..79b5c00 100644 --- a/exampleSite/content/post/highlighted-code-showcase.md +++ b/exampleSite/content/posts/highlighted-code-showcase.md diff --git a/exampleSite/content/post/中文測試.md b/exampleSite/content/posts/中文測試.md index ee97a19..ee97a19 100644 --- a/exampleSite/content/post/中文測試.md +++ b/exampleSite/content/posts/中文測試.md diff --git a/exampleSite/content/post/日本語テスト.md b/exampleSite/content/posts/日本語テスト.md index d86ad72..d86ad72 100644 --- a/exampleSite/content/post/日本語テスト.md +++ b/exampleSite/content/posts/日本語テスト.md diff --git a/layouts/index.html b/layouts/index.html index 0a41340..db94714 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ {{ if eq .Params.covermeta "out" }}hasCoverMetaOut{{ else }}hasCoverMetaIn{{ end }} {{ with .Params.coverCaption }}hasCoverCaption{{ end }}"> <section class="postShorten-group main-content-wrap"> - {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }} + {{ $paginator := .Paginate (where .Site.RegularPages "Type" "posts") }} {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} diff --git a/layouts/taxonomy/archive.terms.html b/layouts/taxonomy/archive.terms.html index 083fdc2..114a3b4 100644 --- a/layouts/taxonomy/archive.terms.html +++ b/layouts/taxonomy/archive.terms.html @@ -11,7 +11,7 @@ <form id="filter-form" action="#"> <input name="date" type="text" class="form-control input--xlarge" placeholder="{{ i18n "global.search_date" }}" autofocus="autofocus"> </form> - {{ partial "archive-post.html" (where .Site.RegularPages "Type" "post") }} + {{ partial "archive-post.html" (where .Site.RegularPages "Type" "posts") }} </div> </div> </div> diff --git a/layouts/taxonomy/category.html b/layouts/taxonomy/category.html index 96381d3..e3f9516 100644 --- a/layouts/taxonomy/category.html +++ b/layouts/taxonomy/category.html @@ -12,7 +12,7 @@ {{ with .Params.coverCaption }}hasCoverCaption{{ end }}"> {{ if or (not (isset .Site.Params "categoryPagination")) (.Site.Params.categoryPagination) }} <section class="postShorten-group main-content-wrap"> - {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} + {{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }} {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} @@ -23,7 +23,7 @@ <form id="filter-form" action="#"> <input name="date" type="text" class="form-control input--xlarge" placeholder="{{ i18n "global.search_date" }}" autofocus="autofocus"> </form> - {{ partial "archive-post.html" (where .Data.Pages "Type" "post") }} + {{ partial "archive-post.html" (where .Data.Pages "Type" "posts") }} </div> {{ end }} {{ partial "footer.html" . }} diff --git a/layouts/taxonomy/category.terms.html b/layouts/taxonomy/category.terms.html index e8518ad..bef6039 100644 --- a/layouts/taxonomy/category.terms.html +++ b/layouts/taxonomy/category.terms.html @@ -1,6 +1,6 @@ {{ if $.Site.Params.hierarchicalCategories }} {{ $.Scratch.Set "max-level" 0 }} - {{ range where $.Site.RegularPages "Type" "post" }} + {{ range where $.Site.RegularPages "Type" "posts" }} {{ $page := . }} {{ if .Params.categories }} {{ $categories := (apply .Params.categories "urlize" ".") }} diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index 9d9d9f3..6438b92 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -12,7 +12,7 @@ {{ with .Params.coverCaption }}hasCoverCaption{{ end }}"> {{ if or (not (isset .Site.Params "tagPagination")) (.Site.Params.tagPagination) }} <section class="postShorten-group main-content-wrap"> - {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }} + {{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }} {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} @@ -23,7 +23,7 @@ <form id="filter-form" action="#"> <input name="date" type="text" class="form-control input--xlarge" placeholder="{{ i18n "global.search_date" }}" autofocus="autofocus"> </form> - {{ partial "archive-post.html" (where .Data.Pages "Type" "post") }} + {{ partial "archive-post.html" (where .Data.Pages "Type" "posts") }} </div> {{ end }} {{ partial "footer.html" . }} |