mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-26 20:41:37 +01:00
This reverts commit 4e47e94a69
.
A [great number](https://app.netlify.com/sites/hugothemes/deploys/5c6936d1dddaef000819a6e8) of theme demos on the website broke because of this commit due to the following:
- Series is on the predefined frontmatter variable lists due to its use in the internal opengraph template.
- Series is predefined as an array whereas I entered it as a string.
- Also series needs to be defined as a Taxonomy in the config of an exampleSite. Since the config is inherited by theme authors if they have not defined the series taxonomy then their demo will again break.
**NOTE**
I will be more rigorous with testing before sending more PRs.
cc: @digitalcraftsman
This commit is contained in:
parent
93a7b4c297
commit
b92f88f27c
@ -9,7 +9,6 @@ next: /tutorials/github-pages-blog
|
|||||||
prev: /tutorials/automated-deployments
|
prev: /tutorials/automated-deployments
|
||||||
title: Creating a New Theme
|
title: Creating a New Theme
|
||||||
weight: 10
|
weight: 10
|
||||||
series: Hugo 101
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ categories = [
|
|||||||
"golang",
|
"golang",
|
||||||
]
|
]
|
||||||
menu = "main"
|
menu = "main"
|
||||||
series = "Hugo 101"
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for
|
Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for
|
||||||
|
@ -13,7 +13,6 @@ categories = [
|
|||||||
"golang",
|
"golang",
|
||||||
]
|
]
|
||||||
menu = "main"
|
menu = "main"
|
||||||
series = "Hugo 101"
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Step 1. Install Hugo
|
## Step 1. Install Hugo
|
||||||
|
@ -7,7 +7,6 @@ menu:
|
|||||||
prev: /tutorials/mathjax
|
prev: /tutorials/mathjax
|
||||||
title: Migrate to Hugo from Jekyll
|
title: Migrate to Hugo from Jekyll
|
||||||
weight: 10
|
weight: 10
|
||||||
series: Hugo 101
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Move static content to `static`
|
## Move static content to `static`
|
||||||
|
Loading…
Reference in New Issue
Block a user