Skip to content

Getting started

Lukas Joswiak edited this page Oct 11, 2020 · 3 revisions

Etch is a minimal theme with a focus on content. Follow the steps below to get started.

Installation

To install etch, download the repository into the themes folder in the root of your site.

$ git submodule add https://github.com/LukasJoswiak/etch.git themes/etch

Then, use the theme to generate your site.

$ hugo server -t etch

Use the sample configuration as a starting point. See the configuration page for more info.

Writing

Writing should go in content/posts. This is important, as the theme looks in this folder for posts to display on the homepage. Create a new post with the command:

hugo new posts/my-post.md

Supporting Pages

Single use pages should be added to folders inside of content. For example, to create an About page, run:

hugo new about/index.md

Pages not in content/posts will show in the navigation bar up top.

Clone this wiki locally