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
ceede2988a
move .first-entry css to main.css, styling newsletter section
2022-09-07 16:20:55 +08:00
Reorx
ea271b5651
split partial newsletter_brand
2022-09-07 15:37:31 +08:00
Reorx
2f47e7cff8
class name change: main-logo -> main-icon
2022-09-07 15:25:44 +08:00
Reorx
ca373fd003
add type- and kind- classes to body, styling newsletter single and section
2022-09-07 15:19:46 +08:00
Reorx
a016d83663
home page filter pages use "Section in" instead of "Type in"
...
distinguish .Section and .Type
2022-09-07 13:53:15 +08:00
Reorx
62288bcb56
enhance post-footer spacing
2022-09-07 13:47:58 +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
cd0381f6d3
move blogroll style to css file
...
prevent instantclick from ignoring the style
2022-09-07 01:45:22 +08:00
Reorx
3bc70e9a2c
fix hidden is shown in list.html (section page)
2022-09-07 00:38:45 +08:00
Reorx
8bbb2ac5b5
add blogroll type of section page
2022-09-06 22:38:40 +08:00
Reorx
8d679ad58d
add shortcode tweet-ref for creating tweet reference in footnotes
2022-09-06 01:43:08 +08:00
Reorx
a316c983a6
enhance footnotes and sup style
...
- smaller footnotes in a colored box
- highlight anchor of both footnote links and sups
- sups are surrounded with brackets, imitate wikipedia
2022-09-06 00:32:41 +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
0935880bf3
fix markdown image render hook, handle third party image url
2022-09-03 21:36:36 +08:00
Reorx
295396b440
makefile: add new command
2022-09-03 21:35:10 +08:00
Reorx
72ad30a0a0
ci: use extended hugo
2022-09-03 12:20:03 +08:00
Reorx
7f76d0ad1d
ignore resources in exampleSite
2022-09-03 12:01:14 +08:00
Reorx
e25832c080
link config.yml to default; update config.profileMode.yml
2022-09-03 11:58:04 +08:00
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