71 Commits

Author SHA1 Message Date
Xin
363c8c91ee
fix: scroll bug due to incorrect toggle state (#186)
* fix: add mobile menu overlay to toggle body scroll

* chore: update styles
2023-11-03 20:39:36 +00:00
Xin
433beed666
fix: plainify Toc headings (#178) 2023-10-31 23:14:42 +00:00
Xin
e3f6069968
chore: support services.googleAnalytics.ID (#173)
* chore: support `services.googleAnalytics.ID`

and deprecate `site.googleAnalytics`

* chore: remove warning
2023-10-30 23:48:48 +00:00
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
b5ab4ecdcb
chore(i18n): support translation for theme toggle (#152) 2023-10-26 04:02:47 -04: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
Jinuk Im
88b0f1b2ab
fix: broken "edit this page" link in windows (#143) 2023-10-18 22:33:36 +01:00
Jinuk Im
b7558aca44
feat: support empty prev/next pagination (#130)
[skip ci]
2023-10-04 20:13:49 +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
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
Jinuk Im
6a19ac31c0
feat: add giscus support (#92)
* feat: add giscus support #89

* Update comment.html

* Update giscus.html

* Update giscus.html

---------

Co-authored-by: Xin <xin@imfing.com>
2023-09-26 20:47:22 +01:00
Xin
0e9cf1a519
fix: add integrity attribute to styles css preload tag (#83) 2023-09-23 22:42:05 +01:00
Jinuk Im
929578192b
fix: htmlUnescape page description (#71)
- add htmlUnescape
2023-09-21 22:46:08 +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
Remy Sheppard
00d26dee2c
fix: swap navbar logo width and height (#58)
Height/Width swap issue.
2023-09-14 08:17:28 +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
76ac694542
feat: add backdrop blur for nav bar (#53) 2023-09-13 10:02:38 +01: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
c0d15f89e8 chore: proper dev and prod styles handling 2023-08-28 22:32:07 +01:00
Xin
2d62e74e97
fix: missing integrity value in head css (#6) 2023-08-28 20:59:06 +01:00
Xin
a1f2859944 chore: updated page description partial 2023-08-27 23:44:43 +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
97f31e92a7 chore: add displayPlaceholder option to sidebar 2023-08-24 22:29:53 +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
86e5106f6e docs: update docs and footnote styles 2023-08-22 00:48:44 +01:00
Xin
ce78845226 chore: update layouts 2023-08-21 23:37:49 +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
5f6b31310f chore: use max-w-screen-xl for content and footer 2023-08-20 23:02:57 +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
bb6b0631e5 chore: update icon shortcode and partial 2023-08-18 23:18:50 +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
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