Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dunitrust_website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
websites
dunitrust_website
Commits
0de1f010
Commit
0de1f010
authored
5 years ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Plain Diff
fix licence and path
parents
b5c4edfa
5c4e7df3
No related branches found
No related tags found
1 merge request
!4
fix licence and path
Pipeline
#6834
passed
5 years ago
Stage: test
Stage: deploy
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
README.md
+15
-0
15 additions, 0 deletions
README.md
content/_index.md
+0
-0
0 additions, 0 deletions
content/_index.md
templates/index.html
+5
-6
5 additions, 6 deletions
templates/index.html
templates/landing.html
+4
-4
4 additions, 4 deletions
templates/landing.html
with
27 additions
and
13 deletions
.gitlab-ci.yml
+
3
−
3
View file @
0de1f010
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
README.md
+
15
−
0
View file @
0de1f010
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
content/
home
.md
→
content/
_index
.md
+
0
−
0
View file @
0de1f010
File moved
This diff is collapsed.
Click to expand it.
templates/index.html
+
5
−
6
View file @
0de1f010
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
templates/landing.html
+
4
−
4
View file @
0de1f010
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment