Commit graph

19 commits

Author SHA1 Message Date
Hippo
8bae6ba614 Remove static data: authors 2019-12-24 14:25:41 +05:30
Hippo
10bd7d5e32 Make logo link to "/" instead of pulling setting from config 2019-12-24 14:10:26 +05:30
Hippo
a6df86542c Highlight current post in "Read Next" card 2019-12-24 14:06:14 +05:30
Hippo
9b448913fa Post Card: omit ellipses if description is short enough already
If the text is below the maximum length, just show the whole thing
without adding a "..." at the end
2019-12-24 13:51:38 +05:30
Hippo
2c63ea707e Post Card styling: make every sixth post "large"
This is consistent with the style Ghost uses to display posts
2019-12-24 13:48:06 +05:30
Hippo
9a0415d3ff Create view for Pages
GhostPost and GhostPage are copies of each other: they
conditionally render depending on whether the path matches a post
or page. The reason for this workaround is that, otherwise, the
router would show a 404 for non-matching posts even when a
matching page existed, since they both lie under the same path.
2019-12-24 13:38:50 +05:30
Hippo
fcc8cda747 Change site URL to beta.snipettemag.com 2019-12-20 13:44:44 +05:30
Hippo
2f46dde9a5 Update site title and description 2019-12-19 22:03:35 +05:30
Hippo
16bcaaf54b Enable image redirects
Images can now go directly to media.snipettemag.com instead of
being routed through the private Ghost instance. (Reduces traffic
on that node).
2019-12-19 22:01:35 +05:30
Hippo
1542c53dce Update README 2019-12-19 19:23:41 +05:30
Hippo
cd19e25081 Replace filters with the "or" symbols they were supposed to be :P 2019-12-18 19:36:28 +05:30
Hippo
bc26ddef61 Fix errors in Navbar tag type
We were trying to use "tag" instead of "this.tag" and expecting
it to be a String instead of an Object
2019-12-18 19:35:48 +05:30
Hippo
ec8a91a95e Add .env files and .geany projects to .gitignore 2019-12-18 19:29:00 +05:30
Hippo
0c06ad5901 Add sample .env file 2019-12-18 19:28:14 +05:30
Hippo
872f5e09f1 Scale down thumbnail images to fit Card 2019-12-18 19:25:24 +05:30
Hippo
4dcafea516 Update Navbar and Navigation to pull data from Ghost
This is instead of using data/admin.yml
2019-12-18 19:24:46 +05:30
Hippo
e264253c16 Create Ghost templates for Posts, Authors, and Views 2019-12-18 19:24:22 +05:30
Hippo
04d421edb1 Remove unnecessary files 2019-12-18 19:20:10 +05:30
Hippo
b297d33675 Initial commit with Casper starter template 2019-12-05 17:16:27 +05:30