Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@welpo
Copy link
Owner

@welpo welpo commented Nov 27, 2024

Summary

Adds raw_path to all image shortcodes. If set to true, the src parameter will be used as is. Useful for colocated assets with a custom slug (see Zola issue #2598).

Related issue

Resolves #436. Zola issue: getzola/zola#2598

Type of change

  • Bug fix (fixes an issue without altering functionality)
  • New feature (adds non-breaking functionality)
  • Breaking change (alters existing functionality)
  • UI/UX improvement (enhances user interface without altering functionality)
  • Refactor (improves code quality without altering functionality)
  • Documentation update
  • Other (please describe below)

Checklist

  • I have verified the accessibility of my changes
  • I have tested all possible scenarios for this change
  • I have updated theme.toml with a sane default for the feature
  • I have made corresponding changes to the documentation:
    • Updated config.toml comments
    • Updated theme.toml comments
    • Updated "Mastering tabi" post in English
    • (Optional) Updated "Mastering tabi" post in Spanish
    • (Optional) Updated "Mastering tabi" post in Catalan

@netlify
Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for tabi-demo ready!

Name Link
🔨 Latest commit c9e8966
🔍 Latest deploy log https://app.netlify.com/sites/tabi-demo/deploys/6747823cd5ce430009773805
😎 Deploy Preview https://deploy-preview-439--tabi-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@welpo welpo force-pushed the feat/img-shortcode-raw_path branch from 6aa78ce to c9e8966 Compare November 27, 2024 20:34
@welpo welpo merged commit f8e98af into main Nov 27, 2024
8 checks passed
@welpo welpo deleted the feat/img-shortcode-raw_path branch November 27, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

image related shortcodes don't work when page folders are prefixed with dates

2 participants