Skip to content
Snippets Groups Projects
Commit 9f9397ec authored by Josh Borrow's avatar Josh Borrow
Browse files

Added links to docs from navbar

parent 3000f3bd
No related branches found
No related tags found
No related merge requests found
link: "https://gitlab.cosma.dur.ac.uk/swift/swiftsim"
link: [
"./docs/index.html",
"https://gitlab.cosma.dur.ac.uk/swift/swiftsim"
]
navbar: [
# Give in [Display_Name, Template_Name format].
......
......@@ -14,7 +14,7 @@
...
]
link is simply the link to the codebase (this is stored in a data file rather than the template).
link is simply the link to the codebase and docs (this is stored in a data file rather than the template).
#}
<div class='nav mono'>
<div class="navbutton" id="showhide">
......@@ -32,10 +32,13 @@
</ul>
</div>
<div class="right-nav btn-orange code" id="right-nav">
<div class="right-nav" id="right-nav">
<ul>
<li>
<a href="{{ link }}"><i class="fa fa-gitlab" aria-hidden="true"></i> Code</a>
<li class="btn-blue">
<a href="{{ link[0] }}"><i class="fa fa-book" aria-hidden="true"></i> Docs</a>
</li>
<li class="btn-orange code">
<a href="{{ link[1] }}"><i class="fa fa-gitlab" aria-hidden="true"></i> Code</a>
</li>
</ul>
</div>
......@@ -54,4 +57,4 @@
{% endfor %}
</ul>
</div>
{%- endmacro %}
\ No newline at end of file
{%- endmacro %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment