Phillip England
Simple static sites.
Pride is a static site generator intended to make building static sites as simple as possible.
Pride may be built from source with go version 1.24.4 or later.
1git clone https://github.com/phillip-england/pride
2cd pride
3go install
Assuming your $GOPATH is set correct, you should be able to view the help display using:
1pride help
1pride new site my-site
2cd my-site
1pride new content ./content/about.md
pride emit nav enables us to generate navigation based on the structure of the ./content dir. Using pride emit nav, we can point to any dir within the content dir (including the content dir itself) and output an html file containing the navigation.
At the top of the .html file, you will see the name of the navigation wrapped in {{ }} braces.
1pride emit nav ./content ./templates/nav.html
To serve on localhost:8080:
1pride serve 8080
Pride enables hot-reload by default for any file changed within the project.
To generate within ./out:
1pride build ./out