Reorx
cb70e9f2d0
split example configs
2022-09-03 11:26:38 +08:00
Reorx
d88771adee
use height instead of max-height to control img size on parent div
...
this change happens on both image-size-control and figure-img-size
2022-08-11 01:18:18 +08:00
Reorx
61452c190b
add figure-img-size shortcode
...
for controlling image size with <figure>
2022-07-01 11:47:10 +08:00
Reorx
3eaeb0f6c7
add margin-bottom for social-quote in post-content
2022-07-01 11:46:36 +08:00
Reorx
9d28a0e5f7
add admonition for remark42
2022-06-03 01:21:56 +08:00
Reorx
c9528396a1
enlarge li, li p gaps
2022-06-02 12:03:10 +08:00
Reorx
a2a26eb189
update render-image to support video embed
...
just like embed an image, use ![](/path/to/video.mov)
2022-06-02 11:44:11 +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
66447d9a38
move .image-size-control to main.css
2022-06-01 16:54:11 +08:00
Reorx
6ec8c5a797
exampleSite: add umami analytics
2022-06-01 16:39:49 +08:00
Reorx
426cfffb3b
exampleSite: unpin old articles
2022-06-01 16:37:42 +08:00
Reorx
4a545c4783
exampleSite: refactor config
2022-06-01 16:37:42 +08:00
Reorx
744a17a575
exampleSite: reformat config
2022-06-01 16:29:54 +08:00
Reorx
375281fd60
fix shortcodes rendering markdown img
...
replace markdownify with .Page.RenderString, the latter trigger render hook properly
see: https://gohugo.io/functions/markdownify/#readout
> Note: if you need Render Hooks, which markdownify doesn’t currently support, use .RenderString instead.
2022-06-01 16:21:06 +08:00
Reorx
82a79a8354
fix ShowToc true but no toc is generated
2022-06-01 16:07:37 +08:00
Reorx
ef40815528
remove .telegram-channel
...
define in custom css
2022-06-01 00:59:31 +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
1efab6714a
make rss page query the same as list.html
2022-05-31 00:43:13 +08:00
Reorx
338bc70774
support remark42 in comments
2022-05-31 00:25:27 +08:00
Reorx
f79aa51e05
optimize post cover image rendering
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
Seth For Privacy
b562454b3e
Add "[Pinned]" text after title when a post is pinned using `weight`
...
Also updates "draft" to "Draft" to properly capitalize the word (IMO).
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
0d1dec9d55
add instantclick source code
2022-05-28 00:33:16 +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
9f8b0c3194
use max-width, max-height for image-size-control
2022-05-27 20:33:17 +08:00
Reorx
b215127186
add figure-img shortcode
2022-05-27 01:24:34 +08:00
Reorx
8502ea49d4
add apple-touch-icon in headers
2022-05-25 01:13:27 +08:00
Reorx
b945432d87
add simple icons for linkedi, youtube, facebook
2022-05-23 21:58:27 +08:00
Reorx
9e54118235
warn if image is not found
2022-05-20 23:04:58 +08:00
Reorx
228cf0d83f
use RelPermalink for markdown images
2022-05-20 18:19:35 +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
84ac59ce9d
remove home page all language support that may cause trouble
...
it can cause the search page to have a redundant result for each page
2022-05-19 18:57:42 +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
570601c2a7
code block style enhance and toc a padding
2022-05-15 23:40:53 +08:00
Reorx
ff878743de
set post-content font size from 16 to 17
2022-05-15 23:40:06 +08:00