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
5080877576
feat: configurable cols for feature-grid shortcode ( #342 )
...
* feat: configurable cols for feature-grid shortcode
* chore: update css files
* chore: add hextra prefix to cards css var
* chore: rebuild css
2024-03-31 22:06:26 +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
a5b59b61f1
fix: indented callouts rendered incorrectly ( #338 )
2024-03-30 17:26:40 +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
Xin
29e70c8b21
fix: code copy button is invisible when hover ( #323 )
...
* fix: code copy button is invisible when hover
* chore: update hugo_stats.json file
2024-03-18 18:37:47 +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
Goudarz Jafari
9995617c66
docs(i18n): add Persian translation and support rtl languageDirection
( #301 )
...
* feat: add persian translation
* Add Persian translation
* Add fa support, languageDirection method in hugo.yaml
* Add languageDirection method
* Update hugo.yaml
* Update baseof.html
2024-02-19 21:40:50 +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
27c976bcc1
feat: display author avatar images in blog post ( #204 )
...
* feat: support displaying author images in blog post
* chore: fix typo
* chore: run build:css
* refactor: support both plain author list
* chore: run build:css
* chore: add support for local avatar images
* chore: update css classes
2023-11-17 01:49:18 +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
c2d7ba8ce5
fix: code copy issue for code blocks in shortcode ( #201 )
...
* chore: add translation key for copy code button title
* chore: remove id from code block elements
* fix: copy the correct code target in code-copy.js
* chore: update details.md
* chore: remove console.log :)
* chore: remove `$` in shell commands
* chore: update docs
2023-11-12 01:14:39 +00:00
Xin
8801a04ebe
feat: add include
shortcode ( #198 )
2023-11-11 00:10:32 +00:00
Xin
21b0acdec5
chore: improve cards compatibility with steps ( #197 )
2023-11-10 23:45:42 +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
7c902b4eb9
chore(style): enhance not-prose elements styling ( #163 )
...
* chore(css): improve not-prose tags styling
* fix: typo
* chore(style): improve appearance in prose
* feat: support icon in callout shortcode
* chore: add RSS badge to blog list page
* chore: run build:css
* chore: run build:css
* chore: remove unused CSS
* chore: add footer.enable explicitly to config
* chore: use `where` pseudo class for more prose elements
* chore: run build:css
* chore: remove blank space
* chore: rebuild css
* chore: update figure css
2023-10-29 15:19:31 +00:00
Xin
9744b4d727
feat: option to show tags for blog list ( #161 )
...
* feat: option to show tags for blog list
* chore: update hugo_stats.json
2023-10-28 15:56:58 +01: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
LLL
ae01ac08b6
feat: improve Cards link behaviour ( #153 )
...
* clickable feature-card when a link is provided
* unclickable card when no link is provided
---------
Co-authored-by: Xin <xin@imfing.com>
2023-10-26 23:13:24 +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
e42d01898a
fix: add missing translations ( #142 )
...
* fix: add missing translation in blog list
* fix: add translatable variables
* Update en.yaml
---------
Co-authored-by: Xin <xin@imfing.com>
2023-10-16 13:30:31 +01:00
Xin
6cd4c55613
fix: callout styling issue with markdown content ( #141 )
2023-10-13 00:09:57 +01:00
Xin
28a20e1e7e
chore: add code copy button icons in js ( #133 )
2023-10-07 20:01:19 +01:00
Jinuk Im
b7558aca44
feat: support empty prev/next pagination ( #130 )
...
[skip ci]
2023-10-04 20:13:49 +01:00
Xin
924d8508d0
fix: footer enable flag logic issue ( #125 )
2023-10-03 08:51:41 +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