Skip to content

A static site generator using Go to parse Markdown files into HTML content

License

Notifications You must be signed in to change notification settings

nodesleep/static-site-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome

This application generates static sites from markdown using Go. To modify, please edit the markdown file in content/index.md. The generation is done through a Golang application that parses the markdown, wraps in a base HTML template found at templates/base.html, then outputs the result into the public/.

Once generated, the application will host the content at localhost on port 8080.

Usage (Download and Run)

Select the appropriate package for your system.

Extract the files and modify to your liking. Be sure to execute chmod +x path/to/executable if running on Linux or Apple systems.

  1. Modify the index.md file located in content/
  2. If desired, modify the HTML file located in templates/
  3. The application reads any CSS file named style.css in the assets/ directory. If you don't wish to use The Monospace Web, simply replace the CSS with your own.
  4. Once finished, run the executable.

Usage (For Golang Devs)

  1. Modify the index.md file located in content/
  2. If desired, modify the HTML file located in templates/
  3. The application reads any CSS file named style.css in the assets/ directory. If you don't wish to use The Monospace Web, simply replace the CSS with your own.
  4. Once finished, simply run the application with go run .

Credits

About

A static site generator using Go to parse Markdown files into HTML content

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published