From 1c8601385411dc26b2778ad9fb7c02235e8b7277 Mon Sep 17 00:00:00 2001 From: Ava Gaiety Wroten Date: Sat, 8 Jan 2022 20:09:35 -0600 Subject: [PATCH] Getting 11ty compiling right --- .eleventy.js | 12 ++++++++++++ content/.obsidian/app.json | 3 ++- content/.obsidian/workspace | 16 +++++++++------- index.md => content/index.md | 0 content/posts/ember-modifiers.md | 12 ++++++------ package.json | 4 ++-- 6 files changed, 31 insertions(+), 16 deletions(-) create mode 100644 .eleventy.js rename index.md => content/index.md (100%) diff --git a/.eleventy.js b/.eleventy.js new file mode 100644 index 0000000..bdb4ea7 --- /dev/null +++ b/.eleventy.js @@ -0,0 +1,12 @@ +module.exports = function(eleventyConfig) { + eleventyConfig.addPassthroughCopy("./content/images"); + + return { + htmlTemplateEngine: "haml", + markdownTemplateEngine: "md", + dir: { + input: "./content", + output: "./_site" + } + } +}; diff --git a/content/.obsidian/app.json b/content/.obsidian/app.json index 8362611..61e7b26 100644 --- a/content/.obsidian/app.json +++ b/content/.obsidian/app.json @@ -1,3 +1,4 @@ { - "legacyEditor": false + "legacyEditor": false, + "vimMode": true } \ No newline at end of file diff --git a/content/.obsidian/workspace b/content/.obsidian/workspace index 607c272..0c0e54c 100644 --- a/content/.obsidian/workspace +++ b/content/.obsidian/workspace @@ -4,7 +4,7 @@ "type": "split", "children": [ { - "id": "3fddf13f52af1e84", + "id": "16ac567cad39cb57", "type": "leaf", "state": { "type": "markdown", @@ -40,7 +40,7 @@ "state": { "type": "search", "state": { - "query": "", + "query": "\"{{! my-component.hbs }}\"", "matchingCase": false, "explainSearch": false, "collapseAll": false, @@ -87,15 +87,17 @@ "width": 300, "collapsed": true }, - "active": "3fddf13f52af1e84", + "active": "16ac567cad39cb57", "lastOpenFiles": [ "posts/code2college-volunteering.md", + "posts/catjingle-5k-a-first.md", + "posts/blm.md", + "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/a_modern_terminal_workflow_4.md", - "posts/a_modern_terminal_workflow_3.md", - "posts/a_modern_terminal_workflow_2.md", - "posts/a_modern_terminal_workflow_1.md", - "posts/allovue.md" + "posts/a_modern_terminal_workflow_3.md" ] } \ No newline at end of file diff --git a/index.md b/content/index.md similarity index 100% rename from index.md rename to content/index.md diff --git a/content/posts/ember-modifiers.md b/content/posts/ember-modifiers.md index 416b56f..972ad07 100644 --- a/content/posts/ember-modifiers.md +++ b/content/posts/ember-modifiers.md @@ -33,8 +33,8 @@ ember install ember-modifier Below is an example for how to track the focus state of a DOM element. -```html -{{!-- my-component.hbs --}} +```handlebars +{{! my-component.hbs }}