notion-website-template
notion-website-template copied to clipboard
Tags with href=None
All my tags with href have it set to None
. This includes both icons and javascript scripts.
I followed the instructions from Loconotion readme to edit the site.toml
file and added all the files to the root of the repo. Then, I triggered the github action Publish Notion website to GitHub Pages. This is my site.toml
:
# This is the .toml file passed to Locomotion.
# For information on the different settings available, and an example file,
# see the Locomotion README: https://github.com/leoncvlt/loconotion/blob/master/README.md
# DO NOT CHANGE THIS VALUE. The deploy script relies on the site being deployed to the
# "site" directory.
name = "site"
# This page should be the root of your website. It's important.
page = "https://manschein.notion.site/Fabiano-Junior-Maia-Manschein-72bec1b8f9f34de987802bbf397d996c?pvs=4"
# optionally apply notion's dark mode, remove the line below to use the default light mode
theme = "dark"
## Global Site Settings ##
# this [site] table defines override settings for the whole site
# later on we will see how to define settings for a single page
[site]
## Custom Element Injection ##
# defined as an array of tables [[site.inject]], followed by 'head' or 'body' to set
# the injection point, followed by name of the tag to inject
# each key in the table maps to an atttribute in the tag
# e.g. the following injects this tag in the <head>:
# <link href="favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/>
[[site.inject.head.link]]
rel="icon"
sizes="16x16"
type="image/png"
href="/favicon-16x16.png"
[[site.inject.head.link]]
rel="icon"
sizes="32x32"
type="image/png"
href="/favicon-32x32.png"
[[site.inject.head.link]]
rel="apple-touch-icon"
sizes="180x180"
type="image/png"
href="/apple-touch-icon.png"
[[site.inject.head.link]]
rel="manifest"
href="/site.webmanifest"
# the following injects this tag in the in the <body>:
# <script src="custom-script.js" type="text/javascript"></script>
# note that all href / src files are copied to the root of the site folder
# regardless of their original path
[[site.inject.body.script]]
type="text/javascript"
src="/init.js"
Any suggestions on how to fix this? I'm at a loss.