We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38410b commit 3b1a89eCopy full SHA for 3b1a89e
1 file changed
{{ cookiecutter.repo_directory }}/es/index.html
@@ -108,7 +108,14 @@
108
109
{%- if cookiecutter.banner.links is defined and cookiecutter.banner.links %}
110
<div class="hero-panel-cta">
111
- {%- for link in cookiecutter.banner.links %}
+ {%- set banner_links = cookiecutter.i18n.es.banner.links
112
+ if cookiecutter.i18n is defined
113
+ and cookiecutter.i18n.es is defined
114
+ and cookiecutter.i18n.es.banner is defined
115
+ and cookiecutter.i18n.es.banner.links is defined
116
+ else cookiecutter.banner.links %}
117
+
118
+ {%- for link in banner_links %}
119
<a class="btn {{ link.style }} btn-lg"
120
href="{{ link.url }}"
121
{{ 'target="_blank"' if link.new_window else '' }}
0 commit comments