diff --git a/page.hbs b/page.hbs new file mode 100644 index 00000000..7c9e31e2 --- /dev/null +++ b/page.hbs @@ -0,0 +1,22 @@ +{{!< default}} + +{{! This is a page template. A page outputs content just like any other post, and has all the same + attributes by default, but you can also customise it to behave differently if you prefer. }} + +
+ +
+ + {{#post}} + +

{{{title}}}

+ +
+ {{content}} +
+ + {{/post}} + +
+ +
diff --git a/pagination.hbs b/pagination.hbs new file mode 100644 index 00000000..7f16ae6f --- /dev/null +++ b/pagination.hbs @@ -0,0 +1,9 @@ + diff --git a/tag.hbs b/tag.hbs new file mode 100644 index 00000000..24b6330e --- /dev/null +++ b/tag.hbs @@ -0,0 +1,54 @@ +{{!< default}} + +{{! The comment above "< default" means - insert everything in this file into + the {body} of the default.hbs template, which contains our header/footer. }} + +{{! The big featured header on the homepage, with the site logo and description }} + + +{{! The main content area on the homepage }} +
+ + {{! Each post will be output using this markup }} + {{#foreach posts}} + +
+
+ +

{{{title}}}

+ + +
+
+

{{excerpt}}…

+
+
+ + {{/foreach}} + + {{!! After all the posts, we have the previous/next pagination links }} + {{pagination}} + + +
diff --git a/theme.json b/theme.json new file mode 100644 index 00000000..29e3fbb6 --- /dev/null +++ b/theme.json @@ -0,0 +1,11 @@ +{ + "files": { + "default": "default.hbs", + "index": "index.hbs", + "page": "page.hbs", + "post": "post.hbs", + "tag": "tag.hbs", + "pagination": "pagination.hbs" + }, + "version":"0.1.2" +}