Commit Graph

918 Commits

Author SHA1 Message Date
Badri Sunderarajan 5e23bb65e6 Limit related posts to primary tag
If we matched by all tags, the "latest posts" were getting hogged
by a small set of posts that had many tags. Now, since we're more
restrictive, we end up throwing up new posts every time! Also, we
are allowing posts with the primary tag matching *any* of the
current post's tags; it doesn't just have to match the current
posts's primary tag.
2023-03-15 14:37:58 +05:30
Badri Sunderarajan 735508cdec Show related-tag posts in "read more" section
Thanks to the new tutorial released by Ghost:

    https://ghost.org/tutorials/read-next/
2023-03-14 19:21:44 +05:30
Badri Sunderarajan 92938d0c49 Replace Commento with Ghost-native comments! 2023-03-14 16:55:57 +05:30
Badri Sunderarajan f9678bc16d Disable infinite scroll on home page 2023-02-13 22:56:16 +05:30
Badri Sunderarajan ccf346f3e8 Make search bar and subscribe CTA customisable
We don't want to hardcode the text!
2023-02-13 22:48:12 +05:30
Badri Sunderarajan 28cf0c81fc Showcase different tags on the homepage
Thanks to Ghost's Headline theme for the inspiration!
2023-02-13 22:42:16 +05:30
Badri Sunderarajan bb48b15bd5 Remove crowdfunding banner 2023-02-13 18:08:58 +05:30
Badri Sunderarajan 49d341d69e Add "I want to think about..." search bar to header
The subscribe link is added underneath with an email icon
2023-02-11 19:18:05 +05:30
Badri Sunderarajan 20ebf30213 Bump version to 1.0.2 2023-02-11 18:37:53 +05:30
Badri Sunderarajan cb3fbfc08d Separate secondary navigation from social links
We can now set social links using custom properties, leaving the
secondary navigation free for other things (like complying with
payment gateway standards)!
2023-02-11 18:35:18 +05:30
Badri Sunderarajan 40ba700d67 Remove `ghost-api` setting from package.json
It's no longer needed, starting from Ghost v5.
2023-02-11 18:34:48 +05:30
Hippo 4e626d14de Remove crowdfunding banner at end of post
It's about to be outdated anyway, so
2022-08-24 22:52:14 +05:30
Badri Sunderarajan 5c1c8a0a4e Change newsletter buttons to say "Newsletter"
The word "Subscribe" is ambiguous because it could also mean the
print magazine :P
2022-01-30 19:09:08 +05:30
Badri Sunderarajan 15c8ff8d10 Bump version number 2022-01-30 16:35:44 +05:30
Badri Sunderarajan a37b1f8fe8 Add (temporary) crowdfunding banners 2022-01-30 16:34:36 +05:30
Hippo 68c98ea9b5 Add AMP template page
This is for Google to display Accelerated Mobile Pages results,
special pages designed for mobile viewing. For some reason, the
default Ghost one was rejected (because of use of the !important
tag). This tag is not there in the Ghost source code but seemed
to be coming from somewhere (or maybe because we have a slightly
older version?). Anyway, this update takes care of it all :)
2022-01-11 10:11:07 +05:30
Badri Sunderarajan 5f5be60dca Enable comments (with Commento)! 2022-01-02 22:09:10 +05:30
Badri Sunderarajan b731a61c0d Adjust subtitle letter spacing for a better Analog look 2021-12-09 19:15:28 +05:30
Badri Sunderarajan f6691c3018 Darken metadata for better readability with Didact Gothic
Because the font really is very thin!
2021-12-09 19:11:43 +05:30
Badri Sunderarajan ccca1670ee Switch back to Didact Gothic ∵ better vibes
Didact Gothic works much better for author names, menus, etc. on
the website so we're sticking to it after all!
2021-12-09 18:58:58 +05:30
Badri Sunderarajan a536fbbbf9 Update font styles to better match Analog
We've reverted to Open Sans because Didact Gothic is a bit point-
less if there's no lowercase; on the other hand Fanwood Text has
remained and is going to make its debut appearance in the print
version!
2021-12-09 18:39:29 +05:30
Badri 0f34b79ec4 Update browser data in caniuse-lite
The command-line told me to do it :P
2021-12-09 17:31:22 +05:30
Badri Sunderarajan 2a0a0af8e1 Add vertical spacing for mathboxes 2021-11-15 13:16:03 +05:30
Badri Sunderarajan 1d7dc0ad38 Implement math-toggles natively into the theme
Adding math toggles to articles now just got a lot simpler.
2021-11-15 12:46:06 +05:30
Badri Sunderarajan 69b42a05bc Add styles for .tile-menu
This is currently used for the "submit" page, but hey, maybe we'll
end up using it elsewhere too since it's now so convenient to
implement.
2021-11-14 16:38:07 +05:30
Badri Sunderarajan 91893bcac5 Style all headings with our heading font
That's Abhaya Libre ExtraBold, but of course it can easily be
changed because you just need to set the `--font-heading` variable!
2021-11-14 16:35:56 +05:30
Badri Sunderarajan e6ae9b83e8 Add .gh-inline class to make fonts work on nested elements
By default, the theme only styles elements (eg. <p>) if they are
directly in the post body: if there's a <p> inside a <div>, for
example, it won't be styled. This is problematic for elements that
need to look like part of the main text, such as mathbox passages
or subscription detail boxes, because we'd have to manually style
each of them to match...

...except we don't because now adding the `.gh-inline` class takes
care of it all! We directly tack on to the `.gh-content` direct
rules, so if that gets updated then ours will too, no further
action needed. Yayy!
2021-11-14 16:33:25 +05:30
Badri Sunderarajan 033a36c35c Add support for extra social icons!
The catch is we will no longer have a secondary footer menu at the
bottom - but hey, we can put the socials there as well ;)
2021-11-07 00:44:24 +05:30
Hippo 68e2208a4b Increase font size for header and footer
Didact Gothic is svalpa small.
2021-11-07 00:43:41 +05:30
Hippo 83334884aa Convert to new theme, WeFlock
Add basic styling, and update the README and package.json. Let's
go, or, should I say, #weflock!
2021-10-30 22:11:08 +05:30
Sodbileg Gansukh c63a07e8df v4.1.1 2021-09-22 15:28:46 +08:00
Sodbileg Gansukh 0e0898d7e9 Fix W3C warning about section lacks heading 2021-09-22 15:26:39 +08:00
Sodbileg Gansukh 2234b14bbd Fix nested main element issue 2021-09-22 15:24:17 +08:00
Sodbileg Gansukh 046d53e885 v4.1.0 2021-07-07 12:16:03 +08:00
Sodbileg Gansukh e49664eca4
Add alt and caption support to feature images (#812)
* Add alt and caption support to feature images

* Add feature image alt support to post card

* Remove three-curlies
2021-07-05 10:59:21 +08:00
Sodbileg Gansukh 21bdffbd8a Fix header element inside header 2021-06-10 13:32:41 +08:00
Leedan ea33b00c0a
Author page: remove span stray end tag (#808) 2021-06-03 10:15:25 +08:00
Sodbileg Gansukh 17c9fe6c55 v4.0.5 2021-05-10 14:21:53 +08:00
Sodbileg Gansukh 5adeaa458b Make the footer stick to bottom
Currently, the footer doesn't stick to the bottom of the viewport when the page content is small. This fixes the issue by making the <main> element fill the remaining space
2021-05-10 14:20:40 +08:00
Sodbileg Gansukh 5013c91f1a Revert "Pin beeper to v2"
This reverts commit f43f6c567f.
2021-05-06 15:48:36 +08:00
Sodbileg Gansukh f43f6c567f Pin beeper to v2
Beeper started requiring ESM syntax from v3, and it caused an error when running development workflow
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module
2021-05-06 12:28:54 +08:00
Sodbileg Gansukh 69feef6c46 Exclude development files from zipped theme 2021-05-05 07:53:10 +08:00
Sodbileg Gansukh 4708987c39 Update signup button Portal link
fixes #791
2021-04-02 14:45:33 +08:00
Sodbileg Gansukh a4eb58f8e7 v4.0.4 2021-04-01 16:18:12 +08:00
Sodbileg Gansukh 5ad96f7c12 Fix post featured image width 2021-04-01 13:20:50 +08:00
Sodbileg Gansukh 6ac55407b3 Break long words
Fixes #788
2021-04-01 13:01:09 +08:00
Sodbileg Gansukh b0e21fe0f7 Improve code block styling 2021-04-01 12:58:41 +08:00
Sodbileg Gansukh 85cd131cf1 v4.0.3 2021-03-29 11:57:50 +08:00
Sodbileg Gansukh 53ff37cf10 Add background color to default profile image
Fixes #785
2021-03-29 11:43:45 +08:00
Sodbileg Gansukh 816e1f608e Make image block element by default
By doing that, any possible future image alignment issues in post content can be prevented
refs #786
2021-03-29 11:34:53 +08:00