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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/page/about.md')
-rw-r--r--exampleSite/content/page/about.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/exampleSite/content/page/about.md b/exampleSite/content/page/about.md
new file mode 100644
index 0000000..190f190
--- /dev/null
+++ b/exampleSite/content/page/about.md
@@ -0,0 +1,15 @@
+---
+title: "Single Page"
+date: "2021-02-14"
+url: "/about/"
+---
+
+This is a single page. To create a page similar to this:
+
+1. Create a new markdown file in `contents/page/about.md`.
+ 1. Alternatively, create a [page bundle][page-bundle-link] `contents/page/about/index.md`.
+2. In the frontmatter of the page, set the value of `url` to your desired relative path.
+ 1. E.g., for this page we have `url = "/about/"`.
+3. Now you can access the website at `baseurl/about` and you can link to it from the main menu or sidebar using the relative path.
+
+[page-bundle-link]: https://gohugo.io/content-management/page-bundles/ \ No newline at end of file