forked from david-swift/duckling
Move demo page to docs #4
This commit is contained in:
parent
6d68931b72
commit
2ef2fa97c6
@ -142,7 +142,6 @@ links = [
|
|||||||
{ url = "@/docs/gettingstarted/index.md", name = "Docs" },
|
{ url = "@/docs/gettingstarted/index.md", name = "Docs" },
|
||||||
{ url = "@/blog/_index.md", name = "Blog" },
|
{ url = "@/blog/_index.md", name = "Blog" },
|
||||||
{ url = "@/subprojects/_index.md", name = "Subprojects" },
|
{ url = "@/subprojects/_index.md", name = "Subprojects" },
|
||||||
{ url = "@/demo/index.md", name = "Demo" },
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[extra.footer]
|
[extra.footer]
|
||||||
@ -152,7 +151,6 @@ links = [
|
|||||||
{ url = "@/docs/gettingstarted/index.md", name = "Docs" },
|
{ url = "@/docs/gettingstarted/index.md", name = "Docs" },
|
||||||
{ url = "@/blog/_index.md", name = "Blog" },
|
{ url = "@/blog/_index.md", name = "Blog" },
|
||||||
{ url = "@/subprojects/_index.md", name = "Subprojects" },
|
{ url = "@/subprojects/_index.md", name = "Subprojects" },
|
||||||
{ url = "@/demo/index.md", name = "Demo" },
|
|
||||||
{ url = "https://mastodon.de/@david_swift", name = "Developer" }
|
{ url = "https://mastodon.de/@david_swift", name = "Developer" }
|
||||||
]
|
]
|
||||||
# Social links in the footer.
|
# Social links in the footer.
|
||||||
|
|||||||
@ -1,11 +0,0 @@
|
|||||||
+++
|
|
||||||
title = "Cake Party"
|
|
||||||
+++
|
|
||||||
|
|
||||||
<img class="transparent no-hover" style="width: min(calc(var(--container-width) / 2), 100%)" src="https://i1.theportalwiki.net/img/0/0a/Portal_Cake.png"/>
|
|
||||||
|
|
||||||
Sadly, the cake is a _lie_
|
|
||||||
|
|
||||||
<div class="buttons">
|
|
||||||
<a href="../">Go Crying</a>
|
|
||||||
</div>
|
|
||||||
@ -6,6 +6,7 @@ page_template = "documentation_page.html"
|
|||||||
[extra]
|
[extra]
|
||||||
sections = [
|
sections = [
|
||||||
"Usage",
|
"Usage",
|
||||||
|
"Markdown",
|
||||||
"Advanced"
|
"Advanced"
|
||||||
]
|
]
|
||||||
+++
|
+++
|
||||||
|
|||||||
@ -1,25 +1,19 @@
|
|||||||
+++
|
+++
|
||||||
title = "Demo Page"
|
title = "Demo Page"
|
||||||
|
weight = 0
|
||||||
[extra]
|
[extra]
|
||||||
|
section = 2
|
||||||
styles = ["demo/demo.css"]
|
styles = ["demo/demo.css"]
|
||||||
scripts = ["demo/demo.js"]
|
scripts = ["demo/demo.js"]
|
||||||
katex = true
|
katex = true
|
||||||
archive = "This page is in fact not archived. It is only here to demonstrate the archival statement."
|
|
||||||
trigger = "This page contains blackjack and hookers, and bad jokes such as this one."
|
|
||||||
disclaimer = """
|
|
||||||
- All tricks in this page are performed by the lab boys, don't try this at home.
|
|
||||||
- Don't expose yourself to 4000° kelvin.
|
|
||||||
- Don't take party escort submission position.
|
|
||||||
- Don't interact with asbestos and moon rocks.
|
|
||||||
"""
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
The features presented in this page can be used in all types of pages - standalone pages, blog posts, subprojects and documentation pages.
|
||||||
|
|
||||||
## Markdown
|
## Markdown
|
||||||
|
|
||||||
Text can be **bold**, *italic*, ~~strikethrough~~, and ***~~all at the same time~~***.
|
Text can be **bold**, *italic*, ~~strikethrough~~, and ***~~all at the same time~~***.
|
||||||
|
|
||||||
[Link to another page](@/demo/page.md).
|
|
||||||
|
|
||||||
There should be whitespace between paragraphs[^1].
|
There should be whitespace between paragraphs[^1].
|
||||||
|
|
||||||
# Heading 1
|
# Heading 1
|
||||||
@ -674,3 +668,4 @@ With `centered` and `big` classes:
|
|||||||
<label for="color-picker-dark">Dark theme</label>
|
<label for="color-picker-dark">Dark theme</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- End -->
|
<!-- End -->
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
weight = 0
|
weight = 0
|
||||||
title = "Localization"
|
title = "Localization"
|
||||||
[extra]
|
[extra]
|
||||||
section = 2
|
section = 3
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Duckling ships with a localization system based on one used in [tabi](https://github.com/welpo/tabi), which is easy to use and flexible at the same time.
|
Duckling ships with a localization system based on one used in [tabi](https://github.com/welpo/tabi), which is easy to use and flexible at the same time.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
weight = 1
|
weight = 1
|
||||||
title = "Styling"
|
title = "Styling"
|
||||||
[extra]
|
[extra]
|
||||||
section = 2
|
section = 3
|
||||||
+++
|
+++
|
||||||
|
|
||||||
To add your own or override existing styles, create a custom style and add it in the `config.toml`:
|
To add your own or override existing styles, create a custom style and add it in the `config.toml`:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user