From a0c4381c9980cbb03f0ad741b31da1fcd9e0611d Mon Sep 17 00:00:00 2001
From: Cas Rusnov
Date: Thu, 23 May 2019 17:51:21 -0700
Subject: [PATCH] Major development update.
* Updated LICENSE, READMES/METADATA.md and TODO.md
* Added example blog to examples/
* Added preliminary Pygments support for embedding code in pages.
* Add preliminary Wordpress dump importer
* Expansions to template_tools and metadata to support Blog use case.
---
LICENSE | 2 +-
READMES/METADATA.md | 10 +
TODO.md | 1 +
demo/.meta | 7 -
demo/atom.xml.meta | 5 -
demo/bar/baz/quux/quuux | 0
demo/blog_posts/anotherpost.cont | 5 -
demo/blog_posts/anotherpost.cont.meta | 4 -
demo/blog_posts/test.cont | 1 -
demo/blog_posts/test.cont.meta | 4 -
demo/foo.cont | 1 -
demo/foo.cont.meta | 5 -
demo/index.cont | 19 -
demo/mapping.json | 0
demo/passthrough.md | 9 -
demo/passthrough.md.meta | 3 -
demo/readme.md | 9 -
demo/readme.md.meta | 3 -
demo/templates/debug.jinja2 | 32 --
demo/templates/default-fs.jinja2 | 6 -
demo/templates/default.jinja2 | 13 -
examples/pixywerk.com/Makefile | 2 +-
examples/pixywerk.com/foo | 0
examples/pixywerk.com/publish/2019-04-15.html | 31 ++
examples/pixywerk.com/publish/atom.xml | 14 +
.../publish/css/fonts/Bungee-Regular.woff | Bin 0 -> 55164 bytes
.../publish/css/fonts/Bungee-Regular.woff2 | Bin 0 -> 40488 bytes
.../publish/css/fonts/ExpletusSans-Bold.ttf | Bin 0 -> 60784 bytes
.../publish/css/fonts/ExpletusSans-Bold.woff | Bin 0 -> 28176 bytes
.../publish/css/fonts/ExpletusSans-Bold.woff2 | Bin 0 -> 20628 bytes
.../css/fonts/ExpletusSans-BoldItalic.ttf | Bin 0 -> 45072 bytes
.../css/fonts/ExpletusSans-BoldItalic.woff | Bin 0 -> 21016 bytes
.../css/fonts/ExpletusSans-BoldItalic.woff2 | Bin 0 -> 15356 bytes
.../publish/css/fonts/ExpletusSans-Italic.ttf | Bin 0 -> 37344 bytes
.../css/fonts/ExpletusSans-Italic.woff | Bin 0 -> 19132 bytes
.../css/fonts/ExpletusSans-Italic.woff2 | Bin 0 -> 14248 bytes
.../publish/css/fonts/ExpletusSans-Medium.ttf | Bin 0 -> 66676 bytes
.../css/fonts/ExpletusSans-Medium.woff | Bin 0 -> 31592 bytes
.../css/fonts/ExpletusSans-Medium.woff2 | Bin 0 -> 22784 bytes
.../css/fonts/ExpletusSans-MediumItalic.ttf | Bin 0 -> 62900 bytes
.../css/fonts/ExpletusSans-MediumItalic.woff | Bin 0 -> 27148 bytes
.../css/fonts/ExpletusSans-MediumItalic.woff2 | Bin 0 -> 19972 bytes
.../css/fonts/ExpletusSans-Regular.ttf | Bin 0 -> 55052 bytes
.../css/fonts/ExpletusSans-Regular.woff | Bin 0 -> 26540 bytes
.../css/fonts/ExpletusSans-Regular.woff2 | Bin 0 -> 19844 bytes
.../css/fonts/ExpletusSans-SemiBold.ttf | Bin 0 -> 65520 bytes
.../css/fonts/ExpletusSans-SemiBold.woff | Bin 0 -> 31536 bytes
.../css/fonts/ExpletusSans-SemiBold.woff2 | Bin 0 -> 22784 bytes
.../css/fonts/ExpletusSans-SemiBoldItalic.ttf | Bin 0 -> 46812 bytes
.../fonts/ExpletusSans-SemiBoldItalic.woff | Bin 0 -> 22556 bytes
.../fonts/ExpletusSans-SemiBoldItalic.woff2 | Bin 0 -> 16484 bytes
.../publish/css/fonts/Teko-Bold.woff | Bin 0 -> 111224 bytes
.../publish/css/fonts/Teko-Bold.woff2 | Bin 0 -> 77468 bytes
.../publish/css/fonts/Teko-Light.woff | Bin 0 -> 108568 bytes
.../publish/css/fonts/Teko-Light.woff2 | Bin 0 -> 75476 bytes
.../publish/css/fonts/Teko-Medium.woff | Bin 0 -> 115388 bytes
.../publish/css/fonts/Teko-Medium.woff2 | Bin 0 -> 80216 bytes
.../publish/css/fonts/Teko-Regular.woff | Bin 0 -> 115048 bytes
.../publish/css/fonts/Teko-Regular.woff2 | Bin 0 -> 80188 bytes
.../publish/css/fonts/Teko-SemiBold.woff | Bin 0 -> 117184 bytes
.../publish/css/fonts/Teko-SemiBold.woff2 | Bin 0 -> 81756 bytes
.../pixywerk.com/publish/css/icono.min.css | 1 +
examples/pixywerk.com/publish/css/main.css | 343 +++++++++++++++++-
.../publish/images/2019-05-16.png | Bin 0 -> 457198 bytes
.../publish/images/2019-05-19.png | Bin 0 -> 135915 bytes
.../publish/images/link-box-variant.svg | 1 +
.../pixywerk.com/publish/images/pipe-leak.svg | 1 +
examples/pixywerk.com/publish/index.html | 53 ++-
.../pixywerk.com/publish/post-2019-04-15.html | 44 +++
.../publish/post-2019-05-16.another-post.html | 43 +++
.../publish/posts/2019-04-15.html | 17 +-
.../publish/posts/post-2019-04-15.html | 46 +++
.../posts/post-2019-05-16.another-post.html | 45 +++
.../publish/posts/post-2019-05-19.html | 111 ++++++
examples/pixywerk.com/publish/setup.py | 59 +++
.../publish/templates/default.jinja2 | 27 +-
.../publish/templates/post.jinja2 | 23 ++
examples/pixywerk.com/publish/test/test.html | 31 ++
examples/pixywerk.com/src/.meta | 11 +-
{demo => examples/pixywerk.com/src}/atom.xml | 2 +-
examples/pixywerk.com/src/atom.xml.meta | 4 +
.../src/css/fonts/ExpletusSans-Bold.ttf | Bin 0 -> 60784 bytes
.../src/css/fonts/ExpletusSans-Bold.woff | Bin 0 -> 28176 bytes
.../src/css/fonts/ExpletusSans-Bold.woff2 | Bin 0 -> 20628 bytes
.../src/css/fonts/ExpletusSans-BoldItalic.ttf | Bin 0 -> 45072 bytes
.../css/fonts/ExpletusSans-BoldItalic.woff | Bin 0 -> 21016 bytes
.../css/fonts/ExpletusSans-BoldItalic.woff2 | Bin 0 -> 15356 bytes
.../src/css/fonts/ExpletusSans-Italic.ttf | Bin 0 -> 37344 bytes
.../src/css/fonts/ExpletusSans-Italic.woff | Bin 0 -> 19132 bytes
.../src/css/fonts/ExpletusSans-Italic.woff2 | Bin 0 -> 14248 bytes
.../src/css/fonts/ExpletusSans-Medium.ttf | Bin 0 -> 66676 bytes
.../src/css/fonts/ExpletusSans-Medium.woff | Bin 0 -> 31592 bytes
.../src/css/fonts/ExpletusSans-Medium.woff2 | Bin 0 -> 22784 bytes
.../css/fonts/ExpletusSans-MediumItalic.ttf | Bin 0 -> 62900 bytes
.../css/fonts/ExpletusSans-MediumItalic.woff | Bin 0 -> 27148 bytes
.../css/fonts/ExpletusSans-MediumItalic.woff2 | Bin 0 -> 19972 bytes
.../src/css/fonts/ExpletusSans-Regular.ttf | Bin 0 -> 55052 bytes
.../src/css/fonts/ExpletusSans-Regular.woff | Bin 0 -> 26540 bytes
.../src/css/fonts/ExpletusSans-Regular.woff2 | Bin 0 -> 19844 bytes
.../src/css/fonts/ExpletusSans-SemiBold.ttf | Bin 0 -> 65520 bytes
.../src/css/fonts/ExpletusSans-SemiBold.woff | Bin 0 -> 31536 bytes
.../src/css/fonts/ExpletusSans-SemiBold.woff2 | Bin 0 -> 22784 bytes
.../css/fonts/ExpletusSans-SemiBoldItalic.ttf | Bin 0 -> 46812 bytes
.../fonts/ExpletusSans-SemiBoldItalic.woff | Bin 0 -> 22556 bytes
.../fonts/ExpletusSans-SemiBoldItalic.woff2 | Bin 0 -> 16484 bytes
.../pixywerk.com/src/css/fonts/Teko-Bold.woff | Bin 0 -> 111224 bytes
.../src/css/fonts/Teko-Bold.woff2 | Bin 0 -> 77468 bytes
.../src/css/fonts/Teko-Light.woff | Bin 0 -> 108568 bytes
.../src/css/fonts/Teko-Light.woff2 | Bin 0 -> 75476 bytes
.../src/css/fonts/Teko-Medium.woff | Bin 0 -> 115388 bytes
.../src/css/fonts/Teko-Medium.woff2 | Bin 0 -> 80216 bytes
.../src/css/fonts/Teko-Regular.woff | Bin 0 -> 115048 bytes
.../src/css/fonts/Teko-Regular.woff2 | Bin 0 -> 80188 bytes
.../src/css/fonts/Teko-SemiBold.woff | Bin 0 -> 117184 bytes
.../src/css/fonts/Teko-SemiBold.woff2 | Bin 0 -> 81756 bytes
examples/pixywerk.com/src/css/main.css | 276 +++++++++++++-
examples/pixywerk.com/src/css/main.css.meta | 3 +
.../pixywerk.com/src/images/2019-05-16.png | Bin 0 -> 457198 bytes
.../pixywerk.com/src/images/2019-05-19.png | Bin 0 -> 135915 bytes
.../src/images/link-box-variant.svg | 1 +
.../pixywerk.com/src/images/pipe-leak.svg | 1 +
examples/pixywerk.com/src/index.thtml | 18 +-
examples/pixywerk.com/src/index.thtml.meta | 3 +
examples/pixywerk.com/src/posts/.meta | 3 +
.../pixywerk.com/src/posts/2019-04-15.thtml | 12 -
.../src/posts/2019-04-15.thtml.meta | 4 -
.../src/posts/post-2019-04-15.thtml | 3 +
.../src/posts/post-2019-04-15.thtml.meta | 4 +
.../posts/post-2019-05-16.another-post.thtml | 2 +
.../post-2019-05-16.another-post.thtml.meta | 4 +
.../src/posts/post-2019-05-19.thtml | 8 +
.../src/posts/post-2019-05-19.thtml.meta | 4 +
examples/pixywerk.com/src/setup.py | 59 +++
.../pixywerk.com/src/templates/default.jinja2 | 27 +-
.../pixywerk.com/src/templates/post.jinja2 | 23 ++
examples/pixywerk.com/src/test/test.thtml | 2 +
importwp.py | 162 +++++++++
pixywerk2/__main__.py | 10 +-
pixywerk2/metadata.py | 19 +-
pixywerk2/pygments.py | 36 ++
pixywerk2/template_tools.py | 10 +-
setup.py | 2 +-
142 files changed, 1564 insertions(+), 180 deletions(-)
delete mode 100755 demo/.meta
delete mode 100644 demo/atom.xml.meta
delete mode 100755 demo/bar/baz/quux/quuux
delete mode 100644 demo/blog_posts/anotherpost.cont
delete mode 100644 demo/blog_posts/anotherpost.cont.meta
delete mode 100644 demo/blog_posts/test.cont
delete mode 100644 demo/blog_posts/test.cont.meta
delete mode 100755 demo/foo.cont
delete mode 100755 demo/foo.cont.meta
delete mode 100644 demo/index.cont
delete mode 100755 demo/mapping.json
delete mode 100644 demo/passthrough.md
delete mode 100644 demo/passthrough.md.meta
delete mode 100644 demo/readme.md
delete mode 100644 demo/readme.md.meta
delete mode 100755 demo/templates/debug.jinja2
delete mode 100755 demo/templates/default-fs.jinja2
delete mode 100755 demo/templates/default.jinja2
delete mode 100644 examples/pixywerk.com/foo
create mode 100644 examples/pixywerk.com/publish/2019-04-15.html
create mode 100644 examples/pixywerk.com/publish/atom.xml
create mode 100644 examples/pixywerk.com/publish/css/fonts/Bungee-Regular.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/Bungee-Regular.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Bold.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Bold.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Bold.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-BoldItalic.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-BoldItalic.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-BoldItalic.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Italic.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Italic.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Italic.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Medium.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Medium.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Medium.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-MediumItalic.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-MediumItalic.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-MediumItalic.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Regular.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Regular.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-Regular.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-SemiBold.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-SemiBold.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-SemiBold.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-SemiBoldItalic.ttf
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-SemiBoldItalic.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/ExpletusSans-SemiBoldItalic.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Bold.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Bold.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Light.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Light.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Medium.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Medium.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Regular.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-Regular.woff2
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-SemiBold.woff
create mode 100644 examples/pixywerk.com/publish/css/fonts/Teko-SemiBold.woff2
create mode 100644 examples/pixywerk.com/publish/css/icono.min.css
create mode 100644 examples/pixywerk.com/publish/images/2019-05-16.png
create mode 100644 examples/pixywerk.com/publish/images/2019-05-19.png
create mode 100644 examples/pixywerk.com/publish/images/link-box-variant.svg
create mode 100644 examples/pixywerk.com/publish/images/pipe-leak.svg
create mode 100644 examples/pixywerk.com/publish/post-2019-04-15.html
create mode 100644 examples/pixywerk.com/publish/post-2019-05-16.another-post.html
create mode 100644 examples/pixywerk.com/publish/posts/post-2019-04-15.html
create mode 100644 examples/pixywerk.com/publish/posts/post-2019-05-16.another-post.html
create mode 100644 examples/pixywerk.com/publish/posts/post-2019-05-19.html
create mode 100644 examples/pixywerk.com/publish/setup.py
create mode 100644 examples/pixywerk.com/publish/templates/post.jinja2
create mode 100644 examples/pixywerk.com/publish/test/test.html
rename {demo => examples/pixywerk.com/src}/atom.xml (92%)
create mode 100644 examples/pixywerk.com/src/atom.xml.meta
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Bold.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Bold.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Bold.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-BoldItalic.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-BoldItalic.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-BoldItalic.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Italic.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Italic.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Italic.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Medium.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Medium.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Medium.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-MediumItalic.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-MediumItalic.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-MediumItalic.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Regular.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Regular.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-Regular.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-SemiBold.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-SemiBold.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-SemiBold.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-SemiBoldItalic.ttf
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-SemiBoldItalic.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/ExpletusSans-SemiBoldItalic.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Bold.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Bold.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Light.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Light.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Medium.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Medium.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Regular.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-Regular.woff2
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-SemiBold.woff
create mode 100644 examples/pixywerk.com/src/css/fonts/Teko-SemiBold.woff2
create mode 100644 examples/pixywerk.com/src/css/main.css.meta
create mode 100755 examples/pixywerk.com/src/images/2019-05-16.png
create mode 100755 examples/pixywerk.com/src/images/2019-05-19.png
create mode 100644 examples/pixywerk.com/src/images/link-box-variant.svg
create mode 100644 examples/pixywerk.com/src/images/pipe-leak.svg
create mode 100644 examples/pixywerk.com/src/index.thtml.meta
create mode 100644 examples/pixywerk.com/src/posts/.meta
delete mode 100644 examples/pixywerk.com/src/posts/2019-04-15.thtml
delete mode 100644 examples/pixywerk.com/src/posts/2019-04-15.thtml.meta
create mode 100644 examples/pixywerk.com/src/posts/post-2019-04-15.thtml
create mode 100644 examples/pixywerk.com/src/posts/post-2019-04-15.thtml.meta
create mode 100644 examples/pixywerk.com/src/posts/post-2019-05-16.another-post.thtml
create mode 100644 examples/pixywerk.com/src/posts/post-2019-05-16.another-post.thtml.meta
create mode 100644 examples/pixywerk.com/src/posts/post-2019-05-19.thtml
create mode 100644 examples/pixywerk.com/src/posts/post-2019-05-19.thtml.meta
create mode 100644 examples/pixywerk.com/src/setup.py
create mode 100644 examples/pixywerk.com/src/templates/post.jinja2
create mode 100644 examples/pixywerk.com/src/test/test.thtml
create mode 100644 importwp.py
create mode 100644 pixywerk2/pygments.py
diff --git a/LICENSE b/LICENSE
index 9a0f344..a173754 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2018 Cas Rusnov
+Copyright (c) 2018,2019 Cas Rusnov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/READMES/METADATA.md b/READMES/METADATA.md
index 5f8c97c..6cee143 100755
--- a/READMES/METADATA.md
+++ b/READMES/METADATA.md
@@ -15,6 +15,8 @@ On-disk meatdata is stored as a file along side the non-metadata file with the e
All files define the following keys by default:
+relpath
+: The relative path to the root of the site, useful for prepending to image `src=` and other resource paths such as CSS files and fonts in order to maintain locally viewable output.
file_name
: The local path of the file
file_path
@@ -60,6 +62,14 @@ author_email
site_root
: The full URL for the root of this web site used for links and whatnot, with ending slash.
+Special Keys that can be defined, these change the processing in predictable ways:
+
+type
+: Define that the file that this metadata is applied to as a specific type from the type mapping table. Useful values are `passthrough` and `templatable` with obvious outcomes.
+wildcard_metadata
+: Define a dictionary of file globs (patterns which match files such as `*.txt`), with the value being a dictionary of additional metadata to apply to the matched files. This is generally
+defined at the top level of the project to make certain file patterns treated as special without having to give them their own metadata.
+
## CACHING STRATEGY ##
diff --git a/TODO.md b/TODO.md
index bd5221a..9c3132e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,6 +2,7 @@
* Pygments pretty printing of source code et al. including exposing that to the template API (`pygment_format(get_file_content('whatever.py'))`).
* Smart CSS things (fill in the processors)
+* Project global defines, parameters.
# Maybe #
diff --git a/demo/.meta b/demo/.meta
deleted file mode 100755
index 77f863c..0000000
--- a/demo/.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-"site_root":"https://example.com",
-"title":"Test Metadata",
-"author": "Test User",
-"author_email": "test_user@example.com",
-"uuid_oid_root": "pixywerk-demo"
-}
diff --git a/demo/atom.xml.meta b/demo/atom.xml.meta
deleted file mode 100644
index dee5897..0000000
--- a/demo/atom.xml.meta
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-"type": "templatable",
-"title": "Test RSS Feed",
-"subtitle": "Some Subtitle"
-}
\ No newline at end of file
diff --git a/demo/bar/baz/quux/quuux b/demo/bar/baz/quux/quuux
deleted file mode 100755
index e69de29..0000000
diff --git a/demo/blog_posts/anotherpost.cont b/demo/blog_posts/anotherpost.cont
deleted file mode 100644
index cbd4708..0000000
--- a/demo/blog_posts/anotherpost.cont
+++ /dev/null
@@ -1,5 +0,0 @@
-Some more post
-
-
-la la la
-
diff --git a/demo/blog_posts/anotherpost.cont.meta b/demo/blog_posts/anotherpost.cont.meta
deleted file mode 100644
index b9a84d5..0000000
--- a/demo/blog_posts/anotherpost.cont.meta
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-"title":"Another Post(tm)",
-"summary":"Yet another post"
-}
diff --git a/demo/blog_posts/test.cont b/demo/blog_posts/test.cont
deleted file mode 100644
index 637d210..0000000
--- a/demo/blog_posts/test.cont
+++ /dev/null
@@ -1 +0,0 @@
-Some content.
diff --git a/demo/blog_posts/test.cont.meta b/demo/blog_posts/test.cont.meta
deleted file mode 100644
index 2bc3818..0000000
--- a/demo/blog_posts/test.cont.meta
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-"title":"Test.cont",
-"summary":"Some empty test content"
-}
diff --git a/demo/foo.cont b/demo/foo.cont
deleted file mode 100755
index 28a04cb..0000000
--- a/demo/foo.cont
+++ /dev/null
@@ -1 +0,0 @@
-yo fresh
\ No newline at end of file
diff --git a/demo/foo.cont.meta b/demo/foo.cont.meta
deleted file mode 100755
index 59f3331..0000000
--- a/demo/foo.cont.meta
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-"foo":"bar",
-"title":"A title",
-"summary":"Just a post."
-}
diff --git a/demo/index.cont b/demo/index.cont
deleted file mode 100644
index 0c9ab9e..0000000
--- a/demo/index.cont
+++ /dev/null
@@ -1,19 +0,0 @@
-Index of all content
-{% for f in get_file_list('*', sort_order='file_name') %}
-{{get_file_name(f['file_name'])}}
-{% endfor %}
-
-Including foo.cont.meta:
-
-{{ get_file_content('foo.cont.meta') }}
-
-
-
-Metadata
-
diff --git a/demo/mapping.json b/demo/mapping.json
deleted file mode 100755
index e69de29..0000000
diff --git a/demo/passthrough.md b/demo/passthrough.md
deleted file mode 100644
index 373643d..0000000
--- a/demo/passthrough.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# README #
-
-This is a test of the emergency compiled HTML system. This is only a *test*.
-
-[Foo!](foo.html)
-
-{% for i in range(100) %}
-* {{ i }}
-{% endfor %}
diff --git a/demo/passthrough.md.meta b/demo/passthrough.md.meta
deleted file mode 100644
index d35f55b..0000000
--- a/demo/passthrough.md.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-"pragma":["no-proc"]
-}
diff --git a/demo/readme.md b/demo/readme.md
deleted file mode 100644
index 373643d..0000000
--- a/demo/readme.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# README #
-
-This is a test of the emergency compiled HTML system. This is only a *test*.
-
-[Foo!](foo.html)
-
-{% for i in range(100) %}
-* {{ i }}
-{% endfor %}
diff --git a/demo/readme.md.meta b/demo/readme.md.meta
deleted file mode 100644
index a266664..0000000
--- a/demo/readme.md.meta
+++ /dev/null
@@ -1,3 +0,0 @@
-{
-"title":"Yo, markdown"
-}
\ No newline at end of file
diff --git a/demo/templates/debug.jinja2 b/demo/templates/debug.jinja2
deleted file mode 100755
index bcc22fb..0000000
--- a/demo/templates/debug.jinja2
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-Debug for {{path}}
-
-
-
-{{path}}
-Content
-
-{{content}}
-
-
-Environment
-
-key | value |
-{% for k in environ.keys() %}
-{{k}} | {{environ[k]}} |
-{% endfor %}
-
-
-Metadata
-
-
diff --git a/demo/templates/default-fs.jinja2 b/demo/templates/default-fs.jinja2
deleted file mode 100755
index 09b2c85..0000000
--- a/demo/templates/default-fs.jinja2
+++ /dev/null
@@ -1,6 +0,0 @@
-
-file | type | size | last change |
-{% for f in files.keys() %}
-{{f}} | {{files[f].type}} | {{files[f].size}} | {{files[f].ctime | date}} |
-{% endfor %}
-
diff --git a/demo/templates/default.jinja2 b/demo/templates/default.jinja2
deleted file mode 100755
index 64e5dcc..0000000
--- a/demo/templates/default.jinja2
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-{{metadata.title}}
-
-
-
-{{content}}
-
-