677 B
677 B
Steps
Render an ordered list as a series of numbered steps with visual connectors.
Syntax
{{%/* steps */%}}
1. ## Step Title
Step description...
2. ## Step Title
Step description...
{{%/* /steps */%}}
Example
{{% steps %}}
-
Create your site
Run
hugo new site my-docsto scaffold a new Hugo project. -
Add the theme
Clone or add hugo-book as a submodule in your
themes/directory. -
Write content
Add markdown files under
content/docs/. Each file becomes a page in the sidebar menu. -
Deploy
Run
hugoto build the site. The output is in thepublic/directory, ready for any static hosting. {{% /steps %}}