Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jakewies/hugo-theme-codex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Wiesler <jakewiesler@gmail.com>2020-06-26 16:22:38 +0300
committerJake Wiesler <jakewiesler@gmail.com>2020-06-26 16:22:38 +0300
commit4d446adb19c86df49d567d9e78b0edc496d38882 (patch)
tree5ddc2efab02d58ee3698cf0baacc53867c641d36 /exampleSite
parentd20680efd400ea874b6f3a270ffbe6c1b1f1871e (diff)
refactor: check toc in post frontmatter
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/blog/example-post.md3
-rw-r--r--exampleSite/content/blog/markdown-syntax.md3
-rw-r--r--exampleSite/content/blog/math-typesetting.md2
-rw-r--r--exampleSite/content/blog/rich-content.md3
4 files changed, 7 insertions, 4 deletions
diff --git a/exampleSite/content/blog/example-post.md b/exampleSite/content/blog/example-post.md
index e2f1dae..5f8b62b 100644
--- a/exampleSite/content/blog/example-post.md
+++ b/exampleSite/content/blog/example-post.md
@@ -6,7 +6,8 @@ description: "This is an example post for hugo-theme-codex."
keywords: ["gohugo", "hugo", "go", "blog"]
draft: false
tags: ["hugo"]
-stylesheet: "post.css"
+math: false
+toc: true
---
## The standard Lorem Ipsum passage
diff --git a/exampleSite/content/blog/markdown-syntax.md b/exampleSite/content/blog/markdown-syntax.md
index 8f71882..39b0b6d 100644
--- a/exampleSite/content/blog/markdown-syntax.md
+++ b/exampleSite/content/blog/markdown-syntax.md
@@ -6,7 +6,8 @@ description: "Sample article showcasing basic Markdown syntax and formatting for
keywords: ["gohugo", "hugo", "go", "blog"]
draft: false
tags: ["markdown", "css", "html", "themes"]
-stylesheet: "post.css"
+math: false
+toc: false
---
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
diff --git a/exampleSite/content/blog/math-typesetting.md b/exampleSite/content/blog/math-typesetting.md
index d8c8117..d7ce771 100644
--- a/exampleSite/content/blog/math-typesetting.md
+++ b/exampleSite/content/blog/math-typesetting.md
@@ -6,8 +6,8 @@ description: "A brief guide to setup KaTeX"
keywords: ["gohugo", "hugo", "go", "blog"]
draft: false
tags: ["math"]
-stylesheet: "post.css"
math: true
+toc: false
---
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
diff --git a/exampleSite/content/blog/rich-content.md b/exampleSite/content/blog/rich-content.md
index 3f69a5f..c69a34b 100644
--- a/exampleSite/content/blog/rich-content.md
+++ b/exampleSite/content/blog/rich-content.md
@@ -6,7 +6,8 @@ description: "A brief description of Hugo Shortcodes"
keywords: ["gohugo", "hugo", "go", "blog"]
draft: false
tags: ["shortcodes"]
-stylesheet: "post.css"
+math: false
+toc: false
---
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.