diff --git a/content/article/int-break.md b/content/article/int-break.md index d7358b1..e349812 100644 --- a/content/article/int-break.md +++ b/content/article/int-break.md @@ -14,11 +14,11 @@ abstract: | --- -# Break locally & online version +# Break local & online version -- `print` items that point to to inexistent files (e.g. a print item with field `print: "article/inexistent-file.md" `) will break the site, and will now allow to compile. This can occur when a target file was renamed, or when a file was converted to draft. Debug that by removing all files of the print directory (except `_index.md`) -- **mixing draft and non draft items** in collections (e.g. issue that `has_artices: ["article/draft.md", "article/non-draft.md"`). Debug: double check that all children of a non-draft item are also non-draft. -- Messing up the header (front matter) of a markdown file: +- `print` items that point to to inexistent files (e.g. a print item with field `print: "article/inexistent-file.md" `) will break the site, and will now allow to compile. This can occur when a target file was renamed, or when a file was converted to draft. Debug by removing all files of the print directory (except `_index.md`) +- **mixing draft and non draft items** in collections (e.g. issue that `has_artices: ["article/draft.md", "article/non-draft.md"`). Debug: double check that all children of non-draft items are also non-draft. +- Messing up the header (front matter) of a Markdown file: ``` --- title: "How to break this site ⚫ " @@ -27,9 +27,8 @@ abstract: | contributors: ["jane-contributor.md"] <--forgetting to close any array brackets will break draft: true keywords: - - draft <-- not following this syntax/indent will break + - draft <-- not following this syntax/indentation will break abstract: | - The text of your abstract. <-- not following this syntax/indent will break + The text of your abstract. <-- not following this syntax/indentation will break --- <-- removing one or more dashes will break - ``` \ No newline at end of file