Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seneral/seneral.github.io

Main developer website
https://github.com/seneral/seneral.github.io

Last synced: about 2 months ago
JSON representation

Main developer website

Awesome Lists containing this project

README

        

# Seneral Developer Website
A responsive, mobile-first project website without javascript

In order to make maintaining the website easier I developed an python build script that places the page content into a html 'frame' and replaces other generic code. It watches for changes on the source files and rebuilds the website into the build folder.
The SOURCE folder includes the pages with their content, divided in HEAD (links/meta found in the header), BANNER (for images and slideshow at the top of the page), SIDE (for side panels), CONTENT (for all text content) and SCRIPTS (loaded at the end of the page). Filling these regions in puts them into their respective position in the html frame.
The BUILD folders contains only additional resources (anything other than the html files in the source folder) like images, css or additional, inconsistent html pages.

config.json controls options and replacement rules:
1. Simple replacement rule: match (simple) replaced by value - $CURPAGE is replaced with current page path
2. Fetch rule: match (simple) replaced by value selected (regex) out of source (path to file)