refactor: use "sidebar-tree" for entire rendering

chore: update example site content

chore: add configuration for footer

chore: allow disable footer completely

chore: navbar highlights if contains current page

chore: styling update for partial templates

chore: update steps to use markdown delimiter
This commit is contained in:
Xin
2023-08-14 21:56:26 +01:00
parent 7a2cca9181
commit ed14432f77
15 changed files with 178 additions and 140 deletions

View File

@ -6,7 +6,7 @@ A built-in component to display a series of steps.
## Example
{{< steps >}}
{{% steps %}}
### Step 1
@ -20,15 +20,15 @@ This is the second step.
This is the third step.
{{< /steps >}}
{{% /steps %}}
## Usage
Put Markdown h3 header within `steps` shortcode.
```markdown
{{</* steps */>}}
```
{{%/* steps */%}}
### Step 1
This is the first step.
@ -36,5 +36,5 @@ This is the first step.
### Step 2
This is the second step.
{{</* /steps */>}}
{{%/* /steps */%}}
```