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
Lee KIMBER
pelican-alchemy
Commits
905a9671
Commit
905a9671
authored
Jan 06, 2017
by
Raymond Wanyoike
Committed by
GitHub
Jan 06, 2017
Browse files
Merge pull request #56 from rwanyoike/fix-pages-context
Remove PAGES; use pages instead
parents
7a79a67f
d35b4699
Changes
1
Hide whitespace changes
Inline
Side-by-side
alchemy/templates/base.html
View file @
905a9671
...
...
@@ -68,13 +68,13 @@
{% if SITESUBTITLE %}
<p
class=
"text-muted"
>
{{ SITESUBTITLE }}
</p>
{% endif %}
{% if LINKS or (DISPLAY_PAGES_ON_MENU and
PAGES
) or ICONS %}
{% if LINKS or (DISPLAY_PAGES_ON_MENU and
pages
) or ICONS %}
<ul
class=
"list-inline"
>
{% for title, link in LINKS %}
<li
class=
"list-inline-item"
><a
href=
"{{ link }}"
target=
"_blank"
>
{{ title }}
</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU %}
{% for page in
PAGES
%}
{% for page in
pages
%}
{% if LINKS and loop.first %}
<li
class=
"list-inline-item text-muted"
>
|
</li>
{% endif %}
...
...
@@ -82,7 +82,7 @@
{% endfor %}
{% endif %}
{% for icon, link in ICONS %}
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and
PAGES
)) and loop.first %}
{% if (LINKS or (DISPLAY_PAGES_ON_MENU and
pages
)) and loop.first %}
<li
class=
" list-inline-item text-muted"
>
|
</li>
{% endif %}
<li
class=
"list-inline-item"
><a
class=
"fa fa-{{ icon }}"
href=
"{{ link }}"
target=
"_blank"
></a></li>
...
...
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