File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1-
2-
31import path from "node:path" ;
42import * 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 ( "_" ) ) {
Original file line number Diff line number Diff 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 %}
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 1- $background : #ddd ;
1+ $background : #ccc ;
You can’t perform that action at this time.
0 commit comments