19 Commits

Author SHA1 Message Date
Xin
68e1e25119 feat: caching for sidebar items from data 2024-04-29 22:36:48 +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
Remy Sheppard
d1bed05843
feat: Back To Top (#105)
* Scroll to top

* Update scripts.html

---------

Co-authored-by: Xin <xin@imfing.com>
2023-10-01 10:06:28 +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
15d3a4da5e feat: implement collapsible sidebar
chore: basic sidebar toggle button
chore: update compiled css
2023-08-20 12:29:55 +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
666ad3f79f fix: mermaid should not get loaded on home page 2023-08-17 23:31:04 +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
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
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
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