Break up main page into partials

This commit is contained in:
Scott 2020-12-18 15:14:51 -05:00
parent 78e904b120
commit 741f4eef29
4 changed files with 25 additions and 11 deletions

1
.eleventyignore Normal file
View File

@ -0,0 +1 @@
src/_*.*

12
src/_description.html Normal file
View File

@ -0,0 +1,12 @@
<section class="py-10 px-2 md:px-4 prose prose-xl mx-auto" id="description">
<p>
kdl is a document language, mostly based on
<a href="https://sdlang.org/">SDLang</a>, with xml-like semantics that looks
like you're invoking a bunch of CLI commands!
</p>
<p>
It's meant to be used both as a serialization format and a configuration
language, and is relatively light on syntax compared to XML.
</p>
</section>

View File

@ -0,0 +1,9 @@
<section class="py-10 px-2 md:px-4 prose prose-xl mx-auto" id="design-and-discussion">
<h2>Design and discussion</h2>
<p>
kdl is still extremely new, and discussion about the format should happen
over on the
<a href="https://github.com/kdoclang/kdl/discussions">discussions</a> page
in the Github repo. Feel free to jump in and give us your 2 cents!
</p>
</section>

View File

@ -7,15 +7,7 @@ title: kdl - Kat's Document Language
<h1 class="text-4xl text-center">kdl - Kat's Document Language</h1> <h1 class="text-4xl text-center">kdl - Kat's Document Language</h1>
</header> </header>
<section class="px-2 md:px-4 prose prose-xl mx-auto" id="description">
<p>
kdl is a document language, mostly based on
<a href="https://sdlang.org/">SDLang</a>, with xml-like semantics that looks
like you're invoking a bunch of CLI commands!
</p>
<p> {% include ./_description.html %}
It's meant to be used both as a serialization format and a configuration {% include ./_design-and-discussion.html %}
language, and is relatively light on syntax compared to XML.
</p>
</section>