Commit a3c484c4 authored by Lukas Matt's avatar Lukas Matt

Fix absolute paths for gitlab pages

parent 41271a1c
Pipeline #52 passed with stage
in 2 minutes and 25 seconds
<script src="/assets/js/popper.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/latest_release.js"></script>
<script src="{{base}}/assets/js/popper.min.js"></script>
<script src="{{base}}/assets/js/bootstrap.min.js"></script>
<script src="{{base}}/assets/js/latest_release.js"></script>
</body>
</html>
......@@ -5,14 +5,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="stylesheet" href="/assets/css/syntax.css">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/asciinema-player.css" />
<link rel="stylesheet" href="{{base}}/assets/css/style.css">
<link rel="stylesheet" href="{{base}}/assets/css/syntax.css">
<link rel="stylesheet" href="{{base}}/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="{{base}}/assets/css/asciinema-player.css" />
<link rel="shortcut icon" type="image/png" href="/assets/img/favicon.png?v=1">
<link rel="shortcut icon" type="image/png" href="{{base}}/assets/img/favicon.png?v=1">
<script src="/assets/js/jquery-3.2.1.min.js"></script>
<script src="{{base}}/assets/js/jquery-3.2.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
......
{% assign navigation_pages = site.html_pages | sort: 'navigation_order' %}
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand px-0 py-0" href="#">
<img src="/assets/img/favicon.png" height="40px" />
<img src="{{base}}/assets/img/favicon.png" height="40px" />
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
......@@ -12,14 +12,14 @@
{% for page in navigation_pages %}
{% if page.navigation_order %}
<li class="nav-item">
<a class="nav-link" href="{{ page.url }}">{{ page.title }}</a>
<a class="nav-link" href="{{base}}{{ page.url }}">{{ page.title }}</a>
</li>
{% endif %}
{% endfor %}
{% for page in navigation_pages %}
{% if page.documentation %}
<li class="nav-item">
<a class="nav-link" href="{{ page.url }}">{{ page.title }}</a>
<a class="nav-link" href="{{base}}{{ page.url }}">{{ page.title }}</a>
</li>
{% endif %}
{% endfor %}
......@@ -27,7 +27,7 @@
<a class="nav-link" href="https://ggg.social">Demo</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/api/index.html">API Docs</a>
<a class="nav-link" href="{{base}}/api/index.html">API Docs</a>
</li>
</ul>
</div>
......
{% assign base = '.' %}
{% include header.html %}
{% include navigation.html %}
......
......@@ -14,8 +14,8 @@ GangGo is a decentralized social network written in [GoLang](https://golang.org/
## Installation
<asciinema-player src="/assets/casts/installation.cast"></asciinema-player>
<script src="/assets/js/asciinema-player.js"></script>
<asciinema-player src="{{base}}/assets/casts/installation.cast"></asciinema-player>
<script src="{{base}}/assets/js/asciinema-player.js"></script>
<br />
......@@ -27,7 +27,7 @@ It comes with a small installation wizard :) Happy Federating!
If you want to push your changes to the offical ganggo repository:
* follow the [development guide](/development.html)
* follow the [development guide](development.html)
* fork the project
* create a new branch with your code changes
* create a [pull request](https://github.com/ganggo/ganggo/compare)
* create a [pull request](https://git.feneas.org/ganggo/ganggo/merge_requests/new)
......@@ -6,7 +6,7 @@ documentation: true
# Translation
If you want to contribute to our language files, clone the [repository](https://github.com/ganggo/ganggo) and update/create the files in `messages/` directory. If you are satisfied with your changes create a [pull-request](https://help.github.com/articles/about-pull-requests/) on github!
If you want to contribute to our language files, clone the [repository](https://git.feneas.org/ganggo/ganggo) and update/create the files in `messages/` directory. If you are satisfied with your changes create a [pull-request](https://git.feneas.org/ganggo/ganggo/merge_requests/new) on gitlab!
Please make sure that you apply to following naming convention:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment