Canonical URL with fastpages notebook

How I can configure a specific posts with canonical url for SEO purpose?

I test with just adding the config at the head of the notebook and it works.

- toc: true 
- badges: true
- comments: true
- author: author
- categories: ["python"]
- hide: false
- canonical_url: URL_PATH