Hugo
Hugo is a static HTML and CSS website generator, and Academic adds themes and features to Hugo.
- Clone the Hugo Academic kickstart project:
git clone https://github.com/sourcethemes/academic-kickstart.git www.example.com
. - Enter the
www.example.com
directory. - Clone the theme submodule:
git submodule update --init --recursive
. - Edit the files in
content/home
, setting theactive
flag based on the site needs. - Edit
config/_default/params.toml
andconfig/_default/config.toml
as appropriate. SetdisablePathToLower = true
inconfig.toml
. - Edit
content/authors/admin/_index.md
. - Replace
content/authors/admin/avatar.jpg
or configure to use Gravatar. - Replace
assets/images/icon.png
with a 512×512 image. - Create content using commands like
hugo new --kind project notes/foo.md
. - Edit
config/_default.menu.toml
. - Adjust appearance by editing
assets/scss/custom.scss
. - Run
hugo server
to test the site.