This repository contains the source code for the Ultraviolet website and blog.
content/blogs/: Markdown files for blog posts.img/blogs/: Images used in blog posts.scripts/: The Go-based static site generator.scripts/templates/: HTML templates for the blog listing and individual posts.blog/: Generated static files (do not edit manually).index.html: The main landing page.
- Go: Required to run the blog builder.
- Make: Used for task automation.
To add a new blog post, follow these steps:
- Create your content in
content/blogs/(see WRITING.md). - Build the site locally to generate the static files:
make clean && make build - To run live reload server, use:
and open a browser at http://localhost:8080.
make serve
- To run on a different port (if, say, 8080 is taken), use:
PORT=8081 make serve- Commit both the source Markdown files and the generated files in the
blog/folder. - Open a Pull Request.