Skip to content

Commit

Permalink
make all hrefs relative
Browse files Browse the repository at this point in the history
  • Loading branch information
Noam Preil committed Aug 19, 2024
1 parent 7d383fd commit 826ed21
Show file tree
Hide file tree
Showing 27 changed files with 395 additions and 395 deletions.
6 changes: 3 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
{% endif %}
</title>

<link rel="alternate" type="application/rss+xml" title="RSS Feed for knightos.org" href="/blog/rss.xml">
<link rel="alternate" type="application/rss+xml" title="RSS Feed for knightos.org" href="./blog/rss.xml">
<link rel="icon" type="image/vnd.microsoft.icon" href="//avatars2.githubusercontent.com/u/4286195?v=2&s=200">

<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="./css/bootstrap.min.css">

{% for css in page.extraCss %}
<link rel="stylesheet" href="{{ css }}">
{% endfor %}

<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="./css/base.css">

12 changes: 6 additions & 6 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@
<span class="icon-bar"></span>
</button>

<a class="navbar-brand" href="/">KnightOS</a>
<a class="navbar-brand" href="./">KnightOS</a>
</div>

<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/blog/">Blog</a></li>
<li><a href="/download/">Download</a></li>
<li><a href="./blog/">Blog</a></li>
<li><a href="./download/">Download</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/contributing/">Contributing</a></li>
<li><a href="./contributing/">Contributing</a></li>
<li><a href="https://github.com/KnightOS">GitHub</a></li>
<li><a href="http://lists.sr.ht/~pixelherodev/knightos">Mailing Lists</a></li>
<li><a href="/irc">IRC Chat</a></li>
<li><a href="./irc">IRC Chat</a></li>
</ul>
</li>
<li><a href="https://packages.knightos.org">Packages</a></li>
<li><a href="/documentation/">Documentation</a></li>
<li><a href="./documentation/">Documentation</a></li>
</ul>

{% if include.search %}
Expand Down
4 changes: 2 additions & 2 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="sub-hero-block">
<h1>
KnightOS Blog
<a href="/blog/rss.xml">
<a href="./blog/rss.xml">
<img src="/img/rss.png" width="38" height="38">
</a>
</h1>
Expand All @@ -30,7 +30,7 @@ <h4 class="text-muted">Updates from the KnightOS team</h4>
Anyone who has contributed to KnightOS is welcome to write a blog post about KnightOS. If you've made
a contribution and want to talk about it, simply write up a post and send a pull request to
<a href="https://github.com/KnightOS/knightos.org">github.com/KnightOS/knightos.org</a>. Want to write a
post here but haven't contributed to the project? <a href="/contributing/">Get started here!</a>
post here but haven't contributed to the project? <a href="./contributing/">Get started here!</a>
</div>
{% endif %}

Expand Down
4 changes: 2 additions & 2 deletions contributing/what-can-i-do.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# This page licensed under the Mozilla Public License
---

<link rel="stylesheet" href="/css/asknot.css">
<link rel="resource" type="application/l10n" href="/locales.ini">
<link rel="stylesheet" href="./css/asknot.css">
<link rel="resource" type="application/l10n" href="./locales.ini">

<script src="/js/jquery.min-1.11.1.js"></script>
<script>
Expand Down
36 changes: 18 additions & 18 deletions documentation/reference/color.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ <h4>Function Reference</h4>


<li class="active">
<a href="/documentation/reference/color.html" class="text-bold">Color</a>
<a href="./documentation/reference/color.html" class="text-bold">Color</a>
<ul class="nav doc-nav">

<li>
Expand Down Expand Up @@ -403,87 +403,87 @@ <h4>Function Reference</h4>
</li>


<li><a href="/documentation/reference/concurrency.html">Concurrency</a></li>
<li><a href="./documentation/reference/concurrency.html">Concurrency</a></li>

</li>


<li><a href="/documentation/reference/cryptography.html">Cryptography</a></li>
<li><a href="./documentation/reference/cryptography.html">Cryptography</a></li>

</li>


<li><a href="/documentation/reference/decimal_floating_point.html">Decimal Floating Point</a></li>
<li><a href="./documentation/reference/decimal_floating_point.html">Decimal Floating Point</a></li>

</li>


<li><a href="/documentation/reference/display.html">Display</a></li>
<li><a href="./documentation/reference/display.html">Display</a></li>

</li>


<li><a href="/documentation/reference/filestreams.html">Filestreams</a></li>
<li><a href="./documentation/reference/filestreams.html">Filestreams</a></li>

</li>


<li><a href="/documentation/reference/filesystem.html">Filesystem</a></li>
<li><a href="./documentation/reference/filesystem.html">Filesystem</a></li>

</li>


<li><a href="/documentation/reference/flash.html">Flash</a></li>
<li><a href="./documentation/reference/flash.html">Flash</a></li>

</li>


<li><a href="/documentation/reference/hardware.html">Hardware</a></li>
<li><a href="./documentation/reference/hardware.html">Hardware</a></li>

</li>


<li><a href="/documentation/reference/i_o.html">I/O</a></li>
<li><a href="./documentation/reference/i_o.html">I/O</a></li>

</li>


<li><a href="/documentation/reference/input.html">Input</a></li>
<li><a href="./documentation/reference/input.html">Input</a></li>

</li>


<li><a href="/documentation/reference/maths.html">Maths</a></li>
<li><a href="./documentation/reference/maths.html">Maths</a></li>

</li>


<li><a href="/documentation/reference/miscellaneous.html">Miscellaneous</a></li>
<li><a href="./documentation/reference/miscellaneous.html">Miscellaneous</a></li>

</li>


<li><a href="/documentation/reference/strings.html">Strings</a></li>
<li><a href="./documentation/reference/strings.html">Strings</a></li>

</li>


<li><a href="/documentation/reference/system.html">System</a></li>
<li><a href="./documentation/reference/system.html">System</a></li>

</li>


<li><a href="/documentation/reference/text.html">Text</a></li>
<li><a href="./documentation/reference/text.html">Text</a></li>

</li>


<li><a href="/documentation/reference/threading.html">Threading</a></li>
<li><a href="./documentation/reference/threading.html">Threading</a></li>

</li>


<li><a href="/documentation/reference/time.html">Time</a></li>
<li><a href="./documentation/reference/time.html">Time</a></li>

</li>

Expand Down
36 changes: 18 additions & 18 deletions documentation/reference/concurrency.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,13 @@ <h4>Function Reference</h4>
<ul class="nav doc-nav">


<li><a href="/documentation/reference/color.html">Color</a></li>
<li><a href="./documentation/reference/color.html">Color</a></li>

</li>


<li class="active">
<a href="/documentation/reference/concurrency.html" class="text-bold">Concurrency</a>
<a href="./documentation/reference/concurrency.html" class="text-bold">Concurrency</a>
<ul class="nav doc-nav">

<li>
Expand Down Expand Up @@ -316,82 +316,82 @@ <h4>Function Reference</h4>
</li>


<li><a href="/documentation/reference/cryptography.html">Cryptography</a></li>
<li><a href="./documentation/reference/cryptography.html">Cryptography</a></li>

</li>


<li><a href="/documentation/reference/decimal_floating_point.html">Decimal Floating Point</a></li>
<li><a href="./documentation/reference/decimal_floating_point.html">Decimal Floating Point</a></li>

</li>


<li><a href="/documentation/reference/display.html">Display</a></li>
<li><a href="./documentation/reference/display.html">Display</a></li>

</li>


<li><a href="/documentation/reference/filestreams.html">Filestreams</a></li>
<li><a href="./documentation/reference/filestreams.html">Filestreams</a></li>

</li>


<li><a href="/documentation/reference/filesystem.html">Filesystem</a></li>
<li><a href="./documentation/reference/filesystem.html">Filesystem</a></li>

</li>


<li><a href="/documentation/reference/flash.html">Flash</a></li>
<li><a href="./documentation/reference/flash.html">Flash</a></li>

</li>


<li><a href="/documentation/reference/hardware.html">Hardware</a></li>
<li><a href="./documentation/reference/hardware.html">Hardware</a></li>

</li>


<li><a href="/documentation/reference/i_o.html">I/O</a></li>
<li><a href="./documentation/reference/i_o.html">I/O</a></li>

</li>


<li><a href="/documentation/reference/input.html">Input</a></li>
<li><a href="./documentation/reference/input.html">Input</a></li>

</li>


<li><a href="/documentation/reference/maths.html">Maths</a></li>
<li><a href="./documentation/reference/maths.html">Maths</a></li>

</li>


<li><a href="/documentation/reference/miscellaneous.html">Miscellaneous</a></li>
<li><a href="./documentation/reference/miscellaneous.html">Miscellaneous</a></li>

</li>


<li><a href="/documentation/reference/strings.html">Strings</a></li>
<li><a href="./documentation/reference/strings.html">Strings</a></li>

</li>


<li><a href="/documentation/reference/system.html">System</a></li>
<li><a href="./documentation/reference/system.html">System</a></li>

</li>


<li><a href="/documentation/reference/text.html">Text</a></li>
<li><a href="./documentation/reference/text.html">Text</a></li>

</li>


<li><a href="/documentation/reference/threading.html">Threading</a></li>
<li><a href="./documentation/reference/threading.html">Threading</a></li>

</li>


<li><a href="/documentation/reference/time.html">Time</a></li>
<li><a href="./documentation/reference/time.html">Time</a></li>

</li>

Expand Down
Loading

0 comments on commit 826ed21

Please sign in to comment.