summaryrefslogtreecommitdiff
path: root/_includes/snippets/assign.html
blob: c2691f5cfff6d0f898e487b69fcd6b9196b3e2c1 (plain)
1
2
3
4
5
6
7
8
9
{%- if include.source1 == nil -%}
  {%- if include.source0 == nil -%}
    {%- assign __return = include.target -%}
  {%- else -%}
    {%- assign __return = include.source0 -%}
  {%- endif -%}
{%- else -%}
  {%- assign __return = include.source1 -%}
{%- endif -%}