Skip to content

Commit

Permalink
Noindex pour non nicolasfriedli.ch.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedli committed Dec 27, 2024
1 parent 9787569 commit eb3f3fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
{{ partialCached "head/favicon" . }}

<link rel="alternate" type="application/rss+xml" href="/index.xml" title="{{ site.Title }}">
<link rel="canonical" href="{{.Permalink}}">
<link rel="canonical" href="{{ .Permalink }}">
{{ if not (hasPrefix .Permalink "https://nicolasfriedli.ch/") }}
<meta name="robots" content="noindex">
{{ end }}

{{ if .IsHome }}
{{ hugo.Generator }}
Expand Down

0 comments on commit eb3f3fc

Please sign in to comment.