mirror of
https://github.com/kevinnlsamuel/rainbowcroissant.git
synced 2025-12-06 10:06:01 +05:30
add basic stuff
This commit is contained in:
13
eleventy.config.cjs
Normal file
13
eleventy.config.cjs
Normal 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
4
src/_data/site.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "Rainbow Croissant",
|
||||||
|
"desc": "tech aids for EFL Uni students"
|
||||||
|
}
|
||||||
33
src/_includes/base.liquid
Normal file
33
src/_includes/base.liquid
Normal 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
5
static/pico.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user