name = "Notion Test Site" # 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. page = "https://www.notion.so/A-Notion-Page-03c403f4fdc94cc1b315b9469a8950ef" # 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 meta tags ## [[site.meta]] name = "title" content = "Loconotion Test Site" [[site.meta]] name = "description" content = "A static site generated from a Notion.so page using Loconotion" ## 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) # h1: heading blocks, and inline databases' titles # h2: sub-heading blocks # h3: sub-sub-heading blocks # body: non-heading text on the page # code: text inside code blocks [site.fonts] site = 'Roboto' navbar = '' title = 'Montserrat' h1 = 'Montserrat' h2 = 'Montserrat' h3 = '' body = '' code = '' ## 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 in the
[[site.inject.head.link]] rel="icon" sizes="16x16" type="image/png" href="/example/favicon-16x16.png" # the following injects in the [[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" slug = "list" [[d2fa06f244e64f66880bb0491f58223d.meta]] # change the description meta tag for this page only name = "description" content = "A fullscreen list database page, now with a pretty slug" [d2fa06f244e64f66880bb0491f58223d.fonts] # change the title font for this page only title = 'Nunito'