start a website

6/9/2021 One-minute read

User story

In order to get a (unified generated) website

I need to have a certain file system structure

while currently I can only create a few simple html pages

acceptance criteria:

  • I have a

chosing a website generator

create a website with HUGO

chris@Chriss-MBP ~ % cd hugo2021
chris@Chriss-MBP hugo2021 % hugo new site blog505
Congratulations! Your new Hugo site is created in /Volumes/OSX/Users/chris/hugo2021/blog505.
Just a few more steps and you're ready to go:
1\. Download a theme into the same-named folder.
 Choose a theme from https://themes.gohugo.io/ or
 create your own with the "hugo new theme <THEMENAME>" command.
2\. Perhaps you want to add some content. You can add single files
 with "hugo new <SECTIONNAME>/<FILENAME>.<FORMAT>".
3\. Start the built-in live server via "hugo server".
Visit https://gohugo.io/ for quickstart guide and full documentation.

check which files and directories have been created

chris@Chriss-MBP hugo2021 % find blog505

blog505
blog505/archetypes
blog505/archetypes/default.md
blog505/content
blog505/layouts
blog505/static
blog505/config.toml
blog505/data
blog505/themes
chris@Chriss-MBP hugo2021 %

test

hugo serve -D ../tmp

Start building sites …

WARN 2021/06/26 15:11:32 found no layout file for "HTML" for kind "taxonomy": You should create a templ

..

from here