From 6d3bb19a769bd47ef0e2cfbd731500b3bbcb5373 Mon Sep 17 00:00:00 2001
From: Cyper
Date: Mon, 16 Jun 2025 02:19:37 -0400
Subject: [PATCH] Example starter code from official docs
---
src/_includes/layout.html | 17 +++++++++++++++++
src/_site/index.html | 26 ++++++++++++++++++++++++++
src/_site/posts/post-1/index.html | 18 ++++++++++++++++++
src/_site/posts/post-2/index.html | 18 ++++++++++++++++++
src/index.html | 9 +++++++++
src/posts/post-1.md | 5 +++++
src/posts/post-2.md | 5 +++++
src/posts/posts.json | 4 ++++
8 files changed, 102 insertions(+)
create mode 100644 src/_includes/layout.html
create mode 100644 src/_site/index.html
create mode 100644 src/_site/posts/post-1/index.html
create mode 100644 src/_site/posts/post-2/index.html
create mode 100644 src/index.html
create mode 100644 src/posts/post-1.md
create mode 100644 src/posts/post-2.md
create mode 100644 src/posts/posts.json
diff --git a/src/_includes/layout.html b/src/_includes/layout.html
new file mode 100644
index 0000000..5808b50
--- /dev/null
+++ b/src/_includes/layout.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Document
+
+
+
+ {{ title | default: "Bloggy" }}
+
+
+ {{ content }}
+
+
+
+
\ No newline at end of file
diff --git a/src/_site/index.html b/src/_site/index.html
new file mode 100644
index 0000000..d45e59f
--- /dev/null
+++ b/src/_site/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+First post!
+
+
+
+Second post!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/_site/posts/post-1/index.html b/src/_site/posts/post-1/index.html
new file mode 100644
index 0000000..4eebb31
--- /dev/null
+++ b/src/_site/posts/post-1/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Document
+
+
+
+
+ First post!
+
+
+
+
+
\ No newline at end of file
diff --git a/src/_site/posts/post-2/index.html b/src/_site/posts/post-2/index.html
new file mode 100644
index 0000000..cb23e00
--- /dev/null
+++ b/src/_site/posts/post-2/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Document
+
+
+
+
+ Second post!
+
+
+
+
+
\ No newline at end of file
diff --git a/src/index.html b/src/index.html
new file mode 100644
index 0000000..5227d01
--- /dev/null
+++ b/src/index.html
@@ -0,0 +1,9 @@
+---
+layout: layout.html
+title: Hello World!
+---
+
+{% for post in collections.post %}
+
+{{ post.content }}
+{% endfor %}
\ No newline at end of file
diff --git a/src/posts/post-1.md b/src/posts/post-1.md
new file mode 100644
index 0000000..a638331
--- /dev/null
+++ b/src/posts/post-1.md
@@ -0,0 +1,5 @@
+---
+title: Post Title
+---
+
+First post!
\ No newline at end of file
diff --git a/src/posts/post-2.md b/src/posts/post-2.md
new file mode 100644
index 0000000..1f7c691
--- /dev/null
+++ b/src/posts/post-2.md
@@ -0,0 +1,5 @@
+---
+title: Post Title Two!
+---
+
+Second post!
\ No newline at end of file
diff --git a/src/posts/posts.json b/src/posts/posts.json
new file mode 100644
index 0000000..be37ec9
--- /dev/null
+++ b/src/posts/posts.json
@@ -0,0 +1,4 @@
+{
+ "layout": "layout.html",
+ "tags": "post"
+}
\ No newline at end of file