Skip to content
Snippets Groups Projects
Commit 0de1f010 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

fix licence and path

parents b5c4edfa 5c4e7df3
No related branches found
No related tags found
1 merge request!4fix licence and path
Pipeline #6834 passed
...@@ -9,7 +9,7 @@ pages: ...@@ -9,7 +9,7 @@ pages:
# Unpack the zola executable # Unpack the zola executable
- tar -xzf zola.tar.gz - tar -xzf zola.tar.gz
# Execute zola build # Execute zola build
- ./zola build --base-url dunitrust_website.duniter.io - ./zola build --base-url https://dunitrust_website.duniter.io/
artifacts: artifacts:
paths: paths:
......
...@@ -14,6 +14,21 @@ Consultez ensuite [http://localhost:1111/](http://localhost:1111/) dans votre na ...@@ -14,6 +14,21 @@ Consultez ensuite [http://localhost:1111/](http://localhost:1111/) dans votre na
> aperçu du site > aperçu du site
## Deploiement
Le site est conçu pour résider à la racine de son nom de domaine. Pour déployer, construisez le site avec
```
zola build --base_url example.com
```
enfin, poussez vos fichiers statiques avec
```
rsync -avc --delete public/ http://example.com:/var/www/
```
Vous pouvez consulter une preview du site à l'adresse : [http://dunitrust.trentesaux.fr/](http://dunitrust.trentesaux.fr/).
## TODO ## TODO
......
File moved
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<nav class="navbar" role="navigation" aria-label="main navigation"> <nav class="navbar" role="navigation" aria-label="main navigation">
<div class="container"> <div class="container">
<div class="navbar-brand"> <div class="navbar-brand">
<a class="navbar-item" href="/"> <a class="navbar-item" href="{{ get_url(path="@/_index.md") }}">
<img src="{{ get_url(path="dunitrust.png") }}" height="28"> <img src="{{ get_url(path="dunitrust.png") }}" height="28">
<strong>Dunitrust</strong> <strong>Dunitrust</strong>
</a> </a>
...@@ -30,10 +30,10 @@ ...@@ -30,10 +30,10 @@
</div> </div>
<div id="navbarDunitrust" class="navbar-menu"> <div id="navbarDunitrust" class="navbar-menu">
<div class="navbar-start"> <div class="navbar-start">
<a class="navbar-item" href="/home/"> <a class="navbar-item" href="{{ get_url(path="@/_index.md") }}">
Accueil Accueil
</a> </a>
<a class="navbar-item" href="/news/"> <a class="navbar-item" href="{{ get_url(path="@/_index.md") }}">
News News
</a> </a>
</div> </div>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
Plus Plus
</a> </a>
<div class="navbar-dropdown"> <div class="navbar-dropdown">
<a class="navbar-item" href="/about/"> <a class="navbar-item" href="{{ get_url(path="@/about.md") }}">
À propos À propos
</a> </a>
<a class="navbar-item"> <a class="navbar-item">
...@@ -74,7 +74,6 @@ ...@@ -74,7 +74,6 @@
<article class="page-content"> <article class="page-content">
{% block content %} {% block content %}
<script>document.location.href="/home/"</script>
{% endblock content %} {% endblock content %}
</article> </article>
...@@ -84,7 +83,7 @@ ...@@ -84,7 +83,7 @@
Site web réalisé par Axiom Team Site web réalisé par Axiom Team
</div> </div>
<div class="level-item"> <div class="level-item">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a>. <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a>.
</div> </div>
</div> </div>
</footer> </footer>
......
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
<img src="{{ get_url(path="dunitrust.png") }}"/> <img src="{{ get_url(path="dunitrust.png") }}"/>
<div> <div>
<h2 class="title"> Télécharger Dunitrust </h2> <h2 class="title"> Télécharger Dunitrust </h2>
<a class="dl-button stable" href="{{ page.extra.dunitrust_release }}" target="_blank"> <a class="dl-button stable" href="{{ section.extra.dunitrust_release }}" target="_blank">
<span class="icon is-medium"><i class="fa fa-cloud-download"></i></span> <span class="icon is-medium"><i class="fa fa-cloud-download"></i></span>
<span>{{ page.extra.dunitrust_current }}</span><br> <span>{{ section.extra.dunitrust_current }}</span><br>
<span>Réseau Ğ1-TEST</span> <span>Réseau Ğ1-TEST</span>
</a> </a>
<a class="dl-button beta" href="{{ page.extra.dunitrust_release }}" target="_blank"> <a class="dl-button beta" href="{{ section.extra.dunitrust_release }}" target="_blank">
<span class="icon is-medium"><i class="fa fa-cloud-download"></i></span> <span class="icon is-medium"><i class="fa fa-cloud-download"></i></span>
<span>{{ page.extra.dunitrust_beta }}</span><br> <span>{{ section.extra.dunitrust_beta }}</span><br>
<span>Réseau Ğ1 réel</span> <span>Réseau Ğ1 réel</span>
</a> </a>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment