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",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "3fddf13f52af1e84",
|
"id": "16ac567cad39cb57",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "search",
|
"type": "search",
|
||||||
"state": {
|
"state": {
|
||||||
"query": "",
|
"query": "\"{{! my-component.hbs }}\"",
|
||||||
"matchingCase": false,
|
"matchingCase": false,
|
||||||
"explainSearch": false,
|
"explainSearch": false,
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
|
@ -87,15 +87,17 @@
|
||||||
"width": 300,
|
"width": 300,
|
||||||
"collapsed": true
|
"collapsed": true
|
||||||
},
|
},
|
||||||
"active": "3fddf13f52af1e84",
|
"active": "16ac567cad39cb57",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"posts/code2college-volunteering.md",
|
"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/code2college-volunteering-resume-prep.md",
|
||||||
"posts/austin-givecamp-2019.md",
|
"posts/austin-givecamp-2019.md",
|
||||||
"posts/a_modern_terminal_workflow_4.md",
|
"posts/a_modern_terminal_workflow_4.md",
|
||||||
"posts/a_modern_terminal_workflow_3.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"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -33,8 +33,8 @@ ember install ember-modifier
|
||||||
|
|
||||||
Below is an example for how to track the focus state of a DOM element.
|
Below is an example for how to track the focus state of a DOM element.
|
||||||
|
|
||||||
```html
|
```handlebars
|
||||||
{{!-- my-component.hbs --}}
|
{{! my-component.hbs }}
|
||||||
<button
|
<button
|
||||||
{{on 'focus' this.handleFocus}}
|
{{on 'focus' this.handleFocus}}
|
||||||
{{on 'blur' this.handleBlur}}
|
{{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.
|
A simple example of a focusable element listening for the Enter key to be pressed.
|
||||||
|
|
||||||
```html
|
```handlebars
|
||||||
{{!-- my-component.hbs --}}
|
{{! my-component.hbs }}
|
||||||
<button
|
<button
|
||||||
{{key-down this.handleEnter key='Enter'}}
|
{{key-down this.handleEnter key='Enter'}}
|
||||||
My Button
|
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.
|
Sometimes you simply want to stop the default behavior of a key, such as scrolling down with an arrow key.
|
||||||
|
|
||||||
```html
|
```handlebars
|
||||||
{{!-- my-component.hbs --}}
|
{{! my-component.hbs }}
|
||||||
<dialog
|
<dialog
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
role='dialog'
|
role='dialog'
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
"description": "Gaiety's Blog",
|
"description": "Gaiety's Blog",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "@11ty/eleventy",
|
"build": "eleventy",
|
||||||
"start": "@11ty/eleventy --serve"
|
"start": "eleventy --serve"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Add table
Reference in a new issue