168 Commits

Author SHA1 Message Date
Xin
ad3c607623 feat: add last updated component
chore: option to reverse pagination

chore: reverse pagination for blog entries

- fix space for "by" authors
2023-08-16 20:40:01 +01:00
Xin
a7aa9fa1cb feat: add blog list layout
chore: add toc to mobile dropdown menu single items

chore: refactor sidebar

chore: add single layout for blog

chore: add vscode settings

chore: add blog section

chore: add devcontainer.json

chore: exclude icon from mobile nav

chore: support multiple theme switches

- simplify theme switch implementation using data attributes
- hide theme switch when sidebar is disabled

chore: add theme switch to footer

- enable when sidebar is disabled

chore: add format-date partial
2023-08-16 20:40:00 +01:00
Xin
2f34627da3 feat: multi-level sidebar
chore: support multiple search elements

chore: sidebar display toc on mobile view

chore: add hamburger menu to navbar on mobile

chore: add markdown link hook

for opening external link in new window

chore: add sidebar footer

- put search under params.type
- make navbar link aware of external link
2023-08-16 20:39:58 +01:00
Xin
7e37b73779 feat: revamp search experience
chore: hide toc on small screen

chore: make sidebar responsive
2023-08-16 20:39:54 +01:00
Xin
16a656947b feat: basic flexsearch implementation 2023-08-16 20:39:54 +01:00
Xin
b90c2e7737 feat: add detail box and update styles
chore: update 404 page style

chore: update icon

to use global site variable
2023-08-16 20:39:43 +01:00
Xin
b6e0ab0872 feat: add tabs implementation
chore: use filename by default in sidebar
2023-08-16 20:39:42 +01:00
Xin
e71887d00e feat: support mermaid
feat: codeblock highlight

feat: dark mode for highlight

feat: copy button for code block

feat: support katex math rendering
2023-08-16 20:39:41 +01:00
Xin
e99f44319a feat: add theme switcher to support dark mode 2023-08-16 20:39:41 +01:00
Xin
923f794d29 feat: add pager for article navigation in section
chore: minor updates

- reorg language settings
- add icons for cards and steps

chore: update about page

chore: add style to kbd
2023-08-16 20:39:40 +01:00
Xin
8ed4573422 feat: add steps component
chore: rename breadcrumb-delimiter to chevron-right
2023-08-16 20:39:38 +01:00
Xin
080e6cbb7f feat: add toc component 2023-08-16 20:39:38 +01:00
Xin
7ddac19cc1 docs: add cards and callout
chore: minor update to sidebar

chore: add simple translation in Japanese
2023-08-16 20:39:35 +01:00
Xin
ba1257a188 feat: add card shortcodes 2023-08-16 20:39:35 +01:00
Xin
50b1b7db68 feat: add callout shortcode and doc
chore: disable underline for not-prose
2023-08-16 20:39:27 +01:00
Xin
c8eb404fe6 feat: implement common components
feat: implement sidebar

feat: implement footer

feat: implement breadcrumb

chore: add typography styles

chore: add heading anchor link

chore: add postcss-nested
2023-08-16 20:39:01 +01:00
Xin
e0bfaf0467 feat: implement navbar, update styles and docs
chore: add styles to html and body

chore: update theme for tailwind config

chore: update colors

chore: add list layout override for docs

chore: update default layouts

chore: update contents
2023-08-16 20:38:46 +01:00
Xin
3ec2e18870 hugo init
chore: add .gitignore

feat: add hugo configs

chore: initialize npm

feat: add hugo tailwind starter site

chore: add basic taskfile

chore: add README.md

feat: add 404 template

chore: add .prettierrc

chore: update hugo.toml

feat: add icons and icon.html partial
2023-08-16 20:38:01 +01:00