mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Joris Conijn
21.41.2023 221a0d881758f6b6b7fba99eecb894cd5fa911ec
refs
author Joris Conijn <joris@conijnonline.nl>
Tuesday, November 21, 2023 20:41 +0100
committer GitHub <noreply@github.com>
Tuesday, November 21, 2023 20:41 +0100
commit221a0d881758f6b6b7fba99eecb894cd5fa911ec
tree 714ceef45243cb5ebfc6adcea3e1faa234900b36 tree | zip | gz
parent 4ea29d886c324ab622085014b7cbab6b078d839b view | diff
feat: add canonical url support (#650)

When you want to publish content that is already published on a different site. You need to reference a canonical url of the original content.
By defining the `canonicalUrl` in the front matter definition the canonical url is set in the headers.
2 files modified
30 ■■■■ changed files
README.md 20 ●●●● diff | view | raw | blame | history
layouts/_default/baseof.html 10 ●●●● diff | view | raw | blame | history