Getting 11ty compiling right
This commit is contained in:
parent
012aee899e
commit
1c86013854
6 changed files with 31 additions and 16 deletions
12
.eleventy.js
Normal file
12
.eleventy.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
module.exports = function(eleventyConfig) {
|
||||
eleventyConfig.addPassthroughCopy("./content/images");
|
||||
|
||||
return {
|
||||
htmlTemplateEngine: "haml",
|
||||
markdownTemplateEngine: "md",
|
||||
dir: {
|
||||
input: "./content",
|
||||
output: "./_site"
|
||||
}
|
||||
}
|
||||
};
|
3
content/.obsidian/app.json
vendored
3
content/.obsidian/app.json
vendored
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"legacyEditor": false
|
||||
"legacyEditor": false,
|
||||
"vimMode": true
|
||||
}
|
16
content/.obsidian/workspace
vendored
16
content/.obsidian/workspace
vendored
|
@ -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"
|
||||
]
|
||||
}
|
|
@ -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 }}
|
||||
<button
|
||||
{{on 'focus' this.handleFocus}}
|
||||
{{on 'blur' this.handleBlur}}
|
||||
|
@ -143,8 +143,8 @@ module('Integration | Modifier | key-down', function(hooks) {
|
|||
|
||||
A simple example of a focusable element listening for the Enter key to be pressed.
|
||||
|
||||
```html
|
||||
{{!-- my-component.hbs --}}
|
||||
```handlebars
|
||||
{{! my-component.hbs }}
|
||||
<button
|
||||
{{key-down this.handleEnter key='Enter'}}
|
||||
My Button
|
||||
|
@ -169,8 +169,8 @@ _Note, often times it may be better to listen for keyup rather than keydown for
|
|||
|
||||
Sometimes you simply want to stop the default behavior of a key, such as scrolling down with an arrow key.
|
||||
|
||||
```html
|
||||
{{!-- my-component.hbs --}}
|
||||
```handlebars
|
||||
{{! my-component.hbs }}
|
||||
<dialog
|
||||
tabindex="0"
|
||||
role='dialog'
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"description": "Gaiety's Blog",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "@11ty/eleventy",
|
||||
"start": "@11ty/eleventy --serve"
|
||||
"build": "eleventy",
|
||||
"start": "eleventy --serve"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Add table
Reference in a new issue