aboutsummaryrefslogtreecommitdiff
path: root/data/themes/sample-theme
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/sample-theme')
-rw-r--r--data/themes/sample-theme/files/css/style.css1
-rw-r--r--data/themes/sample-theme/files/js/script.js1
-rw-r--r--data/themes/sample-theme/guff-manifest.json23
-rw-r--r--data/themes/sample-theme/templates/blog-list-item.html9
4 files changed, 34 insertions, 0 deletions
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 @@
+<div id='post-%{post_id}' class='post'>
+ <div class='title'>%{name|h}</div>
+ <div class='sub-title'>
+ By <span class='created-by'>%{user_name|h}</span>
+ at <span class='posted-at'>%{created_at|h}</span>
+ </div>
+
+ <div class='body'>%{body}</div>
+</div>