Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
StaticSite is a tool for generating static sites. The idea is you have a directory with templates, and a directory with content. The files in the content directory specify which template their text should be put into. The content file can be divided up into sections like "#title" and "#body", which are put into the template in the corresponding spots. Sections titled #body are special because they are processed as markdown before they get put into the template. The output files are put in an output directory that mirrors the content directory, excecpt they're html. This output folder can be served to the web, or rsynced to a remote server, or browsed locally, or whatever. StaticSite is in the early stages of development so all of that is liable to change. Goals: -Template inheritance/nested templates -dev mode, watch for changes in content directory and regenerate as needed