Merge commit '14822297bd' as 'themes/tabi-lean'
This commit is contained in:
commit
9475df0914
332 changed files with 25244 additions and 0 deletions
11
themes/tabi-lean/templates/macros/target_attribute.html
Normal file
11
themes/tabi-lean/templates/macros/target_attribute.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% macro target_attribute(new_tab) %}
|
||||
|
||||
{%- set blank_target = "" -%}
|
||||
|
||||
{%- if new_tab -%}
|
||||
{%- set blank_target = "target=_blank" -%}
|
||||
{%- endif -%}
|
||||
|
||||
{{ blank_target }}
|
||||
|
||||
{% endmacro target_attribute %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue