forked from deepStateMirrors/tabi
✨ feat: add raw_path
parameter to image shortcodes (#439)
This commit is contained in:
parent
180fc53384
commit
f8e98afd9d
9 changed files with 18 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
{#- Set paths based on whether the src is remote or local -#}
|
||||
{%- if src is starting_with("http") -%}
|
||||
{%- if src is starting_with("http") or raw_path -%}
|
||||
{%- set image_url = src -%}
|
||||
{%- else -%}
|
||||
{%- set colocated_path = page.colocated_path | default(value="") -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue