From fadb5e9ed145b4c8b4b9edcb2640075c559ae0d2 Mon Sep 17 00:00:00 2001 From: Saurabh Lohiya Date: Mon, 25 Sep 2023 14:51:47 +0530 Subject: [PATCH 1/3] Update index.ftd Signed-off-by: Saurabh Lohiya --- index.ftd | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.ftd b/index.ftd index e7e4fbd..7f7f14d 100644 --- a/index.ftd +++ b/index.ftd @@ -33,7 +33,7 @@ lang: ftd \-- fastn.dependency: .github.io/ --- site-doc.header: +-- site-doc.header: Next Step Now import `` inside `.ftd` file as shown below: @@ -43,7 +43,7 @@ lang: ftd \-- import: .github.io/ --- site-doc.header: +-- site-doc.header: Next Step add `` `types` to `ds.page` `types` attribute as shown below: @@ -54,7 +54,7 @@ lang: ftd \-- ds.page: types: $.types --- site-doc.header: +-- site-doc.header: Next Step Once you add `types: $.types` inside your `.ftd` file, `` will be added as `fastn` default typography to your @@ -68,7 +68,7 @@ lang: ftd \-- fastn.dependency: .github.io/ --- site-doc.header: +-- site-doc.header: Next Step Once you add above dependency, then import `` inside your `.ftd` file: @@ -78,7 +78,7 @@ lang: ftd \-- import: .github.io/ --- site-doc.header: +-- site-doc.header: Next Step Done! `` is now added. Lets define a `page` component: @@ -125,7 +125,7 @@ children: $page.wrap \-- end: page --- site-doc.header: +-- site-doc.header: Next Step In above code snippet we defined `page` component which has `types`, `title`, `body` and `wrap` attributes. @@ -193,7 +193,7 @@ color: $inherited.colors.text -- end: cb.rendered --- site-doc.header: +-- site-doc.header: Next Step Click on download icon on above code snippet `types.ftd` file will be downloaded, add previously downloaded `my-ds.ftd` and `types.ftd` inside From fb20884c3804e08bc49b2b75e7e4ba724ef5437c Mon Sep 17 00:00:00 2001 From: Saurabh Lohiya Date: Mon, 25 Sep 2023 14:57:55 +0530 Subject: [PATCH 2/3] Update index.ftd Signed-off-by: Saurabh Lohiya --- index.ftd | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ftd b/index.ftd index 7f7f14d..1621adc 100644 --- a/index.ftd +++ b/index.ftd @@ -1,4 +1,5 @@ -- import: .github.io//custom +-- import: fifthtry.github.io/inter-font/assets as inter-assets ;; ⚠️fastn-builders::⚠️ before using this file please find and replace inter-font ;; with font package name you have given inside this package From 8dddf61df6898d65ce345cd6a393e1f9f4df1c48 Mon Sep 17 00:00:00 2001 From: Ganesh Salunke <68585007+gsalunke@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:58:18 +0530 Subject: [PATCH 3/3] Update index.ftd Signed-off-by: Ganesh Salunke <68585007+gsalunke@users.noreply.github.com> --- index.ftd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ftd b/index.ftd index 1621adc..bce94f3 100644 --- a/index.ftd +++ b/index.ftd @@ -1,5 +1,5 @@ -- import: .github.io//custom --- import: fifthtry.github.io/inter-font/assets as inter-assets +-- import: fastn-community.github.io/inter-font/assets as inter-assets ;; ⚠️fastn-builders::⚠️ before using this file please find and replace inter-font ;; with font package name you have given inside this package