Type: Infrastructure
Purpose: Hackerspace official public webiste
Current maintainer: Allgreed
- Just drop'em as issues :D
All content is located in ~/content
Markdown knwolegde is required.
- Write content
- Preview it in development mode
- Submit via PR
- Run the app in development mode
- Try strange use cases
- When you find a bug - submit an issue.
If you'd like to write code please contact the maintainer.
To begin you'll need to have installed:
Caution! - make sure to install the latest version of Hugo
-
Clone the repo
$ git clone https://github.com/hs3city/inf_main-site
-
Navigate to the main folder
$ cd hs3pl
hugo serve
hugo new PAGENAME.md
Pages are added automatically, just specify the weight and title in front matter.
To config.toml
append following snippet:
[[menu.main]]
name = "MENU-ITEM-NAME"
weight = WEIGHT
url = "https://example.com"
Where weight
is an integer from that describes items order (ascending from the left)
hugo
The resulting build will be in ~/public
. deploy.sh
deploy.sh
requires executive privilages, trash alias (as deleting / moving to trash), hugo alias and push access to hs3city.github.io repository
Based on After Dark theme for Hugo