Set contents to be drafts

This commit is contained in:
Hanwen Guo 2022-08-26 18:30:05 +08:00
parent 0374aa92bf
commit 1af4b5cbe1
7 changed files with 9 additions and 3 deletions

View File

@ -17,7 +17,7 @@ no-style-please](https://github.com/riggraz/no-style-please/).
## Installation ## Installation
Just the same as any other Hugo theme. Just the same as any other Hugo theme. Pages shipped with theme as examples have `draft: true` in their frontmatters, use `--buildDrafts` to build them.
## Usage ## Usage

View File

@ -2,6 +2,7 @@
title: "strange post with custom js" title: "strange post with custom js"
custom_js: [mouse_coords] custom_js: [mouse_coords]
date: 2020-07-06T00:00:00+08:00 date: 2020-07-06T00:00:00+08:00
draft: true
--- ---
This post is strange. It also has some custom js. This post is strange. It also has some custom js.

View File

@ -1,4 +1,5 @@
--- ---
draft: true
title: "overview" title: "overview"
date: 2020-07-07T00:00:00+08:00 date: 2020-07-07T00:00:00+08:00
--- ---

View File

@ -1,4 +1,5 @@
--- ---
draft: true
title: "Language Tests" title: "Language Tests"
category: example2 category: example2
date: 2020-07-08T00:00:00+08:00 date: 2020-07-08T00:00:00+08:00

View File

@ -1,4 +1,5 @@
--- ---
draft: true
title: "very very very long title and very very very short content" title: "very very very long title and very very very short content"
date: 2020-07-08T00:00:00+08:00 date: 2020-07-08T00:00:00+08:00
--- ---

View File

@ -1,4 +1,5 @@
--- ---
draft: true
title: "headings and toc" title: "headings and toc"
date: 2020-07-09T00:00:00+08:00 date: 2020-07-09T00:00:00+08:00
--- ---

View File

@ -1,4 +1,5 @@
--- ---
draft: true
title: "hr" title: "hr"
date: 2020-07-09T00:00:00+08:00 date: 2020-07-09T00:00:00+08:00
--- ---