personal/sigma.git
20 months agoGenerate html Files Through Build Scripts
Georgios Atheridis [Sun, 12 Feb 2023 22:20:23 +0000 (22:20 +0000)]
Generate html Files Through Build Scripts

Users can now create build scripts in python that will allow them to
generate html files dynamically--based on other data.

This is useful for cases where one has a blog with posts being tagged,
it is now possible to create an html file for each tag and group all
posts within that tag's page.

20 months agoGenerate Files from Directories
Georgios Atheridis [Sun, 12 Feb 2023 00:10:33 +0000 (00:10 +0000)]
Generate Files from Directories

Can compile output files with the same name as a directory.  This
allows for easier control over variable definitions, as it keeps the
data.toml file smaller and can much more easily define multiline
variables--such as scripts.

Updated README, added a TODO list and added some more example pages that
show sigma's functionality.

20 months agoAdd Option to Update Multiple Pages
Georgios Atheridis [Mon, 6 Feb 2023 03:02:02 +0000 (03:02 +0000)]
Add Option to Update Multiple Pages

The --page flag has been changed to --pages and can now take a whole
directory. It's possible to update the whole site with one command.

20 months agoInitialize Default Page Variables
Georgios Atheridis [Mon, 6 Feb 2023 03:02:02 +0000 (03:02 +0000)]
Initialize Default Page Variables

Default page variables are initialized if not defined. Page name is the
name of the file without the extension and the date of the page is the
mtime of the file.

Implement custom date format which can be defined in the data.toml file.

Posts are now built in chronological order.

20 months agoAdd Script and Basic Template Layout
Georgios Atheridis [Mon, 6 Feb 2023 03:02:02 +0000 (03:02 +0000)]
Add Script and Basic Template Layout

Structure a basic template layout that sigma can use to generate the
static webpage. This will be used as a basis for creating the python
program.

Markdown files are converted to html files. Bracket syntax will be used
to call variables, scripts or other templates. Python files will be
executed.

20 months agoStart Project
Georgios Atheridis [Sun, 5 Feb 2023 21:19:37 +0000 (21:19 +0000)]
Start Project

Add a license and a basic readme file.