Return to repo list

pystatsite

On-or-Offline static site generator in Python
Return to HMagellan.com

commit 3d18fea5402c841c4ab34637cc6f2cee4ddf2e22
parent dbbd365195ae1bf9fa175cb5f4aeea5fa64e2064
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Mon, 29 Mar 2021 12:52:06 -0500

init on site format

Diffstat:
Dblogposts/sample.html | 0
Moptions.json | 3++-
Asites/sample/hierarchy.json | 24++++++++++++++++++++++++
3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/blogposts/sample.html b/blogposts/sample.html diff --git a/options.json b/options.json @@ -1,4 +1,5 @@ { "editor" : "/usr/bin/vim", - "sync_location": "/var/www/html" + "sync_local": "/var/www/html", + "sync_remote" : "https://sample.com" } diff --git a/sites/sample/hierarchy.json b/sites/sample/hierarchy.json @@ -0,0 +1,24 @@ +{ + "homepage" : { + "type" : "Page", + "file" : "index.html", + "title" : "Home", + "navid" : "@@home" + }, + "about" : { + "type" : "Page", + "file" : "about.html", + "title" : "About", + "navid" : "@@about" + }, + "blog" : { + "type" : "Category", + "title" : "Blog", + "dir" : "blogposts" + }, + "remote" : { + "type" : "Link", + "title" : "Remote", + "href" : "https://sample.org" + } +}