Skip to content

Commit

Permalink
docs: honing
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Jan 2, 2025
1 parent 9e7bad0 commit 18033af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions exampleSite/content/introduction/quickstart/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ Then add this at the top of your `hugo.toml`
theme = 'hugo-theme-relearn'
{{< /multiconfig >}}

## Create your Home Page
## Create Content

### Your Home Page

Start by making a home page

Expand All @@ -87,7 +89,7 @@ hugo new --kind home _index.md

The new home page file `content/_index.md` has two parts: the page info (like `title`) at the top, called [front matter](https://gohugo.io/content-management/front-matter/), and the page content below.

## Create your First Chapter Page
### Your First Chapter Page

Chapters are top-level pages that contain other pages. They have a special layout.

Expand All @@ -99,7 +101,7 @@ hugo new --kind chapter first-chapter/_index.md

The new file `content/first-chapter/_index.md` has a `weight` number in the front matter. This sets the chapter's subtitle and its order in the menu.

## Create your First Content Pages
### Your First Content Pages

Now make content pages inside the chapter. Here are three ways to do this

Expand All @@ -113,7 +115,7 @@ Hugo treats these files differently based on their file names. Learn more in [Hu

Feel free to edit these files. Change the `title`, add a `weight` if you want, and write your content.

## Test your Website Locally
## Test your Website

Start your new website on your computer with this command

Expand All @@ -127,7 +129,7 @@ You can keep the server running while you edit. The browser will update automati

{{% figure src="magic.gif" link="https://gohugo.io" alt="Magic" caption="It's a kind of magic" %}}

## Build and Deploy your Website
## Build and Deploy

When your site is ready to go live, run this command

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.2.1+83e70121667de9d9b7e2d004fc3792714b48fb40
7.2.1+9e7bad03422d628c4e8739263105371f79efea40

0 comments on commit 18033af

Please sign in to comment.