Commit graph

56 commits

Author SHA1 Message Date
leafee98 acba79eebc fix: failed to import copy-codeblock.js when different baseURL 2024-07-08 17:52:02 +08:00
leafee98 a1aec229c5 add copy button, adjust codeblock style, close #2 2024-07-08 17:38:26 +08:00
leafee98 36c140b28c latex only render post content, other than the whole body 2024-01-23 21:09:18 +08:00
leafee98 d647841898 examplesite: add breaklines to latex-support 2024-01-19 18:18:43 +08:00
leafee98 9aebccb590 properly use archetypes, add descriptions at front matter 2023-09-11 14:48:02 +08:00
leafee98 5aec7ac354 show description of posts in index page, or summary if no description 2023-09-11 14:34:59 +08:00
leafee98 ad98c7238d narrowing the page, max-width from 1320px to 1140 2023-07-06 15:24:10 +08:00
leafee98 dbf5a656c2 use <nav> in header 2023-07-06 15:15:04 +08:00
leafee98 e4e2844c3e add tags for SEO 2023-06-29 22:22:37 +08:00
leafee98 97c892077a update images 2023-05-28 22:30:32 +08:00
leafee98 6ac660eee2 refactor color, set paginate to 4 to show the pager
- Modify color of dark theme, so it will darker and less warm.
- Remove the color `--color-fav-x` and replace with colors those
  defined in dark or light
- set paginate to 4 to show the pager in example site.
2023-05-28 22:09:18 +08:00
leafee98 99ca8932e1 remove useless css variable color 2023-05-28 13:56:42 +08:00
leafee98 dca44e659f update README 2023-05-28 13:51:40 +08:00
leafee98 37de87ec41 update bottom banner theme repository URL 2023-04-07 11:06:14 +08:00
leafee98 7a9c80595f update README and theme.toml 2023-03-17 21:06:40 +08:00
leafee98 2edfe53c29 update READEME and images 2023-03-17 20:58:58 +08:00
leafee98 5fd2d18048 Side card "recent" is clickable to post/essay list 2023-03-17 20:28:38 +08:00
leafee98 0547c3d73d Respect browser's prefered color scheme now
- Use gruvbox highlight theme when dark
2023-03-15 17:58:49 +08:00
leafee98 10441a59a8 Fix: limit the max width of image in content, new essay
Fix the appear of image in content so it wouldn't overflow the content
card.

Note that the inline image cannot be displayed in the same line as text,
because the image is centered by display:block and set margin-x as auto.
2023-01-24 21:26:35 +08:00
leafee98 fcfd69e10e Ref: change fonts 2023-01-24 17:20:30 +08:00
leafee98 7dec5ad2cd Ref: use 1.5 line-height for single page content 2023-01-23 19:43:49 +08:00
leafee98 23149c6547 Fix: wrong usage of group selector 2023-01-23 15:20:36 +08:00
leafee98 ad3d615738 Fix: style of code in ul and li 2023-01-23 15:20:36 +08:00
leafee98 b591e1e2c0 Modify demo site's content: latex-support.md 2022-11-14 22:15:52 +08:00
leafee98 c40f6af959 Remove config for github pages since deployed by actions 2022-11-14 22:11:27 +08:00
Leafee 2824974ffa
Fix workflow
Miss a backslash after command
2022-11-14 22:07:37 +08:00
Leafee d11dd64eef
Fix workflow
Hugo changed its release binaries' name since v0.103.0
2022-11-14 22:05:38 +08:00
Leafee d2c54452d8
Use GitHub actions to build demo site 2022-11-14 21:58:08 +08:00
leafee98 7bf8488165 modify post latex-support 2022-09-20 10:51:30 +08:00
leafee98 4a4f832aec add LaTeX support 2022-09-20 10:41:42 +08:00
leafee98 9a0dd8b179 add license, theme.toml 2022-09-04 19:45:50 +08:00
leafee98 1fdfa26364 add screenshots 2022-09-04 19:31:06 +08:00
leafee98 7c400e3412 fix: wrong usage of relURL 2022-09-04 19:11:04 +08:00
leafee98 0e48c7d586 add config for github pages 2022-09-04 19:00:58 +08:00
leafee98 985756dd02 fix: error parsing host as site_id in remark42 2022-07-21 19:20:16 +08:00
leafee98 a71e469a23 fix: 'with' with a logic 'and', child variable evaluated 2022-05-18 22:44:17 +08:00
leafee98 0ce04d50c7 RSS of each section are always shown
the "Feed Of ALL" is removed and "Feed Of 'Section'" is always shown
2022-05-18 21:29:55 +08:00
leafee98 e2ca0c5332 toggle comments at front matter
Whether the comment show up was determined by if the page is under
mainSection, now it's determined by front matter and config.toml
2022-05-18 21:27:06 +08:00
leafee98 836128c866 _index.md's content is shown at list page 2022-05-18 19:45:04 +08:00
leafee98 23e6e10f43 wirte README to describe multi-section support 2022-05-18 14:14:53 +08:00
leafee98 e526a8d6ca allow whole site for spider at robots.txt 2022-05-18 13:51:15 +08:00
leafee98 5b7390b5c2 add multi-section support 2022-05-18 13:50:07 +08:00
leafee98 c078c22ea3 adjust template of taxonomy and term 2022-05-18 13:45:20 +08:00
leafee98 4c7fe1a56b use .Section other than .Title to get section name 2022-05-18 11:13:01 +08:00
leafee98 715a82f5ac multi RSS hyperlink base on section and taxonomy 2022-05-16 20:41:20 +08:00
leafee98 b343bac3f9 handle all manually wirte URL with relURL 2022-05-16 18:46:25 +08:00
leafee98 babe8865cb add RSS icon following feed hyperlink 2022-05-16 18:38:33 +08:00
leafee98 6526292b08 remove first row from footer 2022-05-16 18:37:34 +08:00
leafee98 473eefc015 output full content to RSS 2022-05-13 21:29:12 +08:00
leafee98 b46d6da8ba add feed support, place the hyperlink at footer 2022-05-13 20:12:07 +08:00