Commit Graph

3 Commits

Author SHA1 Message Date
MioYi Sama
a90429d991 fix(render-image): use page resources for relative images in i18n page bundles (#938)
* fix(layout): Images missing (404) in multilingual (i18n) Page Bundles due to Markdown render hook

* fix(layout): Changed to .PageInner based on PR review to support included shortcodes correctly

* refactor(render-image): simplify i18n page bundle resource lookup

Use single PathUnescape + TrimPrefix expression instead of six
Get attempts; keep same behavior for bundle images and fallback.

* refactor: simplify resource path handling in render-image.html

* Add comment for multilingual permalink handling

Added comment for multilingual permalink resolution in render-image.html

---------

Co-authored-by: Xin <5097752+imfing@users.noreply.github.com>
2026-02-23 22:42:09 +00:00
Xin
e81447e7ae feat(image-zoom): add image zoom functionality and documentation (#907)
* feat(image-zoom): add image zoom functionality and documentation

- Introduced a new `imageZoom` parameter in the configuration to enable click-to-zoom for Markdown images.
- Updated the `render-image.html` layout to support zoom functionality by adding a `data-zoomable` attribute to images.
- Created a new `medium-zoom.html` script to handle the zoom effect, with options for CDN or local asset loading.
- Enhanced documentation in `configuration.md` and `markdown.md` to guide users on enabling and configuring image zoom.

* docs(image-zoom): add image zoom documentation in multiple languages

- Added sections for image zoom functionality in Persian, Japanese, and Simplified Chinese documentation.
- Included configuration examples for enabling and disabling image zoom in specific pages.
- Updated related documentation to ensure consistency across languages.
2026-01-20 22:55:41 +00:00
yuri
a44de285b2 chore: adapt theme to new template system (#696)
* Adapted theme's layout to [Hugo v0.146.0](https://gohugo.io/templates/new-templatesystem-overview/)
* Bumped minimal Hugo version to v0.146.0
2025-06-01 00:25:39 +01:00