Commit Graph

451 Commits

Author SHA1 Message Date
Reorx 666e655554 enhance newsletter form default UI 2023-01-27 00:51:04 +08:00
Reorx bfd1c4c880 update default newsletter_sub_form.html 2023-01-27 00:33:09 +08:00
Reorx 08aad5370e enhance subscribe form styling 2023-01-19 18:59:49 +08:00
Reorx bd3529a534 enhance newsletter styles 2023-01-18 00:36:09 +08:00
Reorx d7986e71bf remove twitter:image meta tag
according to https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started,
twitter:image is not needed when og:image appears
2022-09-10 01:44:16 +08:00
Reorx 7a7486c112 fix header logo width inconsistancy 2022-09-09 11:30:32 +08:00
Reorx 886aafac1f inline_links partial
finally find a way to determine whether a section/term page has archives or not
by conquering hugo's faultiness of .RelPermalink
2022-09-08 23:36:35 +08:00
Reorx deb675dace clear debug code 2022-09-08 02:37:44 +08:00
Reorx d9c228117b fix all pages query issues in: list, archives, newsletter section, post_nav_links 2022-09-08 00:25:50 +08:00
Reorx b816797316 rename .list to .list-page 2022-09-07 21:47:14 +08:00
Reorx c33e025fe2 styling newsletter sub form 2022-09-07 16:49:18 +08:00
Reorx ea271b5651 split partial newsletter_brand 2022-09-07 15:37:31 +08:00
Reorx 44533c76bb menu link is active for being the prefix of current url 2022-09-07 12:22:54 +08:00
Reorx 13a2c8742c WIP: newsletter section page and archives page can work 2022-09-07 02:06:21 +08:00
Reorx 8d679ad58d add shortcode tweet-ref for creating tweet reference in footnotes 2022-09-06 01:43:08 +08:00
Reorx 51d922a535 use params.socialAccounts.twitter.username to change twitter meta tag
<meta name=twitter:site> and <meta name=twitter:creator>
2022-09-05 22:55:05 +08:00
Reorx 9d28a0e5f7 add admonition for remark42 2022-06-03 01:21:56 +08:00
Reorx 88b2584d06 add title for comments, enhance styles 2022-06-01 22:03:01 +08:00
Reorx b67d5df2e0 ensure the toggle theme click event listener is only added once 2022-06-01 17:42:42 +08:00
Reorx 07c4add7be refactor toggleThemeCallbacks
- use object instead of array to ensure uniqueness for each callback
- do not use <script data-no-instant> to add callback, they won't be called if the page is not loaded first time;
  instead, try to set the callback each time the page is loaded
2022-06-01 17:15:04 +08:00
Reorx 0aa7a35ee0 add .comment-box class, comment system use id; remove unused comments_script.html 2022-06-01 16:55:45 +08:00
Reorx 82a79a8354 fix ShowToc true but no toc is generated 2022-06-01 16:07:37 +08:00
Reorx 80f443ec36 add mark and .telegram-channel style for home page entry 2022-06-01 00:51:18 +08:00
Reorx 5c47607d23 support specifying comment system in both config and front matter
in config: site.Params.defaultCommentSystems
in front matter: pageCommentSystems
2022-05-31 22:41:10 +08:00
Reorx 81f885a7b9 subtle updates 2022-05-31 22:25:48 +08:00
Reorx 50a832771e remove delegate-js
since it's not actually used, revert this commit if needed again in the futures
2022-05-31 22:25:25 +08:00
Reorx 338bc70774 support remark42 in comments 2022-05-31 00:25:27 +08:00
Reorx 3b964af770 ensure menu item url has / suffix 2022-05-29 21:54:18 +08:00
Reorx 3398b4c6ab support adding `no-zoom` class to img 2022-05-29 17:54:37 +08:00
Reorx c60eaeb535 instantclick: support updating head tags
only for meta and link (not stylesheet) tags
2022-05-28 02:10:33 +08:00
Reorx bf8b09ed0e add telegram_widget.html 2022-05-27 23:41:24 +08:00
Reorx 47a2fc8153 refactor theme toggle; add delegate-it 2022-05-27 23:39:55 +08:00
Reorx 28511efd08 control comment system in partials/comments.html 2022-05-27 21:33:40 +08:00
Reorx 8502ea49d4 add apple-touch-icon in headers 2022-05-25 01:13:27 +08:00
Reorx 3f1e99e8b4 fixup! split page_footer.html from footer.html 2022-05-19 22:41:42 +08:00
Reorx 24749f16d0 reindent footer html 2022-05-19 22:36:23 +08:00
Reorx 5e7c8b51ac split page_footer.html from footer.html
to run scripts only when IsPage == true
2022-05-19 22:32:04 +08:00
Reorx 6159f68a27 allow using Params.Email 2022-05-19 16:38:00 +08:00
Reorx 5c968f59a2 support custom analytics 2022-05-19 16:15:41 +08:00
Reorx ecaf84c7c7 refactor social-quote-tweet and social_links to use social_quote_tweet partial 2022-05-18 14:24:29 +08:00
Reorx 7c253d3fee new shortcode: social-quote-tweet; enhance h2, h3 margin 2022-05-18 13:46:15 +08:00
Reorx c0cb12e100 fix social_links missing twitter.id 2022-05-12 16:26:08 +08:00
Reorx 524fef2551 use small card for twitter when no cover in page 2022-05-09 22:26:45 +08:00
Reorx ff8b16b194 remove shits from opengraph 2022-05-08 22:42:23 +08:00
Reorx 0d2d905e3b rename some image variables; rss default show content 2022-05-08 01:24:38 +08:00
Reorx 4f722e0c6d add site title after title 2022-05-05 18:47:00 +08:00
Reorx 8ab5cf130f fix meta item break into multiple lines 2022-05-05 17:29:31 +08:00
Reorx ba84d6857d add social_links partial 2022-05-05 16:23:55 +08:00
Reorx a41eb685a9 fixup! use noComments to determine comments render 2022-05-05 14:14:39 +08:00
Reorx 998ce46fb6 refine twitter cards 2022-05-05 11:36:20 +08:00