You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zola includes some built in shortcodes for very common functionality (like YouTube), and the documentation says these can be overridden by placing a file with the same name in the templates/shortcodes path.
Current Behavior
I could not get this to work using Zola 0.15.3. If I place a "youtube.html" file in the templates/shortcodes path, Zola serve & build will still use the built-in YouTube shortcode generator.
Step to reproduce
Place a custom "youtube.html" shortcode file in templates/shortcodes
Use the shortcode in some content
Run "zola serve" and notice the custom code is not output
The text was updated successfully, but these errors were encountered:
shadiradio
changed the title
Overriding built-in shortcodes doesn't work on all platforms
Overriding built-in shortcodes doesn't work
Apr 21, 2022
Bug Report
Environment
Zola version: 0.15.3
Expected Behavior
Zola includes some built in shortcodes for very common functionality (like YouTube), and the documentation says these can be overridden by placing a file with the same name in the templates/shortcodes path.
Current Behavior
I could not get this to work using Zola 0.15.3. If I place a "youtube.html" file in the templates/shortcodes path, Zola serve & build will still use the built-in YouTube shortcode generator.
Step to reproduce
The text was updated successfully, but these errors were encountered: