From f442f7a57b3b6b988f1d914b4ef5c53993b1fa90 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 18 Jul 2016 21:16:59 -0400 Subject: add theme packer --- data/themes/sample-theme/files/css/style.css | 1 + data/themes/sample-theme/files/js/script.js | 1 + data/themes/sample-theme/guff-manifest.json | 23 ++++++++++++++++++++++ .../sample-theme/templates/blog-list-item.html | 9 +++++++++ 4 files changed, 34 insertions(+) create mode 100644 data/themes/sample-theme/files/css/style.css create mode 100644 data/themes/sample-theme/files/js/script.js create mode 100644 data/themes/sample-theme/guff-manifest.json create mode 100644 data/themes/sample-theme/templates/blog-list-item.html (limited to 'data') diff --git a/data/themes/sample-theme/files/css/style.css b/data/themes/sample-theme/files/css/style.css new file mode 100644 index 0000000..913c182 --- /dev/null +++ b/data/themes/sample-theme/files/css/style.css @@ -0,0 +1 @@ +/* sample style */ diff --git a/data/themes/sample-theme/files/js/script.js b/data/themes/sample-theme/files/js/script.js new file mode 100644 index 0000000..aebb122 --- /dev/null +++ b/data/themes/sample-theme/files/js/script.js @@ -0,0 +1 @@ +/* sample script */ diff --git a/data/themes/sample-theme/guff-manifest.json b/data/themes/sample-theme/guff-manifest.json new file mode 100644 index 0000000..407ac40 --- /dev/null +++ b/data/themes/sample-theme/guff-manifest.json @@ -0,0 +1,23 @@ +{ + "format": 1, + "metadata": { + "name": "Sample Theme", + "version": "1.0", + "date": "2016-07-18" + }, + + "files": [ + "css/style.css", + "js/script.js" + ], + + "assets": { + "scripts": [ + "js/script.js" + ], + + "styles": [ + "css/style.css" + ] + } +} diff --git a/data/themes/sample-theme/templates/blog-list-item.html b/data/themes/sample-theme/templates/blog-list-item.html new file mode 100644 index 0000000..7e9dddf --- /dev/null +++ b/data/themes/sample-theme/templates/blog-list-item.html @@ -0,0 +1,9 @@ +
+
%{name|h}
+
+ By %{user_name|h} + at %{created_at|h} +
+ +
%{body}
+
-- cgit v1.2.3