From 1fc2da4fe293f47ec47a7b5d33fa94fa3a06bb3b Mon Sep 17 00:00:00 2001 From: Blake Allen <blakesnake100@gmail.com> Date: Tue, 26 Oct 2021 23:58:37 +0000 Subject: [PATCH] Merge branch 'hugo' of https://github.com/bur3ku/quartz into hugo --- content/notes/ignore-notes.md | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/content/notes/ignore-notes.md b/content/notes/ignore-notes.md index 49bf5f3..e031421 100644 --- a/content/notes/ignore-notes.md +++ b/content/notes/ignore-notes.md @@ -15,6 +15,15 @@ ``` `ignoreFiles` supports the use of Regular Expressions (RegEx) so you can ignore patterns as well (e.g. ignoring all `.png`s by doing `\\.png$`). +To ignore a specific file, you can also add the tag `draft: true` to the frontmatter of a note. + +```markdown +--- +title: Some Private Note +draft: true +--- +... +``` More details in [Hugo's documentation](https://gohugo.io/getting-started/configuration/#ignore-content-and-data-files-when-rendering). -- Gitblit v1.10.0