From a72f7bb2161642820b952acccd4c2f015b0574fd Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 9 Nov 2023 10:58:23 +0000 Subject: [PATCH] GITBOOK-38: change request with no subject merged in GitBook --- data-types/page.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data-types/page.md b/data-types/page.md index 52af143..d0e3c22 100644 --- a/data-types/page.md +++ b/data-types/page.md @@ -36,6 +36,18 @@ page blog{ This will create a page accessible at the `/blog` URL. +### Custom fonts + +In BuckShotPlusPlus, you can easily import custom fonts using the fonts attribute and specify an [array](arrays.md) of url's like in the following example: + +``` +page index{ + title = "My Index!" + body = My_Body_View + fonts = ["https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Nerko+One&family=Poppins&display=swap"] +} +``` + ## Use cases 1. **Website Structure**: Pages allow you to define the structure of your website, specifying which content appears on which page.