Skip to content

Commit

Permalink
relURL encore mieux pour GitHub Pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedli committed Dec 27, 2024
1 parent 4848acf commit 54c04dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{{ partialCached "head/css" . }}
{{ partialCached "head/favicon" . }}

<link rel="alternate" type="application/rss+xml" href="{{ absURL "/index.xml" }}" title="{{ site.Title }}">
<link rel="alternate" type="application/rss+xml" href="{{ relURL "index.xml" }}" title="{{ site.Title }}">
<link rel="canonical" href="{{ .Permalink }}">
{{ if not (hasPrefix .Permalink "https://nicolasfriedli.ch/") }}
<meta name="robots" content="noindex">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<footer>
<p>Abonnement par <a href="{{ absURL "/index.xml" }}">flux RSS</a>. Contenus sous licence libre <em>Creative Commons BY-SA</em>.</p>
<p>Abonnement par <a href="{{ relURL "index.xml" }}">flux RSS</a>. Contenus sous licence libre <em>Creative Commons BY-SA</em>.</p>
</footer>
6 changes: 3 additions & 3 deletions layouts/partials/head/favicon.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<link rel="icon" href="{{ absURL "/favicon.ico" }}" sizes="48x48">
<link rel="icon" href="{{ absURL "/favicon.svg" }}" sizes="any" type="image/svg+xml">
<link rel="apple-touch-icon" href="{{ absURL "/apple-touch-icon.png"}}">
<link rel="icon" href="{{ relURL "favicon.ico" }}" sizes="48x48">
<link rel="icon" href="{{ relURL "favicon.svg" }}" sizes="any" type="image/svg+xml">
<link rel="apple-touch-icon" href="{{ relURL "apple-touch-icon.png"}}">

0 comments on commit 54c04dd

Please sign in to comment.