Skip to content

Commit 6f8fbec

Browse files
authored
patch: fix issue with canonical urls (#15)
This solve the issue caused by the missing of the canonical urls. Additionally, it add the fodydev discord server in the website.
1 parent 1883127 commit 6f8fbec

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

config/_default/params.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ github:
1717

1818
social_links:
1919
devstats: ""
20-
discord: ""
20+
discord: "https://discord.gg/W6MzznwU6"
2121
facebook: ""
2222
flickr: ""
2323
github: "https://github.com/fodydev"

layouts/partials/head/custom-head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
{{ if (eq .Kind "home") }}
1111
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" media="all">
1212
{{ end }}
13+
<link rel="canonical" href="{{ .Permalink }}"/>

0 commit comments

Comments
 (0)