The Snider CS Website
git clone git@github.com:snidercs/snidercs.github.io
cd snidercs.github.io
git submodule update --init
Hugo will create the dir and MD. Hugo will also populate the MD file with datetime of creation.
hugo new content/posts/title-of-article.md
Pages are slightly different than posts. page-name
below will be part of the URL. e.g. snidercs.org/page-name
for this example. index.md
lets hugo know to use a page-like template.
hugo new content/page-name/index.md
Start up the Hugo website with
hugo server -D
The -D
flag means Hugo will also generate MD files with draft = true.