2565f372d1
feat: make cards as partial ( #474 )
2024-10-14 23:03:22 +01:00
9173f59392
fix: replace deprecated resources.PostCSS
( #458 )
2024-09-22 22:16:33 +01:00
c70900c25f
feat: add badge shortcode ( #457 )
...
* feat: move badge to a separate partial
* feat: badge shortcode
* docs: add badge shortcode examples
* chore: generate css
* docs: add spaces between badges
2024-09-22 22:12:22 +01:00
2af73b3d7e
feat: shortcode for Jupyter Notebook ( #337 )
...
Deploy Hugo site to Pages / build (push) Waiting to run
Deploy Hugo site to Pages / deploy (push) Blocked by required conditions
* feat: shortcode for Jupyter Notebook
* chore: update generated CSS files
* chore: add example Jupyter Notebook file
* chore: update doc
* chore: enhance jupyter notebook styling
- use raw markdown for contents like code block and markdown text
* feat: support load notebook from assets and remote
- update docs accordingly
- add example notebook file
* chore: rename example file
2024-09-14 14:29:55 +01:00
2863a3a029
fix: remove deprecated site.GoogleAnalytics ( #438 )
...
Deploy Hugo site to Pages / build (push) Waiting to run
Deploy Hugo site to Pages / deploy (push) Blocked by required conditions
* fix: remove deprecated site.GoogleAnalytics
* ci: bump netlify Hugo version
2024-08-18 14:41:40 +01:00
852a07b15e
fix: remove deprecated google analytics reference in head.html ( #435 )
...
ERROR deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.133.0. Use .Site.Config.Services.GoogleAnalytics.ID instead.
2024-08-18 12:31:50 +01:00
e83c11f31a
chore: improve tags styling on card ( #431 )
...
Deploy Hugo site to Pages / build (push) Has been cancelled
Deploy Hugo site to Pages / deploy (push) Has been cancelled
* chore: improve tags styling on card
* chore: npm run build:css
2024-08-11 18:47:03 +01:00
f439e6bb87
feat: add tag support for card shortcode ( #427 )
...
* styles: accept tags on cards with default and custom colors
* styles: compile css
2024-08-11 17:30:19 +01:00
3cba6b9820
feat: add support for breadcrumbs
param in front matter for showing/hiding breadcrumbs on specific pages ( #367 )
...
* feat: add support for `hideBreadcrumbs` front-matter param
* docs(en): add some docs about breadcrumb nav, including new hideBreadcrumbs param
* fix: fix typo in hideBreadcrumbs param check in breadcrumbs.html partial
* docs(en): tidy up the Breadcrumb Navigation documentation
* fix: rework hideBreadcrumbs param to breadcrumbs; update docs accordingly
* fix: use relpermalink in breadcrumb
---------
Co-authored-by: Xin <xin@imfing.com >
2024-06-02 11:01:06 +01:00
b2bc4f7098
fix: use hugo.IsMultilingual
to replace deprecated .Site.IsMultiLingual
( #404 )
2024-05-29 09:11:25 +01:00
bf38320797
chore: 2023 -> 2024
2024-04-17 21:36:25 +00:00
6d4bbac085
feat: support sort blog post list page ( #348 )
2024-04-02 08:52:26 +01:00
9f2b67c08c
feat: pdf shortcode (unstable) ( #345 )
2024-04-01 15:55:11 +01:00
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
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
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
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
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
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
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
ff8f2537ca
fix: accurate editURL
resolution in translated sites ( #264 )
2024-01-21 10:33:49 +00:00
728fe21ef1
chore: add canonical URL to head template ( #261 )
2024-01-19 21:56:21 +00:00
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
aad68d8afd
chore(style): better footer logo alignment ( #212 )
2023-11-18 15:31:30 +00:00
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
64ac97b2d6
feat: allow overriding poweredBy in footer ( #207 )
2023-11-17 02:03:40 +00:00
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
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
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
4ea18168e3
fix: correctly set editURL in front-matter ( #195 )
2023-11-10 22:03:08 +00:00
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
678f0b86ee
fix: htmlUnescape toc title ( #190 )
2023-11-05 10:26:00 +00:00
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
433beed666
fix: plainify Toc headings ( #178 )
2023-10-31 23:14:42 +00:00
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
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
b5ab4ecdcb
chore(i18n): support translation for theme toggle ( #152 )
2023-10-26 04:02:47 -04:00
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
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
88b0f1b2ab
fix: broken "edit this page" link in windows ( #143 )
2023-10-18 22:33:36 +01:00
b7558aca44
feat: support empty prev/next pagination ( #130 )
...
[skip ci]
2023-10-04 20:13:49 +01:00
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
2df3c563bf
fix: use div for copyright container in footer ( #104 )
2023-09-27 20:40:35 +01:00
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
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
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
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
0e9cf1a519
fix: add integrity attribute to styles css preload tag ( #83 )
2023-09-23 22:42:05 +01:00
929578192b
fix: htmlUnescape page description ( #71 )
...
- add htmlUnescape
2023-09-21 22:46:08 +01:00
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