Skip to content

Commit fcd2c0a

Browse files
committed
Deploy action
1 parent 62f84b1 commit fcd2c0a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

eleventy.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
import path from "node:path";
42
import * as sass from "sass";
53

@@ -10,7 +8,7 @@ export default function (eleventyConfig) {
108
// opt-out of Eleventy Layouts
119
useLayouts: false,
1210

13-
compile: async function (inputContent, inputPath) {
11+
async compile(inputContent, inputPath) {
1412
let parsed = path.parse(inputPath);
1513
// Don’t compile file names that start with an underscore
1614
if(parsed.name.startsWith("_")) {

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ <h2> {{ post.data.title }}</h2>
1010
<p>{{ post.content }}</p>
1111

1212
<a href="{{ post.url }}">read more</a>
13+
1314
{% endfor %}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {
6-
"build": "npx @11ty/eleventy --formats=scss",
6+
"build": "npx @11ty/eleventy && npx @11ty/eleventy --formats=scss",
77
"serve": "npx @11ty/eleventy --formats=scss --serve",
88
"debug": "DEBUG=* npx @11ty/eleventy",
99
"test": "jest"

styles/_variable.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$background: #ddd;
1+
$background: #ccc;

0 commit comments

Comments
 (0)