generated from fastn-stack/fastn-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.ftd
66 lines (38 loc) · 1.25 KB
/
sidebar.ftd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
-- ds.page: Page with right-sidebar 👉
sidebar: true
-- ds.page.right-sidebar:
-- ds.h3: Heading in sidebar
You can call any component inside sidebar.
This right-sidebar will appear on all pages.
-- ds.code:
lang: ftd
\-- ftd.text: Hello World
-- end: ds.page.right-sidebar
-- ds.page.body:
If you want to show right-sidebar on your page you can add it like sidebar shown
in this page 👉.
-- ds.h3: `right-sidebar` documentation
[Click here](https://fastn-community.github.io/doc-site/right-sidebar/) to read
more about `right-sidebar`.
-- ds.h3: How this page is built?
Copy below code snippet to create pages like this with right-sidebar.
-- ds.code:
lang: ftd
\-- ds.page: Page with right-sidebar 👉
sidebar: true
\-- ds.page.right-sidebar:
\-- ds.h3: Heading in sidebar
You can call any component inside sidebar.
This right-sidebar will appear on all pages.
\-- ds.code:
lang: ftd
\-- ftd.text: Hello World
\-- end: ds.page.right-sidebar
\-- ds.page.body:
If you want to show right-sidebar on your page you can add it like sidebar shown
in this page 👉.
\-- ds.h3: Read right-sidebar documentation
[Click here](https://fastn-community.github.io/doc-site/right-sidebar/) to read
more about `right-sidebar`.
\-- end: ds.page
-- end: ds.page