Skip to content

steinkejordan/hugo-website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Website

This is a simple static site built with Hugo and a theme called Poison for the Omaha Democratic Socialists of America chapter.

How to update the website

Here are some key concepts to understand:

  1. Learn git (push, pull, and branch) to update the website repo.
  2. Learn markdown to edit posts and pages of the site under ./content folder.
  3. Learn css to edit the styling of the website in ./assets/css/custom.css these will modify all styles sitewide.
  4. To run the site locally, download Go, download Hugo, git clone the repo, and use the following terminal command hugo server. To stop the local server, use ctrl+c in the terminal.
  5. You can also directly modify files through Github, but you won't be able to preview your changes.

Publish Dates

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.

Useful tools and info

  1. Visual Studio Code
  2. Markdown Editor
  3. Poison docs
  4. DSA Styleguide:

Recomendations

Run the following commands to sign commits as the admin user:

git config user.name OmahaDsaAdmin git config user.email [email protected]

About

Simple static website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.6%
  • HTML 3.9%
  • CSS 3.5%