Skip to content

Commit

Permalink
relative url
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBruant committed Dec 26, 2024
1 parent 811f9f9 commit 0efcddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
base: '/pitchou'
6 changes: 3 additions & 3 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<meta name="description" content=" ">
<meta name="viewport" content="width=device-width, initial-scale=1">

<link crossorigin="anonymous" rel="stylesheet" href="./style/dsfr/dsfr.css">
<link crossorigin="anonymous" rel="stylesheet" href="./style/dsfr/utility/utility.css">
<link crossorigin="anonymous" rel="stylesheet" href="{{ '/style/dsfr/dsfr.css' | relative_url }}">
<link crossorigin="anonymous" rel="stylesheet" href="{{ '/style/dsfr/utility/utility.css' | relative_url }}">

</head>
<body>
Expand All @@ -31,6 +31,6 @@
{%- include footer.html -%}

<!-- https://www.systeme-de-design.gouv.fr/utilisation-et-organisation/developpeurs/api-javascript -->
<script type="module" src="./style/dsfr/dsfr.module.js"></script>
<script type="module" src="{{ '/style/dsfr/dsfr.module.js' | relative_url }}"></script>
</body>
</html>

0 comments on commit 0efcddc

Please sign in to comment.