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
gitoyen
site
Commits
96634825
Verified
Commit
96634825
authored
Jan 12, 2017
by
sebian
Browse files
theme: Remove PAGES context variable for themes in favor of pages
parent
1a34caad
Changes
1
Show whitespace changes
Inline
Side-by-side
theme/templates/index.html
View file @
96634825
...
...
@@ -58,7 +58,7 @@
{% else %}
<section
id=
"content"
>
<h2>
Pages
</h2>
{% for page in
PAGES
%}
{% for page in
pages
%}
<li><a
href=
"{{ SITEURL }}/{{ page.url }}"
>
{{ page.title }}
</a></li>
{% endfor %}
</section>
...
...
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