diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2019-02-22 10:46:58 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2019-02-22 10:46:58 +0300 |
commit | 8357e46a5e41fbd263680db6933380f8aaeca9fd (patch) | |
tree | 5b6614e7c977c30e729748ab7e3abe77f1fdb571 | |
parent | 946616d8e1fcee141ba2647e7cdc8a771f6b81bc (diff) |
Add Posts Type (#31)
This PR adds a `type = "posts"` for themes that need it.
Most notably [Hyde Hyde](https://themes.gohugo.io/theme/hyde-hyde/) that currently has its index page empty will have it populated with posts once again.
If more themes need different content types I will see whether it is possible to turn `type` into an array to add more of these.
-rw-r--r-- | content/post/creating-a-new-theme.md | 1 | ||||
-rw-r--r-- | content/post/goisforlovers.md | 1 | ||||
-rw-r--r-- | content/post/hugoisforlovers.md | 1 | ||||
-rw-r--r-- | content/post/migrate-from-jekyll.fr.md | 2 | ||||
-rw-r--r-- | content/post/migrate-from-jekyll.md | 1 |
5 files changed, 5 insertions, 1 deletions
diff --git a/content/post/creating-a-new-theme.md b/content/post/creating-a-new-theme.md index bf33bc3..b232128 100644 --- a/content/post/creating-a-new-theme.md +++ b/content/post/creating-a-new-theme.md @@ -2,6 +2,7 @@ author: "Michael Henderson" date: 2014-09-28 linktitle: Creating a New Theme +type: posts title: Creating a New Theme weight: 10 series: diff --git a/content/post/goisforlovers.md b/content/post/goisforlovers.md index 003d8d5..84110cb 100644 --- a/content/post/goisforlovers.md +++ b/content/post/goisforlovers.md @@ -1,6 +1,7 @@ +++ title = "(Hu)go Template Primer" description = "" +type = "posts" tags = [ "go", "golang", diff --git a/content/post/hugoisforlovers.md b/content/post/hugoisforlovers.md index 4712444..a95362c 100644 --- a/content/post/hugoisforlovers.md +++ b/content/post/hugoisforlovers.md @@ -1,6 +1,7 @@ +++ title = "Getting Started with Hugo" description = "" +type = "posts" tags = [ "go", "golang", diff --git a/content/post/migrate-from-jekyll.fr.md b/content/post/migrate-from-jekyll.fr.md index 550d9de..66eeaf6 100644 --- a/content/post/migrate-from-jekyll.fr.md +++ b/content/post/migrate-from-jekyll.fr.md @@ -9,7 +9,7 @@ featuredpath = "" linktitle = "" slug = "Migrer vers Hugo depuis Jekyll" title = "Migrer vers Hugo depuis Jekyll" -type = "post" +type = "posts" +++ diff --git a/content/post/migrate-from-jekyll.md b/content/post/migrate-from-jekyll.md index f7d306d..de739ba 100644 --- a/content/post/migrate-from-jekyll.md +++ b/content/post/migrate-from-jekyll.md @@ -2,6 +2,7 @@ date: 2014-03-10 linktitle: Migrating from Jekyll title: Migrate to Hugo from Jekyll +type: posts weight: 10 series: - Hugo 101 |