Skip to content

Commit 3823fc8

Browse files
Merge pull request #94 from DougInAMug/externalNavLinks
move external links to end of navbar and add external link icons
2 parents 7524079 + af9853e commit 3823fc8

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

rst_template.txt

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,29 @@
2222
<ol>
2323
<li><a href="/demo.html">Demo</a></li>
2424
<li><a href="/releases/">Install</a></li>
25-
<li><a href="https://borgbackup.readthedocs.io/">Docs</a></li>
26-
<li><a href="https://github.com/borgbackup/community">Community</a></li>
2725
<li><a href="/support/fund.html">Fund</a></li>
28-
<li><a href="https://github.com/borgbackup/borg">Contribute</a></li>
2926
<li><a href="/support/free.html">Support</a></li>
3027
<li><a href="/support/commercial.html">Services</a></li>
28+
<!-- no space between nav label and svg deliberately per https://davidwalsh.name/remove-whitespace-inline-block -->
29+
<!-- external link icon: https://commons.wikimedia.org/wiki/File:Link-external-small-ltr-progressive.svg -->
30+
<li><a href="https://borgbackup.readthedocs.io/">Docs<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
31+
<title>
32+
external link
33+
</title>
34+
<path fill="currentColor" d="M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z"/>
35+
</svg></a></li>
36+
<li><a href="https://github.com/borgbackup/community">Community<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
37+
<title>
38+
external link
39+
</title>
40+
<path fill="currentColor" d="M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z"/>
41+
</svg></a></li>
42+
<li><a href="https://github.com/borgbackup/borg">Contribute<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
43+
<title>
44+
external link
45+
</title>
46+
<path fill="currentColor" d="M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z"/>
47+
</svg></a></li>
3148
</ol>
3249
</nav>
3350
</header>

0 commit comments

Comments
 (0)