Xin
1b2855fca6
Merge 9e7b13a0dae76dab674c7ee76f5d1977d77f00a3 into 66d2bf57ba71c5e79b20e23e1e76687a5dfbdf91
2024-08-21 12:16:09 -03:00
Xin
526be88d7b
fix: tabs styling in steps shortcode ( #440 )
...
* fix: tabs styling in steps shortcode
* docs: add notes for intended usage
2024-08-18 15:38:06 +01:00
Xin
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
Erik Skopp
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
Xin
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
Julia March
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
Xin
e3b582676e
fix: properly handle tabs overflow ( #422 )
...
Deploy Hugo site to Pages / build (push) Has been cancelled
Deploy Hugo site to Pages / deploy (push) Has been cancelled
* fix: properly handle tabs overflow
* chore: rebuild css
2024-07-10 01:11:51 +01:00
George Gecewicz
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
Andreas Deininger
b2bc4f7098
fix: use hugo.IsMultilingual
to replace deprecated .Site.IsMultiLingual
( #404 )
2024-05-29 09:11:25 +01:00
Floren Munteanu
d43ac66494
feat: add hextra hero-container shortcode ( #389 )
...
* Implement hextra hero-container
* Fix width
* Fix width
* Fix width
* Set number of columns
* Fix display for mobile devices
* Trim image prefix
* Implement image card
* Fix width
* Fix css
2024-05-23 23:36:46 +01:00
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
Robb Shecter
be7e0d3f40
fix: js scripts not in body element ( #356 )
2024-04-11 14:54:59 +02: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