Repository navigation
Expand file tree
/
Copy pathtopbar.html
More file actions
51 lines (41 loc) · 1.94 KB
/
Copy pathtopbar.html
File metadata and controls
51 lines (41 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="nav-collapse collapse">
<ul class="nav">
<!--
{% comment %}
The code below dynamically generates a topbar nav of pages with
`layout: page` in the front-matter. See readme for usage.
{% endcomment %}
{% assign pages_list = site.pages %}
{% for node in pages_list %}
{% if node.title != null %}
{% if node.layout == "page" %}
<a class="topbar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}
-->
<li><a class="topbar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.url }}/">Home</a></li>
<!-- <li><a class="topbar-nav-item" href="{{ site.url }}/news">News</a></li> -->
<li><a class="topbar-nav-item" href="{{ site.url }}/reference">FC Guide (stable)</a></li>
<li><a class="topbar-nav-item" href="{{ site.url }}/referenceDev">FC Guide (development)</a></li>
<li><a class="topbar-nav-item" href="{{ site.url }}/referenceFeynHelpersDev">FH Guide (development)</a></li>
<li><a class="topbar-nav-item" href="{{ site.url }}/examples">Examples</a></li>
<li><a class="topbar-nav-item" href="https://github.com/FeynCalc/feyncalc/discussions">Forum</a></li>
<li><a class="topbar-nav-item" href="{{ site.url }}/OldForum/thread.html">Old forum archive</a></li>
<li><form id="qsearch" method="get" action="https://www.qwant.com/">
<input id="qsearch2" type="text" name="q" placeholder="Search with Qwant" />
</form></li>
<script type="text/javascript">
window.onload = function() {
document.getElementById("qsearch").onsubmit = function() {
var queryFixed = document.getElementById("qsearch2");
queryFixed.value = queryFixed.value + ' site:feyncalc.github.io';
return true;
};
};
</script>
</div>
</div>
</div>