The big shortcode cleanup
This commit is contained in:
@ -4,13 +4,13 @@
|
||||
|
||||
{%- set rel_attributes = [] -%}
|
||||
{%- if config.markdown.external_links_target_blank -%}
|
||||
{%- set rel_attributes = rel_attributes | concat(with="noopener") -%}
|
||||
{%- set rel_attributes = rel_attributes | concat(with="noopener") -%}
|
||||
{%- endif -%}
|
||||
{%- if config.markdown.external_links_no_follow -%}
|
||||
{%- set rel_attributes = rel_attributes | concat(with="nofollow") -%}
|
||||
{%- set rel_attributes = rel_attributes | concat(with="nofollow") -%}
|
||||
{%- endif -%}
|
||||
{%- if config.markdown.external_links_no_referrer -%}
|
||||
{%- set rel_attributes = rel_attributes | concat(with="noreferrer") -%}
|
||||
{%- set rel_attributes = rel_attributes | concat(with="noreferrer") -%}
|
||||
{%- endif -%}
|
||||
|
||||
{# Return the array of rel attributes joined by a space #}
|
||||
|
Reference in New Issue
Block a user