Commit Graph
100 Commits
Author SHA1 Message Date
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
Xin 666ad3f79f fix: mermaid should not get loaded on home page 2023-08-17 23:31:04 +01:00
Xin ef92d7d627 docs: add documentations 2023-08-17 23:09:49 +01:00
Xin 824047c3d0 fix: line highlight conflict with line number 2023-08-17 20:02:57 +01:00
Xin f255adcf05 chore: add scripts to package.json 2023-08-16 21:17:34 +00:00
Xin 8325c14414 chore: remove python 2023-08-16 20:50:25 +00:00
Xin b225cfde69 chore: add python to devcontainer.json
Revert "chore: use universal image in devcontainer.json"
This reverts commit 241167e0ef.
2023-08-16 21:42:39 +01:00
Xin 241167e0ef chore: use universal image in devcontainer.json 2023-08-16 20:49:59 +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 87ea9db336 chore: add heroicons v1 icons and update icons
fix: sidebar toc not rendered

chore: update heading template style

chore: update logo and favicon

chore: update favicons

chore: update icons
2023-08-16 20:43:49 +01:00
Xin ed14432f77 refactor: use "sidebar-tree" for entire rendering
chore: update example site content

chore: add configuration for footer

chore: allow disable footer completely

chore: navbar highlights if contains current page

chore: styling update for partial templates

chore: update steps to use markdown delimiter
2023-08-16 20:43:42 +01:00
Xin 7a2cca9181 feat: add multi-language select and fix minor issues
fix: navbar icon should use home relative link

fix: copy code for raw <code> element

fix: missing breadcrumb hover style

fix: tabs typo preventing loading the script
2023-08-16 20:43:28 +01:00
Xin 3d7a4b7c99 refactor: concat built-in js scripts
chore: vendorize katex 0.16.8

chore: vendorize flexsearch 0.7.31

chore: add katex fonts

chore: vendorize mermaid

* add option to disable math globally

chore: fix edit url nil variable

chore: add comments
2023-08-16 20:43:28 +01:00
Xin d66ae7146f fix: remove extra space for rendered link
chore: update theme info

chore: use dataset

chore: support editURL config option

* add toc and search config option

chore: update head template
2023-08-16 20:43:28 +01:00
Xin 03ae8b3dd5 chore: add i18n and update toc 2023-08-16 20:43:19 +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 91fe140c8a feat: add favicons 2023-08-16 20:42:02 +01:00
Xin 750e566d24 feat: allow disable toc on page frontmatter
refactor: move pager to partial/components

chore: add head-css and favicons

- support favicons and page descriptions
- dynamic title based on page
- add custom head-end hook

feat: add opengraph to head

fix: sidebar not hiding when resizing
2023-08-16 20:40:03 +01:00