37 | {{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
38 | {{{body}}}
39 |
40 |
41 | {{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}}
42 | {{!----}}
43 | {{!-- Ghost outputs important scripts and data with this tag --}}
44 | {{ghost_foot}}
45 | {{!-- The main JavaScript file for Casper --}}
46 |
47 | {{#is "post"}}
48 |
49 |
50 | {{/is}}
51 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/index.hbs:
--------------------------------------------------------------------------------
1 | {{!< default}}
2 | {{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
3 | {{> "header"}}
4 | {{!-- The main content area on the homepage --}}
5 |
6 | {{!-- The tag below includes the post loop - partials/loop.hbs --}} {{> "loop"}}
7 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ghost-theme-tiny",
3 | "description": "A tiny personal blogging theme for Ghost. Beautiful, minimal and responsive.",
4 | "demo": "https://demo.ghost.io",
5 | "version": "1.1.3",
6 | "engines": {
7 | "ghost": ">=1.0.0",
8 | "ghost-api": "v4"
9 | },
10 | "license": "MIT",
11 | "screenshots": {
12 | "desktop": "assets/screenshot-desktop.jpg",
13 | "mobile": "assets/screenshot-mobile.jpg"
14 | },
15 | "config": {
16 | "posts_per_page": 10
17 | },
18 | "author": {
19 | "name": "zhaohaodang",
20 | "email": "zhaohaodang@gmail.com",
21 | "url": "https://zhaohaodang.com"
22 | },
23 | "gpm": {
24 | "type": "theme",
25 | "categories": [
26 | "Minimal",
27 | "Personal Blogs"
28 | ]
29 | },
30 | "keywords": [
31 | "ghost",
32 | "theme",
33 | "ghost-theme"
34 | ],
35 | "repository": {
36 | "type": "git",
37 | "url": "https://github.com/zhaohaodang/ghost-theme-tiny.git"
38 | },
39 | "bugs": "https://github.com/zhaohaodang/ghost-theme-tiny/issues",
40 | "contributors": "https://github.com/zhaohaodang/ghost-theme-tiny/graphs/contributors"
41 | }
42 |
--------------------------------------------------------------------------------
/page-archives.hbs:
--------------------------------------------------------------------------------
1 | {{!< default}}
2 | {{> "header"}} {{! This is a page template. A page outputs content just like any other post, and has all the same attributes
3 | by default, but you can also customise it to behave differently if you prefer. }} {{! Everything inside the #post tags
4 | pulls data from the page }} {{#post}} {{! The main container area on the homepage }}
5 |
--------------------------------------------------------------------------------
/partials/loop.hbs:
--------------------------------------------------------------------------------
1 | {{!-- This is the post loop - each post will be output using this markup --}}
2 |
--------------------------------------------------------------------------------
/partials/pagination.hbs:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/post.hbs:
--------------------------------------------------------------------------------
1 | {{!< default}} {{> "header"}}
2 | {{!-- The comment above "
3 | < default " means - insert everything in this file into
4 | the {{{body}}} of the default.hbs template, containing the blog header/footer. --}}
5 |
6 | {{!-- Everything inside the #post tags pulls data from the post --}}
7 | {{#post}}
8 |