Xin
0da6f97e99
fix: pass in the right page link
2024-04-30 23:03:09 +01:00
Xin
a4bfa2d97e
chore: use utils/title to get title
2024-04-30 23:02:36 +01:00
Xin
55af474f51
chore: update sidebar item list and link class names
2024-04-30 22:42:04 +01:00
Xin
68e1e25119
feat: caching for sidebar items from data
2024-04-29 22:36:48 +01:00
Xin
8c789626be
refactor: move sidebar item styles to css
2024-04-28 23:37:50 +01:00
Xin
a1c7acd6b5
feat: add params page.sidebar.source and page.sidebar.cache
2024-04-14 23:53:53 +01:00
Xin
33f2cf653b
feat: generate sidebar json data for rendering
2024-04-14 11:31:13 +01:00
Xin
63f153999e
chore: basic rendering from data
2024-04-14 11:12:17 +01:00
Xin
c62b1fd401
refactor: make sidebar footer work
2024-04-14 10:23:52 +01:00
Xin
fdfdef69b5
chore: basic structure using new sidebar data
2024-04-05 21:30:24 +01:00
Xin
74fb165358
feat: sidebar util to read data
2024-04-03 22:36:58 +00:00
Xin
d8351aa432
feat: allow enable/disable code block copy button ( #331 )
...
* refactor: move codeblock to a partial component
* feat: add flags for code block copy button
* allow disable code copy button completely
* allow make the copy button always visible
* chore: run build:css
2024-03-28 07:32:51 +00:00
Xin
935ff7f719
feat: add title utility to get page or section title ( #325 )
...
* feat: add title utility to get page or section title
* with graceful fallback to using the directory or filename
* chore: update link titles in breadcrumb, pager, and sidebar
2024-03-19 22:16:10 +00:00
Xin
5c7303bee7
feat: add hx-
prefix to Hextra Tailwind CSS classes ( #300 )
...
* feat: add prefix to tailwind css classes
* fix: remove unnecessary prefixes
* fix: add missing prefix in other places
* chore: regenerate hugo_stats.json
* chore: run `npm run build:css`
* chore: add `hx-` prefix to _index.fa.md
* fix: lang switcher display issue
* fix: add `hx-` prefix to showcase/index.fa.md
* fix: lang switch param mistake
2024-02-20 22:59:31 +00:00
Goudarz Jafari
b1f49c091f
fix: RTL chevron rotation ( #302 )
...
* Fix right-to-left chevron in breadcrumb.html file
* Fix right-to-left chevron in pager.html file
* Update file
2024-02-20 22:27:23 +00:00
Jinuk Im
b7558aca44
feat: support empty prev/next pagination ( #130 )
...
[skip ci]
2023-10-04 20:13:49 +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
c8b1d764e0
chore: add more i18n options and update templates
2023-08-27 17:32:44 +01:00
Xin
228496f262
feat: support prev and next in frontmatter
2023-08-20 19:20:24 +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
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
Xin
ad3c607623
feat: add last updated component
...
chore: option to reverse pagination
chore: reverse pagination for blog entries
- fix space for "by" authors
2023-08-16 20:40:01 +01:00