Skip to content

Commit 741f4ee

Browse files
committed
Break up main page into partials
1 parent 78e904b commit 741f4ee

File tree

4 files changed

+25
-11
lines changed

4 files changed

+25
-11
lines changed

.eleventyignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/_*.*

src/_description.html

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

src/_design-and-discussion.html

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

src/index.html

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,7 @@
77
<h1 class="text-4xl text-center">kdl - Kat's Document Language</h1>
88
</header>
99

10-
<section class="px-2 md:px-4 prose prose-xl mx-auto" id="description">
11-
<p>
12-
kdl is a document language, mostly based on
13-
<a href="https://sdlang.org/">SDLang</a>, with xml-like semantics that looks
14-
like you're invoking a bunch of CLI commands!
15-
</p>
1610

17-
<p>
18-
It's meant to be used both as a serialization format and a configuration
19-
language, and is relatively light on syntax compared to XML.
20-
</p>
21-
</section>
11+
{% include ./_description.html %}
12+
{% include ./_design-and-discussion.html %}
13+

0 commit comments

Comments
 (0)