Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion themes/mongodb/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,21 @@
</div>
</div>
{%- endmacro %}

{%- macro render_nextprev() %}
<div id="btnv">
<ul id="btnvl">
{%- if prev %}
<li id="btnvpr"><a href="{{ prev.link|e }}" title="Previous Section: {{ prev.title|striptags|e }}">&lt; &nbsp; {{ prev.title|striptags|e }}</a></li>
{%- endif %}
{%- if parents %}
<li id="btnvup"><a href="{{ parents[0].link|e }}" title="Parent Section: {{ parents[0].title|striptags|e }}" >&#47;&#92;&nbsp; {{ parents[0].title|striptags|e }}</a></li>
{%- endif %}
{%- if next %}
<li id="btnvnx"><a href="{{ next.link|e }}" title="Next Section: {{ next.title|striptags|e }}">{{ next.title|striptags|e }} &nbsp;&gt;</a></li>
{%- endif %}
</ul>
</div>
{% endmacro -%}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{%- block htmltitle %}
Expand Down Expand Up @@ -207,6 +221,7 @@
<div class="body">
<div id="cse-results"><gcse:searchresults></gcse:searchresults></div>
{% block body %} {% endblock %}
{{- render_nextprev() -}}
</div>
{%- if render_sidebar %}
</div>
Expand Down