Skip to content

Commit c154729

Browse files
author
Sam Kleinman
committed
theme: making theme more generic
1 parent 87c25fa commit c154729

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

themes/mongodb/layout.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{%- set titlesuffix = "" %}
1616
{%- endif %}
1717
{%- macro githublink() -%}
18-
<a href="https://github.com/mongodb/docs/blob/{{theme_branch}}/source/{{pagename}}.txt" target="_blank" title="Edit {{pagename|e}}.txt on github">Edit this Page</a>
18+
<a href="https://github.com/mongodb/{{ theme_repo_name }}/blob/{{theme_branch}}/source/{{pagename}}.txt" target="_blank" title="Edit {{pagename|e}}.txt on github">Edit this Page</a>
1919
{%- endmacro -%}
2020
{%- macro jiralink() -%}
2121
https://jira.mongodb.org/secure/CreateIssueDetails!init.jspa?pid=10380&issuetype=4&priority=4&summary=Comment+on%3a+%22{{ pagename | escape }}%2Etxt%22
@@ -30,7 +30,7 @@
3030
{%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
3131
{%- endfor #}
3232
<li class="right">| {{- githublink() -}} </li>
33-
<li class="right">| <a href="http://github.com/mongodb/docs" title="Fork the documentation on GitHub to contribute.">GitHub</a></li>
33+
<li class="right">| <a href="http://github.com/mongodb/{{ theme_repo_name }}" title="Fork the documentation on GitHub to contribute.">GitHub</a></li>
3434
<li class="right"><a href="http://jira.mongodb.org/browse/DOCS" title="Open a case in Jira to report problems or make suggestions.">Jira</a></li>
3535
{%- if show_logo %}
3636
<li><p><a href="{{ pathto('index') }}"><img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/></p></li>
@@ -197,7 +197,7 @@
197197
<div id="etp">
198198
<ul>
199199
<li>{{ githublink() }}</li>
200-
<li><a href="http://github.com/mongodb/docs" target="_blank" title="Fork the documentation on GitHub and contribute.">GitHub</a></li>
200+
<li><a href="http://github.com/mongodb/{{ theme_repo_name }}" target="_blank" title="Fork the documentation on GitHub and contribute.">GitHub</a></li>
201201
<li><a id="jirafeedback" href="{{ jiralink()|e }}" target="_blank" title="Report a problem or send feedback about {{pagename|e}}.txt on Jira">Feedback</a></li>
202202
</ul>
203203
</div>
@@ -227,7 +227,7 @@
227227
{%- endblock %}
228228
{%- block footer %}
229229
<div class="footer">
230-
<p>This documentation is a product of the MongoDB Documentation Project: fork the repository on <a href="https://github.com/mongodb/docs">GitHub</a>, or open a <a id="jirafooter" href="http://jira.mongodb.org/browse/DOCS">Jira Case</a> to contribute.
230+
<p>This documentation is a product of the MongoDB Documentation Project: fork the repository on <a href="https://github.com/mongodb/{{ theme_repo_name }}">GitHub</a>, or open a <a id="jirafooter" href="http://jira.mongodb.org/browse/DOCS">Jira Case</a> to contribute.
231231
{%- if show_copyright %}
232232
<p>{%- if hasdoc('copyright') %}
233233
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }} {% endtrans %} Licensed under <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons</a>. MongoDB&reg;, Mongo&reg;, and the leaf logo are registered trademarks of 10gen, Inc.

0 commit comments

Comments
 (0)