From cc0fbee7ceed58b7342d24c84772db5922b981af Mon Sep 17 00:00:00 2001 From: Leonardo Cavaletti Date: Mon, 25 May 2020 19:32:34 +0100 Subject: [PATCH] Updated example site settings --- README.md | 10 ++++++++-- example/example_site.toml | 6 +++--- example/favicon-32x32.png | Bin 1731 -> 0 bytes 3 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 example/favicon-32x32.png diff --git a/README.md b/README.md index bb3f650..f09510a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ Everything else should be fine. Loconotion re-implements the logic on client sid On top of that, it defines some additional CSS rules to enable mobile responsiveness across the whole site (in some cases looking even better than Notion's defaults - wasn't exactly thought for mobile). +## Demo + +You can check out an example site containing most of Notion's blocks / elements exported as a static site with Loconotion, and hosted on Netlify: https://loconotion-example.netlify.app/ + +For reference, the original Notion public page can be accessed [here](https://www.notion.so/Loconotion-Example-Page-03c403f4fdc94cc1b315b9469a8950ef#ffa3779739fd4ba286b7f8462f9e8e60). + ### But Notion already had an html export function? It does, but I wasn't really happy with the styling - the pages looked a bit uglier than what they look like on a live Notion page. Plus, it doesn't support all the cool customization features outlined above! @@ -110,7 +116,7 @@ page = "https://www.notion.so/Loconotion-Example-Page-03c403f4fdc94cc1b315b9469a # body: non-heading text on the page # code: text inside code blocks [site.fonts] - site = 'Lato' + site = 'Nunito' navbar = '' title = 'Montserrat' h1 = 'Montserrat' @@ -159,7 +165,7 @@ page = "https://www.notion.so/Loconotion-Example-Page-03c403f4fdc94cc1b315b9469a # change the title font for this page only [pages.d2fa06f244e64f66880bb0491f58223d.fonts] - title = 'Nunito' + title = 'DM Mono' # set up pretty slugs for the other database pages [pages.54dab6011e604430a21dc477cb8e4e3a] diff --git a/example/example_site.toml b/example/example_site.toml index eb2ed70..f63ccff 100644 --- a/example/example_site.toml +++ b/example/example_site.toml @@ -39,7 +39,7 @@ page = "https://www.notion.so/Loconotion-Example-Page-03c403f4fdc94cc1b315b9469a # body: non-heading text on the page # code: text inside code blocks [site.fonts] - site = 'Lato' + site = 'Nunito' navbar = '' title = 'Montserrat' h1 = 'Montserrat' @@ -86,9 +86,9 @@ page = "https://www.notion.so/Loconotion-Example-Page-03c403f4fdc94cc1b315b9469a name = "description" content = "A fullscreen list database page, now with a pretty slug" - # change the title font for this page only + # change the body font for the list page only [pages.d2fa06f244e64f66880bb0491f58223d.fonts] - title = 'Nunito' + body = 'DM Mono' # set up pretty slugs for the other database pages [pages.54dab6011e604430a21dc477cb8e4e3a] diff --git a/example/favicon-32x32.png b/example/favicon-32x32.png deleted file mode 100644 index 2b78e38693d82306007c1814bbbeaf0f8c99966f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1731 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvVtU&J%W50 z7^>757#dm_7=8hT8eT9klo~KFyh>nTu$sZZAYL$MSD+0815;3dPlzi}!H2bePTi+~ z02%-P|7RBUYy+mM!zDp}!9bctBYVxw zPk;X2Se2>9Y&Pxw@4J(Xm?S%1K5r7^WHdSWZ;!rSvHkUnF~`^byfmwzaL$!qKUVKQ z5+xCLqWz0#-#612MXXb_#5Ip9sxn4L+N``h@nN;}wYhWto=+C|Q1WY!FUJPwugh4t zo_C1^96GrD;{s!*`XAfe*jApNa3+TL?riVe>>NYU@6oKAJ6<%uFNhpBtIIEGl9 z&Yko8|FP)!t$=)>A!AfJ3LhXYE2PH4g zFfwZA**a6OLFe~|6-yo}Z(>YX!rWq?RpMvjcN9fEFI}(;(A66 zN4$ZYj(t|ttAJn%w-#P>?>&&5B$e1&3WUAz=5>0+f%b=_T(rhSRY~Z)xIAXnCUjD z-01BiLDmJCyT4aRHvHSGa@48F>L&q8Uh?LX63>MCN4g{>csKKGJY(pn$@!^ zn7+(cS#T{!d7f46vm70TRi!L*f;YUX`OCU2;IFI8`=u3iM<(?D%J1m5GUgTguI79R&%eJg>WQ9I!?lYNL4QrW ze%$-ZF1zPSq?`DmhIXdTEw)vEo@9onZ})#wT@}c1uq*1V{i{l~yfx2ucIn5t3B3(p z@9m=Yr6uyddH(Ly{qOEpzl>b4eDCU&itp-v{8)K?@`nu)pMIXco`1jokIvt(zt6`X z{>OgF*WX-pN9Z$PDpD9nO2EggY+|YP;nn#6%tVrlvu7%P?VpRnUkteQdy9ykXcZY%)n4F z=kX^Vj>0evjZ^-o&v-r!VqjM0)=TCVRu=Z2EW#|T;L>1nIE7hxbBMy}8&^&oIdeqj h2>a;>hnG@t+g