Skip to content

Commit

Permalink
fix baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
frett27 committed Sep 14, 2024
1 parent e677a48 commit 786a2ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ pluralizeListTitles = false
[[menu.main]]
name = "Home"
identifier = "home"
url = "/"
url = ""
pre = "<i class='fa fa-home'></i>"
weight = 1
[[menu.main]]
name = "Articles"
identifier = "articles"
url = "/articles/"
url = "articles/"
pre = "<i class='far fa-newspaper'></i>"
weight = 3

[[menu.main]]
name = "Gallery"
identifier = "gallery"
url = "/gallery/"
url = "gallery/"
pre = "<i class='fas fa-sitemap'></i>"
weight = 2

[[menu.main]]
name = "Download"
identifier = "download"
url = "/download/"
url = "download/"
pre = "<i class='fas fa-download'></i>"
weight = 2

Expand Down
6 changes: 3 additions & 3 deletions content/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="back bo-title">
<div class="bo-container">
<div class="left-logo">
<img src="/img/main/logo.png" width="150">
<img src="{{< baseurl >}}img/main/logo.png" width="150">
</div>
<div class="title" style="flex-direction: column;">
<div style="color:#f8f8f8;font-size:50px;">Barrel Organ Discovery
Expand All @@ -26,7 +26,7 @@
<!-- banner -->
Liens rapides sur le contenu du site :
<br/>
<a href="/articles/">Accès aux articles sur l'utilisation du logiciel</a>
<a href="{{< baseurl >}}articles/">Accès aux articles sur l'utilisation du logiciel</a>
<br/>

<a href="http://www.barrel-organ-discovery.org/site/doc/2020/">Documentation du logiciel APrint Studio</a>
Expand All @@ -35,6 +35,6 @@

à propos de Barrel Organ Discovery :
<br/>
<a href="/about/">à propos de Barrel Organ Discovery</a>
<a href="{{< baseurl >}}about/">à propos de Barrel Organ Discovery</a>
<br/>

1 change: 1 addition & 0 deletions layouts/shortcodes/baseurl.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ .Site.BaseURL }}

0 comments on commit 786a2ae

Please sign in to comment.