Commit Graph
100 Commits
Author SHA1 Message Date
Xin 141e0d8f8c fix(style): remove sidebar item extra padding and gap (#155)
* fix: remove sidebar item extra padding and gap

* chore: run build:css
2023-10-27 14:57:48 +01:00
Xin 2d2e8aec4c fix(style): remove padding for highlighted code (#157)
* fix(style): remove padding for highlighted lines

* chore: run build:css
2023-10-27 14:56:39 +01:00
Xin b5ab4ecdcb chore(i18n): support translation for theme toggle (#152) 2023-10-26 04:02:47 -04:00
Xin cf7b669278 docs: add zh-cn translation for home page (#151)
* i8n: add noResultsFound and clean up zh-cn.yaml

* i8n: add translation for home page

* i18n: translate showcase for zh-cn
2023-10-25 23:32:33 +01:00
Xin 53b688f014 chore(devcontainer): bump hugo to version v0.119.0
[skip ci]
2023-10-25 21:55:40 +01:00
Xin e135f5a6b4 docs: improve icon shortcode documentation (#149) 2023-10-25 20:50:15 +01:00
Xin 97e6945c04 feat: add option to set default theme and hide toggle button (#146)
resolves #135 

Light / dark theme can be configured via:

```yaml
  theme:
    # light | dark | system
    default: system
    displayToggle: true
```
2023-10-21 22:18:04 +01:00
Xin 93cb788e52 feat(search): support different search index types (#145)
* add support for different search index types: `content | summary | heading | title`
* resolves #139
2023-10-21 21:00:39 +01:00
Xin 6cd4c55613 fix: callout styling issue with markdown content (#141) 2023-10-13 00:09:57 +01:00
Xin cb09b7ce1e fix: skip scroll event if no backToTop element (#138) 2023-10-12 23:25:34 +01:00
Xin 28a20e1e7e chore: add code copy button icons in js (#133) 2023-10-07 20:01:19 +01:00
Xin 8aa6439132 feat: support custom primary saturation (#131)
* feat: support custom primary saturation

* chore: run npm run build:css

* docs: update instruction for customizing primary color
2023-10-04 20:41:59 +01:00
Xin 55ff819dae fix: not-prose p tag inconsistent style (#126)
* fix: not-prose p tag should reset styles

* chore: compile CSS
2023-10-03 09:12:30 +01:00
Xin 924d8508d0 fix: footer enable flag logic issue (#125) 2023-10-03 08:51:41 +01:00
Xin 103faa24f3 chore: re-compile CSS 2023-10-01 09:25:02 +00:00
Xin 2df3c563bf fix: use div for copyright container in footer (#104) 2023-09-27 20:40:35 +01:00
Xin ec02eb34fe fix: search shortcut based on user platform (#101)
* fix: search shortcut based on user platform

* chore: make it work with iPad and iPhone as well
2023-09-27 19:47:20 +01:00
Xin 46dea718e6 docs: add giscus comments system (#96)
* chore: rename comment to comments

* docs: add giscus comments

* docs: update
2023-09-26 23:33:27 +01:00
Xin adf5a113fc fix: giscus theme and language display issues (#95)
* chore: minor update giscus template

* fix: theme toggle should select all

* chore: example configs for giscus

* fix: language code in giscus
2023-09-26 22:12:38 +01:00
Xin 3c4ede96df feat: add shortcodes to build Hextra home page (#90)
* feat: add feature grid and card shortcodes

* feat: add markdown content to hextra home

* chore: add button for hextra home

* chore: add heading and subtitle

* chore: finish moving hextra home to shortcodes

* chore: regenerate css

* chore: improve hextra home layout shortcodes

* chore: update css

* chore: decrease button size
2023-09-26 08:15:31 +01:00
Xin 01f7e3a425 docs: add showcase page (#86)
* docs: add showcase page

* chore: update compiled CSS

* chore: add showcase to navbar

* chore: reorder show case on navbar

* chore: update card image style

* chore: update showcase images

* chore: update showcase card image
2023-09-24 15:30:17 +01:00
Xin 79883dc7cc fix: process static image url correctly 2023-09-24 11:03:34 +01:00
Xin b283227046 feat: enhance image resolving (#82)
* feat: enhance image resolving

* chore: don't process image path that begins with relative link

* docs: add instruction for adding images

* chore: update docs

* chore: add filenames to images docs
2023-09-23 23:54:17 +01:00
Xin 0e9cf1a519 fix: add integrity attribute to styles css preload tag (#83) 2023-09-23 22:42:05 +01:00
Xin fdc30c6cd5 fix: card image not displaying correctly (#77)
* fix: use relative URL for card images

* chore: update card image processing

* chore: add width and height for process image

* docs: update cards docs
2023-09-23 19:25:51 +01:00
Xin 3632294706 chore: update list page RSS template (#75)
* chore: update RSS feed template

* chore: use html instead of safeHTML
2023-09-22 23:41:53 +01:00
Xin 4e63aa4f14 feat: add google analytics support (#70)
* feat: support google analytics

* docs: add instruction for setting up ga
2023-09-21 08:03:35 +01:00
Xin b51bfa3177 feat: support wide and full page modes (#69)
* feat: add page width config and partial

* feat: use page-width partial in layouts

* chore: revert changes in navbar and footer

* feat: customize footer width from site config

* chore: update styles

* docs: add page width

* feat: allow overriding navbar width

* fix: navbar width variable

* docs: add instruction for navbar and footer
2023-09-20 23:36:00 +01:00
Xin e9ea9786e9 feat: enhance scrollbar style (#56)
* feat: enhance scrollbar style

* chore: set `color-scheme` for document element
2023-09-14 00:01:38 +01:00
Xin a184cfd41e fix: use relURL only for link starts with slash (#54) 2023-09-13 05:40:00 -04:00
Xin 76ac694542 feat: add backdrop blur for nav bar (#53) 2023-09-13 10:02:38 +01:00
Xin f70ba59ca0 fix: use relative url for card link (#52)
* fix: cards links should not redirect to 404

* docs: update card links

* fix: use relURL for card link
2023-09-13 09:49:01 +01:00
Xin 4a9a2850fc docs: add instruction for using markdown in tabs (#47) 2023-09-13 07:54:44 +01:00
Xin 4553a8eda2 docs: add more instruction for favicon (#44) 2023-09-11 17:15:24 -04:00
Xin 237d890f67 ci: use dynamic repo and username for baseURL 2023-09-10 15:20:17 +01:00
Xin 04e131f93a chore: normalize headings (#42)
* chore: minor update to card component

* chore: normalize headings of blog and single page
2023-09-10 14:54:30 +01:00
Xin 61e41f247b chore: add contributing guide
[skip ci]
2023-09-10 12:07:04 +01:00
Xin 4381f31085 chore: make index page container wider (#30)
* chore: enable footer by default

* chore: make index container wider
2023-09-03 16:12:53 +01:00
Xin 171399889d docs: add instruction to update theme 2023-09-02 16:02:28 +01:00
Xin 3bcdf84ad4 feat: details shortcode (#28)
* feat: details shortcode

* docs: add details shortcode page

* chore: update shortcodes page

* docs: update

* Revert "chore: update shortcodes page"

This reverts commit c005ad4cb15a868ed7552b628fff025c1c5b0700.
2023-09-02 16:01:34 +01:00
Xin 8e8f7f23c9 chore: increase home heading text line height 2023-09-02 00:10:51 +00:00
Xin 5b71912ab2 feat: support markdown for copyright text (#25)
* feat: support markdown for copyright text

* docs: add info about supporting markdown in copyright
2023-09-01 22:38:49 +01:00
Xin 8a4e093f12 fix: toc should display headings as is (#20) 2023-09-01 00:34:50 +01:00
Xin ed14cf01c3 chore: update local dev config
[skip ci]
2023-08-31 20:49:28 +01:00
Xin b709452d16 chore(i18n): improve translations of zh-cn (#14) 2023-08-30 21:35:04 +01:00
Xin b96eb01af3 docs: enchance pages navigation 2023-08-28 22:45:29 +01:00
Xin e1fa9e73d2 chore: replace space with nbsp 2023-08-28 22:32:50 +01:00
Xin c0d15f89e8 chore: proper dev and prod styles handling 2023-08-28 22:32:07 +01:00
Xin 283c7daaf2 chore: add github actions and netlify badges
[skip ci]
2023-08-28 21:47:06 +01:00
Xin 49e1e01c6d chore: add netlify.toml 2023-08-28 21:33:54 +01:00
Xin 2d62e74e97 fix: missing integrity value in head css (#6) 2023-08-28 20:59:06 +01:00
Xin 1a8d881a2e chore: add screenshots
[skip ci]
2023-08-28 00:41:05 +01:00
Xin dd4c09070a chore: update theme meta
[skip ci]
2023-08-28 00:16:38 +01:00
Xin 6727ef01aa fix: [html] does not have [lang] attribute 2023-08-27 23:50:51 +01:00
Xin 0a0202657a fix: urls in site.webmanifest 2023-08-27 23:49:09 +01:00
Xin cc099724a0 fix: add alt to home page images 2023-08-27 23:45:41 +01:00
Xin a1f2859944 chore: updated page description partial 2023-08-27 23:44:43 +01:00
Xin 259b050dfb chore: update README.md
[skip ci]
2023-08-27 20:57:39 +01:00
Xin 5cf72e9764 Update README.md
[skip ci]
2023-08-27 20:51:07 +01:00
Xin 19c95e9bd8 docs: minor update to the features section 2023-08-27 20:00:07 +01:00
Xin 6a2f0766f8 chore: update README.md 2023-08-27 19:50:09 +01:00
Xin 5186f2988e fix: site.webmanifest should use relative url 2023-08-27 19:49:51 +01:00
Xin c8b1d764e0 chore: add more i18n options and update templates 2023-08-27 17:32:44 +01:00
Xin d9c44bc503 docs: add content to about page 2023-08-27 16:20:25 +01:00
Xin 03c8421b99 fix: image urls on home page 2023-08-27 15:58:54 +01:00
Xin a52279446a chore: add feature cards to home page 2023-08-27 15:53:12 +01:00
Xin cef7fc0a11 docs: add instruction for using template repo 2023-08-26 15:36:46 +01:00
Xin ede8991728 fix: card links for getting started page 2023-08-26 15:01:06 +01:00
Xin af77173a35 chore: update build configs 2023-08-26 12:21:02 +01:00
Xin d1bc057c09 chore: update home page 2023-08-26 12:20:39 +01:00
Xin 739178889f chore: add hextra home layout 2023-08-25 01:09:36 +01:00
Xin 35dd9b8e58 fix: icon fill color should be current color 2023-08-25 01:06:02 +01:00
Xin 97f31e92a7 chore: add displayPlaceholder option to sidebar 2023-08-24 22:29:53 +01:00
Xin d14091cd81 chore: update default list layout 2023-08-24 00:36:36 +01:00
Xin 0db055da11 chore: remove taskfile 2023-08-24 00:36:18 +01:00
Xin 4e250a449c chore: update css height calc to use height var 2023-08-24 00:36:10 +01:00
Xin 04a5c7378a feat: add rss template
feat: enhance sidebar on mobile
chore: simplify settings by having defaults
chore: update footer template
2023-08-23 01:00:36 +01:00
Xin 64e27cbc4e docs: update index page
fix(doc): icon file name
2023-08-23 00:57:39 +01:00
Xin 86e5106f6e docs: update docs and footnote styles 2023-08-22 00:48:44 +01:00
Xin 5821b02db2 docs: add customization and update other pages
chore: re-compile css and add icons
chore: update blog list layout
2023-08-21 23:41:37 +01:00
Xin ce78845226 chore: update layouts 2023-08-21 23:37:49 +01:00
Xin 7e302acbba fix: hugo build baseURL 2023-08-21 01:35:55 +01:00
Xin 9b4113ab41 fix: remove configure pages 2023-08-21 01:21:32 +01:00
Xin 600c8e5ea4 ci: add pages.yml 2023-08-21 01:20:00 +01:00
Xin 8073722a0e fix: translation for navbar menu
docs: update docs for multi-language
chore: add custom css support
chore: add social icons
2023-08-21 01:00:52 +01:00
Xin aa1305099d chore: add image example for cards
* updated compiled CSS
2023-08-20 23:09:59 +01:00
Xin 5f6b31310f chore: use max-w-screen-xl for content and footer 2023-08-20 23:02:57 +01:00
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 0360a93e99 feat: add twtter cards to head 2023-08-20 19:25:12 +01:00
Xin 228496f262 feat: support prev and next in frontmatter 2023-08-20 19:20:24 +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 2e11d235e7 chore: rename assets/vendor to lib 2023-08-19 13:32:13 +01:00
Xin 57f298256d feat: add mhchem support 2023-08-19 00:32:10 +01:00
Xin 8298278a42 chore: rename components to shortcodes 2023-08-19 00:16:32 +01:00
Xin bb6b0631e5 chore: update icon shortcode and partial 2023-08-18 23:18:50 +01:00
Xin 2b7b5622aa chore: add inline shortcode icon
* enable `enableInlineShortcodes` in config
* add markdown icon
* update hugo stats json
* clean up mermaid template
2023-08-18 00:16:49 +01:00
Xin 60ac09cd1a chore: minor content and config updates 2023-08-17 23:54:17 +01:00
Xin 66509b2d35 chore: support markdown in filetree/file 2023-08-17 23:53:32 +01:00