From 5b2a13daf1e4a6044004c00b6a9e3699ce116ece Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Wed, 20 Nov 2024 16:21:29 -0500 Subject: [PATCH] standardize on 'front matter' --- .cspell.json | 4 ++-- .../spellcheck-your-hugo-site-with-cspell/index.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.cspell.json b/.cspell.json index 4f98882..7034450 100644 --- a/.cspell.json +++ b/.cspell.json @@ -17,7 +17,7 @@ ], "patterns": [ { - "name": "frontmatter", + "name": "front_matter", "pattern": "/^(-{3}|[+]{3})$(\\s|\\S)*?^\\1$/gm" }, { @@ -29,7 +29,7 @@ { "languageId": "markdown", "ignoreRegExpList": [ - "frontmatter", + "front_matter", "proper_nouns" ] } diff --git a/content/journal/spellcheck-your-hugo-site-with-cspell/index.md b/content/journal/spellcheck-your-hugo-site-with-cspell/index.md index 0cb9217..f16bf84 100644 --- a/content/journal/spellcheck-your-hugo-site-with-cspell/index.md +++ b/content/journal/spellcheck-your-hugo-site-with-cspell/index.md @@ -50,7 +50,7 @@ My site (especially the stuff in [/elsewhere][2] that I've mirrored from my comp ```json "patterns": [ { - "name": "frontmatter", + "name": "front_matter", "pattern": "/^(-{3}|[+]{3})$(\\s|\\S)*?^\\1$/gm" } ], @@ -58,7 +58,7 @@ My site (especially the stuff in [/elsewhere][2] that I've mirrored from my comp { "languageId": "markdown", "ignoreRegExpList": [ - "frontmatter", + "front_matter", ] } ] @@ -81,7 +81,7 @@ My site (especially the stuff in [/elsewhere][2] that I've mirrored from my comp { "languageId": "markdown", "ignoreRegExpList": [ - "frontmatter", + "front_matter", "proper_nouns" ] } @@ -152,7 +152,7 @@ sort -o .dictionary .dictionary ], "patterns": [ { - "name": "frontmatter", + "name": "front_matter", "pattern": "/^(-{3}|[+]{3})$(\\s|\\S)*?^\\1$/gm" }, { @@ -164,7 +164,7 @@ sort -o .dictionary .dictionary { "languageId": "markdown", "ignoreRegExpList": [ - "frontmatter", + "front_matter", "proper_nouns" ] }