Skip to content

Commit 6358d92

Browse files
committed
Fixed Liquid error.
1 parent db280b7 commit 6358d92

2 files changed

Lines changed: 24 additions & 20 deletions

File tree

_includes/brand_logo_card.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
{%- assign brand_logo_link = include.link -%}
2+
{%- if brand_logo_link == blank and include.link_root and include.link_path -%}
3+
{%- assign brand_logo_link = include.link_root | append: include.link_path -%}
4+
{%- endif -%}
15
<a
26
class="page-surface-panel brand-logo-card"
3-
href="{{ include.link }}"
7+
href="{{ brand_logo_link }}"
48
{% if include.download %}data-brand-logo-download="true"{% endif %}
59
{% if include.target %} target="{{ include.target }}"{% endif %}
610
{% if include.rel %} rel="{{ include.rel }}"{% elsif include.target %} rel="noopener"{% endif %}>

logo-and-trademark.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ <h3>Logo without text</h3>
7878
<p>The symbol-only Defold logo is available in full-color and monochrome versions for use on dark and light backgrounds.</p>
7979
</div>
8080
<div class="brand-logo-grid">
81-
{% include brand_logo_card.html title="Classic white" description="For dark backgrounds." image="/images/logo/defold/logo/logo-ver-classic-white-160.png" link=logo_svg_root | append: "/logo/logo-ver-classic.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
82-
{% include brand_logo_card.html title="Outline white" description="For dark backgrounds." image="/images/logo/defold/logo/logo-ver-outline-white-160.png" link=logo_svg_root | append: "/logo/logo-ver-outline-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
83-
{% include brand_logo_card.html title="Outline dark" description="For light backgrounds." image="/images/logo/defold/logo/logo-ver-outline-dark-160.png" link=logo_svg_root | append: "/logo/logo-ver-outline-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
81+
{% include brand_logo_card.html title="Classic white" description="For dark backgrounds." image="/images/logo/defold/logo/logo-ver-classic-white-160.png" link_root=logo_svg_root link_path="/logo/logo-ver-classic.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
82+
{% include brand_logo_card.html title="Outline white" description="For dark backgrounds." image="/images/logo/defold/logo/logo-ver-outline-white-160.png" link_root=logo_svg_root link_path="/logo/logo-ver-outline-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
83+
{% include brand_logo_card.html title="Outline dark" description="For light backgrounds." image="/images/logo/defold/logo/logo-ver-outline-dark-160.png" link_root=logo_svg_root link_path="/logo/logo-ver-outline-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
8484
</div>
8585
</section>
8686

@@ -93,20 +93,20 @@ <h3>Logo with Defold text</h3>
9393
<div class="brand-logo-subgroup">
9494
<h4 class="brand-logo-subgroup-title">Vertical lockups</h4>
9595
<div class="brand-logo-grid">
96-
{% include brand_logo_card.html title="Classic dark" description="Vertical, light background." image="/images/logo/defold/logo_with_text/logo-ver-classic-dark-160.png" link=logo_svg_root | append: "/logo_with_text/logo-ver-classic-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
97-
{% include brand_logo_card.html title="Outline dark" description="Vertical, light background." image="/images/logo/defold/logo_with_text/logo-ver-outline-dark-160.png" link=logo_svg_root | append: "/logo_with_text/logo-ver-outline-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
98-
{% include brand_logo_card.html title="Classic white" description="Vertical, dark background." image="/images/logo/defold/logo_with_text/logo-ver-classic-white-160.png" link=logo_svg_root | append: "/logo_with_text/logo-ver-classic-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
99-
{% include brand_logo_card.html title="Outline white" description="Vertical, dark background." image="/images/logo/defold/logo_with_text/logo-ver-outline-white-160.png" link=logo_svg_root | append: "/logo_with_text/logo-ver-outline-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
96+
{% include brand_logo_card.html title="Classic dark" description="Vertical, light background." image="/images/logo/defold/logo_with_text/logo-ver-classic-dark-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-ver-classic-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
97+
{% include brand_logo_card.html title="Outline dark" description="Vertical, light background." image="/images/logo/defold/logo_with_text/logo-ver-outline-dark-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-ver-outline-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
98+
{% include brand_logo_card.html title="Classic white" description="Vertical, dark background." image="/images/logo/defold/logo_with_text/logo-ver-classic-white-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-ver-classic-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
99+
{% include brand_logo_card.html title="Outline white" description="Vertical, dark background." image="/images/logo/defold/logo_with_text/logo-ver-outline-white-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-ver-outline-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
100100
</div>
101101
</div>
102102

103103
<div class="brand-logo-subgroup">
104104
<h4 class="brand-logo-subgroup-title">Horizontal lockups</h4>
105105
<div class="brand-logo-grid">
106-
{% include brand_logo_card.html title="Classic dark" description="Horizontal, light background." image="/images/logo/defold/logo_with_text/logo-hor-classic-dark-160.png" link=logo_svg_root | append: "/logo_with_text/logo-hor-classic-dark.svg" stage="light" download=true %}
107-
{% include brand_logo_card.html title="Outline dark" description="Horizontal, light background." image="/images/logo/defold/logo_with_text/logo-hor-outline-dark-160.png" link=logo_svg_root | append: "/logo_with_text/logo-hor-outline-dark.svg" stage="light" download=true %}
108-
{% include brand_logo_card.html title="Classic white" description="Horizontal, dark background." image="/images/logo/defold/logo_with_text/logo-hor-classic-white-160.png" link=logo_svg_root | append: "/logo_with_text/logo-hor-classic-white.svg" stage="dark" download=true %}
109-
{% include brand_logo_card.html title="Outline white" description="Horizontal, dark background." image="/images/logo/defold/logo_with_text/logo-hor-outline-white-160.png" link=logo_svg_root | append: "/logo_with_text/logo-hor-outline-white.svg" stage="dark" download=true %}
106+
{% include brand_logo_card.html title="Classic dark" description="Horizontal, light background." image="/images/logo/defold/logo_with_text/logo-hor-classic-dark-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-hor-classic-dark.svg" stage="light" download=true %}
107+
{% include brand_logo_card.html title="Outline dark" description="Horizontal, light background." image="/images/logo/defold/logo_with_text/logo-hor-outline-dark-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-hor-outline-dark.svg" stage="light" download=true %}
108+
{% include brand_logo_card.html title="Classic white" description="Horizontal, dark background." image="/images/logo/defold/logo_with_text/logo-hor-classic-white-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-hor-classic-white.svg" stage="dark" download=true %}
109+
{% include brand_logo_card.html title="Outline white" description="Horizontal, dark background." image="/images/logo/defold/logo_with_text/logo-hor-outline-white-160.png" link_root=logo_svg_root link_path="/logo_with_text/logo-hor-outline-white.svg" stage="dark" download=true %}
110110
</div>
111111
</div>
112112
</section>
@@ -120,20 +120,20 @@ <h3>Made with Defold logos</h3>
120120
<div class="brand-logo-subgroup">
121121
<h4 class="brand-logo-subgroup-title">Vertical lockups</h4>
122122
<div class="brand-logo-grid">
123-
{% include brand_logo_card.html title="Classic dark" description="Vertical, light background." image="/images/logo/defold/made_with_defold/logo-ver-classic-dark-160.png" link=logo_svg_root | append: "/made_with_defold/logo-ver-classic-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
124-
{% include brand_logo_card.html title="Outline dark" description="Vertical, light background." image="/images/logo/defold/made_with_defold/logo-ver-outline-dark-160.png" link=logo_svg_root | append: "/made_with_defold/logo-ver-outline-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
125-
{% include brand_logo_card.html title="Classic white" description="Vertical, dark background." image="/images/logo/defold/made_with_defold/logo-ver-classic-white-160.png" link=logo_svg_root | append: "/made_with_defold/logo-ver-classic-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
126-
{% include brand_logo_card.html title="Outline white" description="Vertical, dark background." image="/images/logo/defold/made_with_defold/logo-ver-outline-white-160.png" link=logo_svg_root | append: "/made_with_defold/logo-ver-outline-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
123+
{% include brand_logo_card.html title="Classic dark" description="Vertical, light background." image="/images/logo/defold/made_with_defold/logo-ver-classic-dark-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-ver-classic-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
124+
{% include brand_logo_card.html title="Outline dark" description="Vertical, light background." image="/images/logo/defold/made_with_defold/logo-ver-outline-dark-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-ver-outline-dark.svg" stage="light" stage_class="brand-logo-card-stage-tall" download=true %}
125+
{% include brand_logo_card.html title="Classic white" description="Vertical, dark background." image="/images/logo/defold/made_with_defold/logo-ver-classic-white-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-ver-classic-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
126+
{% include brand_logo_card.html title="Outline white" description="Vertical, dark background." image="/images/logo/defold/made_with_defold/logo-ver-outline-white-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-ver-outline-white.svg" stage="dark" stage_class="brand-logo-card-stage-tall" download=true %}
127127
</div>
128128
</div>
129129

130130
<div class="brand-logo-subgroup">
131131
<h4 class="brand-logo-subgroup-title">Horizontal lockups</h4>
132132
<div class="brand-logo-grid">
133-
{% include brand_logo_card.html title="Classic dark" description="Horizontal, light background." image="/images/logo/defold/made_with_defold/logo-hor-classic-dark-160.png" link=logo_svg_root | append: "/made_with_defold/logo-hor-classic-dark.svg" stage="light" download=true %}
134-
{% include brand_logo_card.html title="Outline dark" description="Horizontal, light background." image="/images/logo/defold/made_with_defold/logo-hor-outline-dark-160.png" link=logo_svg_root | append: "/made_with_defold/logo-hor-outline-dark.svg" stage="light" download=true %}
135-
{% include brand_logo_card.html title="Classic white" description="Horizontal, dark background." image="/images/logo/defold/made_with_defold/logo-hor-classic-white-160.png" link=logo_svg_root | append: "/made_with_defold/logo-hor-classic-white.svg" stage="dark" download=true %}
136-
{% include brand_logo_card.html title="Outline white" description="Horizontal, dark background." image="/images/logo/defold/made_with_defold/logo-hor-outline-white-160.png" link=logo_svg_root | append: "/made_with_defold/logo-hor-outline-white.svg" stage="dark" download=true %}
133+
{% include brand_logo_card.html title="Classic dark" description="Horizontal, light background." image="/images/logo/defold/made_with_defold/logo-hor-classic-dark-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-hor-classic-dark.svg" stage="light" download=true %}
134+
{% include brand_logo_card.html title="Outline dark" description="Horizontal, light background." image="/images/logo/defold/made_with_defold/logo-hor-outline-dark-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-hor-outline-dark.svg" stage="light" download=true %}
135+
{% include brand_logo_card.html title="Classic white" description="Horizontal, dark background." image="/images/logo/defold/made_with_defold/logo-hor-classic-white-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-hor-classic-white.svg" stage="dark" download=true %}
136+
{% include brand_logo_card.html title="Outline white" description="Horizontal, dark background." image="/images/logo/defold/made_with_defold/logo-hor-outline-white-160.png" link_root=logo_svg_root link_path="/made_with_defold/logo-hor-outline-white.svg" stage="dark" download=true %}
137137
</div>
138138
</div>
139139
</section>

0 commit comments

Comments
 (0)