Xin
9e7b13a0da
chore: add experimental flag for hiding sidebar
2024-05-01 00:02:05 +01:00
Xin
66489e5274
chore: use index as fallback option
2024-04-30 23:56:57 +01:00
Xin
2004648076
fix: class name in render-data
2024-04-30 23:54:06 +01:00
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
b91cc79674
Merge remote-tracking branch 'origin/main' into sidebar-data-source
2024-04-30 08:58:06 +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
bf38320797
chore: 2023 -> 2024
2024-04-17 21:36:25 +00:00
Xin
a1c7acd6b5
feat: add params page.sidebar.source and page.sidebar.cache
2024-04-14 23:53:53 +01:00
Xin
e444156bb9
refactor: add back mobile and footer for sidebar
2024-04-14 12:28:39 +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
462cc5b68d
chore: add new sidebar template
2024-04-04 21:57:17 +00:00
Xin
74fb165358
feat: sidebar util to read data
2024-04-03 22:36:58 +00:00
Xin
6d4bbac085
feat: support sort blog post list page ( #348 )
2024-04-02 08:52:26 +01:00
Xin
9f2b67c08c
feat: pdf shortcode (unstable) ( #345 )
2024-04-01 15:55:11 +01:00
Xin
24fb13b221
refactor: extract card shortcode to partial ( #339 )
...
* refactor: extract card shortcode to partial
* chore: update hugo stats
2024-03-31 11:06:47 +01: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
Goudarz Jafari
22d4737b99
fix: RTL Steps
FileTree
, feat: Add Persian number for ol
label counter and Steps ( #314 )
...
* fix: RTL Steps in steps.html file
* feat: Add bidirectional support
* fix: RTL problem
* fix: RTL problem, feat: Add Persian CSS counter
* feat: Add Persian for ol counter
* fix: styling text
* Add ol output example
* fix: RTL problem
* fix some issue
* fix some issue
* fix some issue
2024-03-05 07:47:29 +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
mafendi
cb274c8ac5
feat: add canonical to head.html ( #269 )
...
By adding `canonical` parameter to the front matter and specifying the URL, the canonical URL is added.
If no canonical URL is needed to be specified, the layout will use the current page address for canonical tag.
Example:
```
---
title: "Page Title"
description: "Page description"
canonical: "https://canonicalurl.com "
---
2024-02-01 22:52:41 +00:00
Xin
ff8f2537ca
fix: accurate editURL
resolution in translated sites ( #264 )
2024-01-21 10:33:49 +00:00
David Legrand
728fe21ef1
chore: add canonical URL to head template ( #261 )
2024-01-19 21:56:21 +00:00
verbumfeit
f5e4283961
chore: add rel="me" attribute to Mastodon navbar icon ( #243 )
...
* Add rel="me" attribute to Mastodon navbar icon
The rel="me" attribute enables verified links on the linked Mastodon profile
* Set $rel based on icon name
2024-01-08 18:25:54 +00:00
c2tz
aad68d8afd
chore(style): better footer logo alignment ( #212 )
2023-11-18 15:31:30 +00:00
Xin
d58a8b5469
feat: exclude page from sidebar ( #209 )
...
* feat: allow excluding page from sidebar
* chore: tidy up
* docs: add instruction for excluding a page from sidebar
* feat: allow hiding sidebar for pages
* chore: add comment
2023-11-17 23:00:05 +00:00
Xin
64ac97b2d6
feat: allow overriding poweredBy in footer ( #207 )
2023-11-17 02:03:40 +00:00
Xin
d675d3bc7b
feat: support separator in sidebar ( #199 )
...
* feat: support adding pages as separator for sidebar
* Update sidebar.html
2023-11-12 14:03:30 +00:00
xiln7
456c96921a
typo: fix typos in sidebar.html ( #203 )
...
@OliverWu515 finds this issue, I help pr this. Hope it helps. The theme helps a lot for our org to build our documents. We found this issue when we use it.
2023-11-12 13:47:20 +00:00
Xin
c0a1bc32dd
fix: ensure relref in search index is properly rendered ( #196 )
...
* fix: ensure relref in search index is properly rendered
* chore: remove empty whitespace
2023-11-10 22:21:54 +00:00
Xin
4ea18168e3
fix: correctly set editURL in front-matter ( #195 )
2023-11-10 22:03:08 +00:00
Xin
23c84e124c
fix: navbar url for multi-lang site ( #193 )
...
* fix: image URL in feature card
* fix: use relLangURL of pageRef for navbar entries
2023-11-10 17:45:44 +00:00
Xin
678f0b86ee
fix: htmlUnescape toc title ( #190 )
2023-11-05 10:26:00 +00:00
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