This is a simple static site built with Hugo and a theme called Poison for the Omaha Democratic Socialists of America chapter.
Here are some key concepts to understand:
- Learn git (
push,pull, andbranch) to update the website repo. - Learn markdown to edit posts and pages of the site under
./contentfolder. - Learn css to edit the styling of the website in
./assets/css/custom.cssthese will modify all styles sitewide. - To run the site locally, download Go, download Hugo,
git clonethe repo, and use the following terminal commandhugo server. To stop the local server, usectrl+cin the terminal. - You can also directly modify files through Github, but you won't be able to preview your changes.
You may notice that running hugo server by itself doesn't render posts or events in the future. To get around this default behavior, use hugo server --buildFuture instead.
Run the following commands to sign commits as the admin user:
git config user.name OmahaDsaAdmin
git config user.email [email protected]