Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Lednerb/bilberry-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Baiborodine <igor@kiroule.com>2022-02-19 20:43:21 +0300
committerIgor Baiborodine <igor@kiroule.com>2022-02-19 20:43:21 +0300
commitb7a8c582df24d722d212a5daf5ee966a25a50e8c (patch)
treec149e752652268a29016cd367daf2729251c562f
parentab5d5b68712cfd412adaff6af851f5b0bcedd67b (diff)
Update documentation on post typesv3.1.0
-rw-r--r--README.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/README.md b/README.md
index 7940b1e..1b4480f 100644
--- a/README.md
+++ b/README.md
@@ -125,11 +125,23 @@ environment-specific settings for a Hugo-based website.
## Features
### Post Types
-Bilberry theme comes with a set of predefined post types, namely `article`, `audio`, `code`, `gallery`, `link`, `page`, `quote`, `status`, and `video` where the `article` type is the default.
+Bilberry theme comes with a set of predefined post types, namely `article`, `audio`, `code`, `gallery`, `link`, `page`, `quote`, `status`, and `video` where the `article` type is the default one.
-To create content of a specific type, use the `hugo new` command. For example:
+To create a new content, use the `hugo new` command. Content can be created in two ways: a single page or a page bundle.
+
+To create new content as a single page, you can use the following command:
+```shell
+hugo new <content-type>/my-single-page-content.md
+```
+Or, new page bundle content can be created as follows:
+```shell
+hugo new <content-type>/my-page-bundle-content/index.md
```
-hugo new quote/edward-snowden-about-privacy.md
+
+For example, you can create a new article as a single page and a new gallery as a page bundle using the following commands respectively:
+```shell
+hugo new article/my-single-page-article.md
+hugo new gallery/my-page-bundle-gallery/index.md
```
The `page` post type is the only one that can be used in the top navigation bar.