2020-05-17 09:40:18 +00:00
|
|
|
name = "Notion Test Site"
|
2020-05-17 17:11:17 +00:00
|
|
|
# the notion.so page to being parsing from. This page will become the index.html
|
|
|
|
# of the generated site, and loconotation will parse all sub-pages present on the page.
|
2020-05-17 09:40:18 +00:00
|
|
|
page = "https://www.notion.so/A-Notion-Page-03c403f4fdc94cc1b315b9469a8950ef"
|
|
|
|
|
2020-05-17 17:11:17 +00:00
|
|
|
# this site table defines override settings for the whole site
|
|
|
|
# later on we will see how to define settings for a single page
|
2020-05-17 12:11:06 +00:00
|
|
|
[site]
|
2020-05-17 17:11:17 +00:00
|
|
|
## custom meta tags ##
|
2020-05-17 12:11:06 +00:00
|
|
|
[[site.meta]]
|
|
|
|
name = "title"
|
|
|
|
content = "Loconotion Test Site"
|
|
|
|
[[site.meta]]
|
|
|
|
name = "description"
|
|
|
|
content = "A static site generated from a Notion.so page using Loconotion"
|
2020-05-17 09:40:18 +00:00
|
|
|
|
2020-05-17 17:11:17 +00:00
|
|
|
## custom site fonts ##
|
|
|
|
# you can specify the name of a google font to use on the site, use the font embed name
|
|
|
|
# (if in doubt select a style on fonts.google.com and navigate to the "embed" tag to check the name under CSS rules)
|
|
|
|
# keys controls the font of the following elements:
|
|
|
|
# site: changes the font for the whole page (apart from code blocks) but the following settings override it
|
|
|
|
# navbar: site breadcrumbs on the top-left of the page
|
|
|
|
# title: page title (under the icon)
|
2020-05-17 20:41:20 +00:00
|
|
|
# h1: heading blocks, and inline databases' titles
|
|
|
|
# h2: sub-heading blocks
|
|
|
|
# h3: sub-sub-heading blocks
|
2020-05-17 17:11:17 +00:00
|
|
|
# body: non-heading text on the page
|
|
|
|
# code: text inside code blocks
|
2020-05-17 12:11:06 +00:00
|
|
|
[site.fonts]
|
|
|
|
site = 'Roboto'
|
|
|
|
navbar = ''
|
2020-05-17 17:11:17 +00:00
|
|
|
title = 'Montserrat'
|
|
|
|
h1 = 'Montserrat'
|
|
|
|
h2 = 'Montserrat'
|
|
|
|
h3 = ''
|
2020-05-17 12:11:06 +00:00
|
|
|
body = ''
|
|
|
|
code = ''
|
|
|
|
|
2020-05-17 17:11:17 +00:00
|
|
|
## custom element injection ##
|
|
|
|
# 'head' or 'body' to set where the element will be injected
|
|
|
|
# the next dotted key represents the tag to inject, with the table values being the the tag attributes
|
|
|
|
# e.g. the following injects <link href="favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/> in the <head>
|
|
|
|
[[site.inject.head.link]]
|
|
|
|
rel="icon"
|
|
|
|
sizes="16x16"
|
|
|
|
type="image/png"
|
|
|
|
href="/example/favicon-16x16.png"
|
|
|
|
|
|
|
|
# the following injects <script src="custom-script.js" type="text/javascript"></script> in the <body>
|
|
|
|
[[site.inject.body.script]]
|
|
|
|
type="text/javascript"
|
|
|
|
src="/example/custom-script.js"
|
|
|
|
|
|
|
|
## individual page settings ##
|
|
|
|
# while the [site] table applies the settings to all parse pages,
|
|
|
|
# it's possible to override a single page's setting by defining
|
|
|
|
# a table named after the page url or part of it.
|
|
|
|
#
|
|
|
|
# e.g the following settings will only apply to this parsed page:
|
|
|
|
# https://www.notion.so/d2fa06f244e64f66880bb0491f58223d
|
|
|
|
[d2fa06f244e64f66880bb0491f58223d]
|
|
|
|
## custom slugs ##
|
|
|
|
# inside page settings, you can change the url that page will map to with the 'slug' key
|
|
|
|
# e.g. page "/d2fa06f244e64f66880bb0491f58223d" will now map to "/list"
|
2020-05-17 12:11:06 +00:00
|
|
|
slug = "list"
|
|
|
|
|
2020-05-17 17:11:17 +00:00
|
|
|
[[d2fa06f244e64f66880bb0491f58223d.meta]]
|
|
|
|
# change the description meta tag for this page only
|
2020-05-17 12:11:06 +00:00
|
|
|
name = "description"
|
2020-05-17 17:11:17 +00:00
|
|
|
content = "A fullscreen list database page, now with a pretty slug"
|
|
|
|
|
|
|
|
[d2fa06f244e64f66880bb0491f58223d.fonts]
|
|
|
|
# change the title font for this page only
|
|
|
|
title = 'Nunito'
|