Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags with href=None #18

Open
Fabulani opened this issue Sep 18, 2023 · 0 comments
Open

Tags with href=None #18

Fabulani opened this issue Sep 18, 2023 · 0 comments

Comments

@Fabulani
Copy link

All my tags with href have it set to None. This includes both icons and javascript scripts.

error

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant