Compare commits

..

No commits in common. "27b5cc11af4f46ee9868a15484529c864d1d49ea" and "cfbc2443810d0adcf0fff3686b83a67e5697dda8" have entirely different histories.

4 changed files with 1 additions and 38 deletions

View file

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if title %} {{ title }} | yukinets {% else %} yukinets {% endif %}</title>
</head>
<body>
{{ content | safe }}
</body>
</html>

View file

@ -1,21 +0,0 @@
const sass = require("sass");
module.exports = function (eleventyConfig) {
eleventyConfig.addTemplateFormats("scss");
// Creates the extension for use
eleventyConfig.addExtension("scss", {
outputFileExtension: "css", // optional, default: "html"
// `compile` is called once per .scss file in the input directory
compile: async function (inputContent) {
let result = sass.compileString(inputContent);
// This is the render function, `data` is the full data cascade
return async (data) => {
return result.css;
};
},
});
};

View file

@ -1,5 +0,0 @@
---
layout: base
title: home
---
goodbye...

View file

@ -6,7 +6,7 @@
"scripts": {
"watch:eleventy": "npx @11ty/eleventy --watch",
"watch:sass": "npx sass sass:_site/css --watch",
"start": "npm run watch:eleventy"
"start": "npm run watch:eleventy & npm run watch:sass"
},
"keywords": [],
"author": "yuki",