From dff47d17bb0ed4479bfb187b19ba1c8b1fa61226 Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 31 May 2022 21:21:58 -0400 Subject: themes/default/layouts/_default: Paginate drafts and categorize --- content/canory/drafts/_index.md | 4 ++++ content/canory/messages/drafts.md | 5 +++++ content/default/drafts/_index.md | 4 ++++ content/default/messages/quickstart.md | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 content/canory/drafts/_index.md create mode 100644 content/default/drafts/_index.md (limited to 'content') diff --git a/content/canory/drafts/_index.md b/content/canory/drafts/_index.md new file mode 100644 index 0000000..1f319ba --- /dev/null +++ b/content/canory/drafts/_index.md @@ -0,0 +1,4 @@ +--- +author: canory +layout: drafts +--- diff --git a/content/canory/messages/drafts.md b/content/canory/messages/drafts.md index 9deb852..c6caa9f 100644 --- a/content/canory/messages/drafts.md +++ b/content/canory/messages/drafts.md @@ -9,3 +9,8 @@ author = "canory" Draft those messages, you message drafter. Get a feel of how it delivers before committing the deed. Only reveal your drafts in a local environment --- don't write drafts live on the `www` unless you like living on the edge. + +```yaml {options="hl_lines=9-17",caption="Inside your config.toml, config.json, or config.yaml"} +--- +buildDrafts: false +``` diff --git a/content/default/drafts/_index.md b/content/default/drafts/_index.md new file mode 100644 index 0000000..2f08e4c --- /dev/null +++ b/content/default/drafts/_index.md @@ -0,0 +1,4 @@ +--- +author: default +layout: drafts +--- diff --git a/content/default/messages/quickstart.md b/content/default/messages/quickstart.md index 123c3cc..dc52bc3 100644 --- a/content/default/messages/quickstart.md +++ b/content/default/messages/quickstart.md @@ -11,7 +11,7 @@ explaining how to get started. The copy button is broken... GIT CLONE. EXECUTE HUGO TWICE. HUGO VERSION >= 0.94.2. ```shell -git clone --branch 0.3.31 https://www.thedroneely.com/git/thedroneely/canory +git clone --branch 0.4.16 https://www.thedroneely.com/git/thedroneely/canory cd canory hugo && hugo ``` -- cgit v1.2.3