mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Merge pull request #2210 from espressif/fix/add_default_figure_shortcode_as_partial
🐛 fix: add default figure shortcode as partial
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
|
||||
{{ if .Get "default" }}
|
||||
{{ partial "shortcodes/figure.html" . }}
|
||||
{{ partial "hugo-embedded/shortcodes/figure-default.html" . }}
|
||||
{{ else }}
|
||||
{{- $url := urls.Parse (.Get "src") }}
|
||||
{{- $altText := .Get "alt" }}
|
||||
|
||||
Reference in New Issue
Block a user