71 Commits

Author SHA1 Message Date
Xin
b6f40d6114 feat: add subtitle and image support to card 2023-08-20 21:31:51 +01:00
Xin
80659b4933 feat: navbar logo and title can be configured
chore: add logos to static and update compiled css
2023-08-20 20:34:01 +01:00
Xin
15d3a4da5e feat: implement collapsible sidebar
chore: basic sidebar toggle button
chore: update compiled css
2023-08-20 12:29:55 +01:00
Xin
1c7962494d feat: add more content and fix issues
fix: hide lang switch if site is not multilingual

docs: update getting started page

fix: ordered list style

chore: update hugo icon

feat: add icon shortcode page

docs: add markdown and configuration pages

docs: add diagrams page

docs: add more content

fix: mermaid background and add image styling

chore: update templates

chore: update hugo stats
2023-08-20 00:41:26 +01:00
Xin
824047c3d0 fix: line highlight conflict with line number 2023-08-17 20:02:57 +01:00
Xin
81e9f289f9 chore: compile css and update docs
chore: replace --debug with --logLevel debug

chore: add copyright text
2023-08-16 20:44:42 +01:00
Xin
9f785a8c37 fix: mobile nav hamburger menu transform 2023-08-16 20:44:39 +01:00
Xin
db8374a724 feat: add filetree component for shortcode
chore: update tailwind config and move hugo_stats
2023-08-16 20:44:21 +01:00
Xin
52931107a3 chore: move content to exampleSite
* update dev and build command

chore: move contents to exampleSite

chore: add configs to exampleSite

chore: use tailwindcss/nesting

* add postcss-import
* move imports to the top

chore: add config for theme dev

chore: add compiled css

chore: fix last updated issue

chore: dont't ignore hugo_stats.json

chore: update index page layout
2023-08-16 20:42:32 +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
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
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
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