Skip to content
GitLab
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
Donate Static
Commits
d118c85c
Commit
d118c85c
authored
Feb 11, 2019
by
Hiro
🏄
Browse files
Use footer menu
parent
18258ecc
Changes
4
Hide whitespace changes
Inline
Side-by-side
databags/menu_footer+en.ini
0 → 100644
View file @
d118c85c
[jobs]
path
=
/about/jobs
label
=
Jobs
[blog]
path
=
https://blog.torproject.org
label
=
Blog
[contact]
path
=
/contact
label
=
Contact
[press]
path
=
/press
label
=
Press
databags/menu_footer+es.ini
0 → 100644
View file @
d118c85c
[jobs]
path
=
/about/jobs
label
=
Jobs
[blog]
path
=
https://blog.torproject.org
label
=
Blog
[contact]
path
=
/contact
label
=
Contact
[press]
path
=
/press
label
=
Press
databags/menu_footer+fr.ini
0 → 100644
View file @
d118c85c
[jobs]
path
=
/about/jobs
label
=
Jobs
[blog]
path
=
https://blog.torproject.org
label
=
Blog
[contact]
path
=
/contact
label
=
Contact
[press]
path
=
/press
label
=
Press
templates/footer.html
View file @
d118c85c
...
...
@@ -23,7 +23,7 @@
</div>
<div
class=
"col-sm-2 mt-5 d-none d-sm-block"
>
<ul
class=
"nav flex-column mt-sm-5"
>
{% set menubag = 'menu+' + this.alt %}
{% set menubag = 'menu
_footer
+' + this.alt %}
{% for id, item in bag(menubag).items() %}
<li
{%
if
this.is_child_of
(
item.path
)
%}
class=
"nav-item active"
{%
else
%}
class=
"nav-item"
{%
endif
%}
>
<a
class=
"nav-link text-light"
href=
"{{ item.path }}"
>
{{ item.label }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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