diff --git a/archetypes/default.md b/archetypes/default.md index 3fa8440c..d5d0e6c0 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -5,11 +5,16 @@ date: {{ .Date }} lastmod: {{ .Date }} draft: true author: "" -authorLink: "" description: "" -tags: [] -categories: [] +page: + theme: "wide" + +upd: "" +authorComment: "" + +tags: [""] +categories: [""] hiddenFromHomePage: false hiddenFromSearch: false diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 6ccc5400..b01dae49 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -146,6 +146,10 @@ Feel free to edit the post file by adding some sample content and replacing the By default all posts and pages are created as a draft. If you want to render these pages, remove the property `draft: true` from the metadata, set the property `draft: false` or add `-D`/`--buildDrafts` parameter to `hugo` command. {{< /admonition >}} +{{< admonition type=info title="Archetypes" open=true >}} +You can copy /uBlogger/archetypes/default.md to your archetypes folder to create a pre-configured post. +{{< /admonition >}} + ### 2.5 Launching the Website Locally Launch by using the following command: diff --git a/exampleSite/content/posts/theme-documentation-content/index.en.md b/exampleSite/content/posts/theme-documentation-content/index.en.md index 7448ad2a..5106e87b 100644 --- a/exampleSite/content/posts/theme-documentation-content/index.en.md +++ b/exampleSite/content/posts/theme-documentation-content/index.en.md @@ -81,11 +81,15 @@ description: "" license: "" images: [] -page: - # theme {{< version 1.0.0 new >}} - theme: +# {{< version 1.0.0 new >}} Article Update Information +upd: "" +# {{< version 1.0.0 new >}} Author's comment, is shown above all comments +authorComment: "" +page: + # {{< version 1.0.0 new >}} article design theme + theme: "" tags: [] categories: []