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

about.md « page « content « exampleSite - github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 190f1906ae6b69c8838f808cf8d3b090572c1f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/