faq
This commit is contained in:
parent
69479e78c3
commit
4ba207bd6d
5 changed files with 14 additions and 3 deletions
|
@ -219,11 +219,11 @@
|
|||
<li><a href="/community/">community</a></li>
|
||||
<li><a href="/news/">news</a></li>
|
||||
<li><a href="/post/">post</a></li>
|
||||
<li><a href="/support/">support</a></li>
|
||||
<li><a href="/support-us/">support</a></li>
|
||||
<li><a href="/faq/">faq</a></li>
|
||||
<li><a href="/post-faq/">faq post</a></li>
|
||||
<li><a href="/faq/what-android-version-can-run-organic-maps/">faq post</a></li>
|
||||
<li><a href="/volunteering/">volunteering</a></li>
|
||||
<li><a href="/new-donate/">donate</a></li>
|
||||
<li><a href="/donate/">donate</a></li>
|
||||
<li><a href="/crowdfunding/">crowdfunding</a></li>
|
||||
<li><a href="/about-us/">about</a></li>
|
||||
<li><a href="/download/">download</a></li>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
{% for sectionStr in enNewsSection.subsections | sort | reverse %}
|
||||
{% set section = get_section(path=sectionStr) %}
|
||||
|
||||
{% for page in section.pages %}
|
||||
{% set translatedPage = page.translations | filter(attribute='lang', value=lang) | first %}
|
||||
{% if translatedPage %}
|
||||
|
@ -124,5 +125,15 @@
|
|||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<nav class="pagination">
|
||||
{% if paginator.previous %}
|
||||
<a class="previous" href="{{ paginator.previous }}">‹ Previous</a>
|
||||
{% endif %}
|
||||
{% if paginator.next %}
|
||||
<a class="next" href="{{ paginator.next }}">Next ›</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Reference in a new issue