add basic stuff

This commit is contained in:
2023-10-11 02:20:10 +05:30
parent eaca56b876
commit 2552a4b9d4
4 changed files with 55 additions and 0 deletions

13
eleventy.config.cjs Normal file
View File

@@ -0,0 +1,13 @@
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");
module.exports = function(eleventyConfig){
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
eleventyConfig.addPassthroughCopy("static");
return {
pathPrefix: "/",
dir: {
input: "src",
},
}
}

4
src/_data/site.json Normal file
View File

@@ -0,0 +1,4 @@
{
"name": "Rainbow Croissant",
"desc": "tech aids for EFL Uni students"
}

33
src/_includes/base.liquid Normal file
View File

@@ -0,0 +1,33 @@
---
---
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta charset="utf-8">
<title>
{%if title%}
{{title | append: " | " | append: site.name}}
{%else%}
{{site.name}}
{%endif%}
</title>
<meta name="description" content="{{site.desc}}">
<link rel="stylesheet" href="/static/pico.min.css">
</head>
<body>
<header>
<h1><a href="/">{{site.name}}</a></h1>
<nav>
<ul>
<li><a href="/feepaymail">Fee Payment Mail</a></li>
<li><a href="/about">About</a></li>
</ul>
</nav>
</header>
<main>
{{-content-}}
</main>
<footer></footer>
</body>
</html>

5
static/pico.min.css vendored Normal file

File diff suppressed because one or more lines are too long