mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
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.
This commit is contained in:
parent
946616d8e1
commit
8357e46a5e
@ -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:
|
||||
|
@ -1,6 +1,7 @@
|
||||
+++
|
||||
title = "(Hu)go Template Primer"
|
||||
description = ""
|
||||
type = "posts"
|
||||
tags = [
|
||||
"go",
|
||||
"golang",
|
||||
|
@ -1,6 +1,7 @@
|
||||
+++
|
||||
title = "Getting Started with Hugo"
|
||||
description = ""
|
||||
type = "posts"
|
||||
tags = [
|
||||
"go",
|
||||
"golang",
|
||||
|
@ -9,7 +9,7 @@ featuredpath = ""
|
||||
linktitle = ""
|
||||
slug = "Migrer vers Hugo depuis Jekyll"
|
||||
title = "Migrer vers Hugo depuis Jekyll"
|
||||
type = "post"
|
||||
type = "posts"
|
||||
|
||||
+++
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user