diff --git a/.eleventy.js b/.eleventy.js
index c17b643..5d6db16 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -2,10 +2,13 @@ module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("./content/images");
return {
+ htmlTemplateEngine: "njk",
markdownTemplateEngine: "md",
dir: {
- input: "./content",
- output: "./_site"
+ includes: "../_includes",
+ layouts: "../_includes",
+ input: "content",
+ output: "_site"
}
}
};
diff --git a/_includes/indexlayout.njk b/_includes/indexlayout.njk
new file mode 100644
index 0000000..f07f00f
--- /dev/null
+++ b/_includes/indexlayout.njk
@@ -0,0 +1,17 @@
+
+
+
+
+
+ {{ title }}
+
+
+ {{ content | safe }}
+
+ {%- for post in collections.all -%}
+
+ {{ post.data.title }}
+
+ {%- endfor -%}
+
+
diff --git a/content/.obsidian/workspace b/content/.obsidian/workspace
index ab10038..1c64e99 100644
--- a/content/.obsidian/workspace
+++ b/content/.obsidian/workspace
@@ -9,7 +9,7 @@
"state": {
"type": "markdown",
"state": {
- "file": "posts/deving_on_linux_is_fun.md",
+ "file": "index.md",
"mode": "source",
"source": false
}
@@ -69,7 +69,7 @@
"state": {
"type": "backlink",
"state": {
- "file": "posts/deving_on_linux_is_fun.md",
+ "file": "index.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -89,6 +89,7 @@
},
"active": "a8e90712c1fef449",
"lastOpenFiles": [
+ "index.md",
"posts/deving_on_linux_is_fun.md",
"posts/coming-out-again-nb.md",
"posts/code2college-volunteering.md",
@@ -97,7 +98,6 @@
"posts/best-improv-performance-yet.md",
"posts/a_modern_terminal_workflow_2.md",
"posts/ember-modifiers.md",
- "posts/code2college-volunteering-resume-prep.md",
- "posts/austin-givecamp-2019.md"
+ "posts/code2college-volunteering-resume-prep.md"
]
}
\ No newline at end of file
diff --git a/content/index.md b/content/index.md
index 99c677a..c3fe599 100644
--- a/content/index.md
+++ b/content/index.md
@@ -1,5 +1,7 @@
---
eleventyExcludeFromCollections: true
+layout: indexlayout
+title: Gaiety's Life
---
# Gaiety's Life