From fadb5e9ed145b4c8b4b9edcb2640075c559ae0d2 Mon Sep 17 00:00:00 2001 From: Saurabh Lohiya Date: Mon, 25 Sep 2023 14:51:47 +0530 Subject: [PATCH] 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