Commit Graph

62 Commits

Author SHA1 Message Date
Badri Sunderarajan b4a4dabd8c Enable MailChimp email auto-categorisation
So that we don't have to file them away manually each time
2021-06-07 15:36:29 +05:30
Badri Sunderarajan 4bfdd9eb14 Remove all banners for now
Let's not let the novelty wear off! 😉
2021-06-06 20:37:09 +05:30
Badri Sunderarajan 67a3c0f8af Replace job banner with Paul webinar banner 2021-06-03 21:18:30 +05:30
Badri Sunderarajan 1a5926c192 Add job banner back, since the webinar is done! 2021-01-29 20:51:29 +05:30
Badri Sunderarajan e0c9a91d65 Add profile redirect for Thuan
The wrong link was shared around a lot during the publicity for
the webinar so we should make sure it works!
2021-01-16 19:48:36 +05:30
Badri Sunderarajan 8a32879ade Webinar URL change: 2020 -> 2021
Thanks to Navneeth for pointing out this typo!
2021-01-10 13:12:42 +05:30
Badri Sunderarajan 0652af2c04 Replace job banner with webinar banner 2020-12-29 17:43:08 +05:30
Badri Sunderarajan 3372878dce Add "Join us" banner 2020-11-04 14:14:03 +05:30
Hippo 3d147c9396 Update favicon 2020-09-22 15:53:36 +05:30
Hippo 1d469620ba Bugfix: build fails if post has no authors
Because it tries to count the first one anyway
2020-04-26 22:35:43 +05:30
Hippo 15905289e1 Bugfix: build fails if post doesn't have tags
Because how can you iterate over something that doesn't exist?
2020-04-26 22:31:45 +05:30
Hippo 4c42364083 Display meta tags (for Facebook, Twitter, etc.)
Social media, here we come!
2020-04-26 22:24:12 +05:30
Hippo bd90d5168a Navbar typo: redirect to full site URL, not just '/' 2020-04-26 22:15:47 +05:30
Hippo 6abe472d5b Prepend feature image to RSS post 2020-03-31 19:00:04 +05:30
Hippo 95dac3d193 Redirect RSS to new URL
The older one was `/rss` for Gatsby; this now goes to the more
descriptive `/feed.xml`
2020-03-31 17:12:54 +05:30
Hippo d6a24b49cc Set up RSS/Atom feeds 2020-03-31 17:04:24 +05:30
Hippo cc51760fbb Set up sitemap 2020-03-31 17:00:01 +05:30
Hippo 98c3f4463b Change siteUrl from "beta" to "www' 2020-03-31 13:42:38 +05:30
Hippo d1965a317c Remove Gatsby redirect hack
It conflicts with the new hack/fix that was added
2020-03-29 18:39:18 +05:30
Hippo 6181fec71f Add hack files to trick Gatsby into reloading itself
Otherwise it keeps on trying to load Gatsby pages (and not finding
them because we've switched to Gridsome).
2020-03-29 18:07:35 +05:30
Badri Sunderarajan af7e1488c0 Redirect Gatsby's 404.html to Gridsome's one
Hopefully this will induce the whole app to reload
2020-03-27 17:06:37 +05:30
Badri Sunderarajan b3fe0911e6 Make redirects more sensible 2020-03-27 17:06:31 +05:30
Badri Sunderarajan 1da1aba9d5 Update HTTP header config to always force reload of page
This is especially crucial since we were using Gatsby earlier;
browsers which still have the Gatsby PWA must be forced to refresh.
2020-03-27 15:57:18 +05:30
Badri Sunderarajan c03d592f3f Disable Google Analytics 2020-03-27 13:41:54 +05:30
Badri Sunderarajan c95f7bbc7b Fix Snipette Friendica URL
Forgot to add the `/u/` :P
2020-03-15 15:31:38 +05:30
Badri Sunderarajan 2d641f3008 Style scissors separator 2020-03-15 15:27:30 +05:30
Badri Sunderarajan abdaff4a7f Update PreviousNext when navigating to a new page
Earlier, it was just computing it once and then leaving it there
permanently. So you'd get "recommends" for the first post you
opened rather than the current one, unless you went to a non-post
page in the middle or reloaded the page.
2020-03-15 15:05:22 +05:30
Badri Sunderarajan 309589bb63 Make "Subscribe" button link to subscribe page for now
We're supposed to do fancy modals and all, but there's still time
for that later :P
2020-03-15 14:30:15 +05:30
Badri Sunderarajan dd68fea249 Enable and activate MailChimp support in subscribe form
This is not just MailChimp, but any service really that lets you
embed a form
2020-03-15 13:31:23 +05:30
Badri Sunderarajan f23715d4b9 Add support for Mastodon, Instagram, and Liberapay 2020-03-15 13:31:03 +05:30
Badri Sunderarajan 56a16d9d50 Update site metadata and make it display in header/footer 2020-03-15 13:29:25 +05:30
Badri Sunderarajan 9be6baae52 Make pagination-bar hiding more seamless
Now, it goes away the moment JavaScript is loaded, and also fades
out nicely even if you do happen to look at it. The extraneous
console.log messages are also gone.
2020-03-15 12:19:45 +05:30
Badri Sunderarajan 0ae46197b6 Remove <noscript> tag that was causing HierarchyRequestError
Replaced it with a v-if logic to show or hide the element.
2020-03-15 11:37:08 +05:30
Badri Sunderarajan f9f0db645d Show pager if infinite scroll fails
This is in addition to displaying it when JavaScript is disabled.
2020-03-11 17:22:27 +05:30
Badri Sunderarajan 50fa31ea98 Animate infinite-scroll transitions 2020-03-09 23:07:21 +05:30
Badri Sunderarajan 91f8268193 Implement "infinite scrolling" in the homepage! 2020-03-09 19:31:46 +05:30
Badri Sunderarajan f447783c5c Update pagination styles to highlight active button 2020-03-09 18:52:10 +05:30
Badri Sunderarajan a67c114815 Paginate homepage 2020-03-09 18:45:40 +05:30
Hippo ea9427f474 Display post reading time via @tryghost/helpers 2019-12-30 17:39:01 +05:30
Hippo 23cf280f36 Use Ghost site name for subscribe form instead of admin.yml one 2019-12-24 15:18:28 +05:30
Hippo 77526a77f1 Fix typo during last post detection in PreviousNext
We're at the last post when (length-1) > i, not length > i,
because we're indexing from 0 but starting from 1
2019-12-24 15:16:33 +05:30
Hippo 30f9448d72 Change GhostPage template to a symlink
Because that's what it is. No point updating the same content
twice in different files :P

The reason is, Gridsome needs GhostPage to exist so the page gets
a valid path, but doesn't actually use it because it loads
GhostPost first. We could technically leave GhostPage as an empty
file, but if the order changes someday and GhostPage starts
getting prioritised over GhostPost we'll be in a mess. Might as
well keep ourselves covered.
2019-12-24 15:06:27 +05:30
Hippo b602cea6a5 Change metadata "filters" to the OR signs they were supposed to be
Was using `|` instead of `||` :P
2019-12-24 14:58:28 +05:30
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