Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Web
community
Commits
aa59a59d
Commit
aa59a59d
authored
May 24, 2019
by
Antonela
Browse files
homepage: render img based on section_id
parent
9825e82b
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/home.html
View file @
aa59a59d
...
...
@@ -14,7 +14,7 @@
<h2
class=
"card-title "
>
{{ child.title }}
</h2>
<p
class=
"card-text"
>
{{ child.subtitle }}
</p>
<div
class=
"illo-container"
>
<img
src=
"
{{ '
/static/images/home/png/
localization.png'|asseturl }}
"
class=
"img-fluid"
alt=
"{{
_("
Localiza
tion
")
}}"
/>
<img
src=
"/static/images/home/png/
{{ child.section_id }}.png
"
class=
"img-fluid"
alt=
"{{
child.sec
tion }}"
/>
</div>
</div>
<a
href=
"{{ child.path|url }}"
class=
"btn btn-primary"
>
{{ child.cta }}
</a>
...
...
Hiro
🏄
@hiro
mentioned in commit
f759fa9b
·
May 27, 2019
mentioned in commit
f759fa9b
mentioned in commit f759fa9b1abbbd7177ea3b3560f62b7417cf28e9
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment