frontmatter meta stuff

This commit is contained in:
41666 2025-04-21 19:24:16 -07:00
parent 9aad36f910
commit c2861b8f18
7 changed files with 204 additions and 18 deletions

View file

@ -4,4 +4,7 @@
src = ./.;
layoutSrc = ./layouts;
# maybe don't do this but its possible to reference _any file_.
defaultLayout = ./layouts/default.html;
}

View file

@ -1,6 +1,8 @@
---
title: awawa!
layout: alt.html
description: this is teapot!!
tags: teapot, markdoll
---
this is markdoll!

View file

@ -1,12 +1,17 @@
<!DOCTYPE html public "alt layout">
<title>%%TITLE%% | alt layout</title>
<style>
body {
background-color: black;
color: white;
}
</style>
<body>
<nav>alt layout!!!</nav>
<main>%%CONTENT%%</main>
</body>
<html>
<head>
<title>%%TITLE%% | alt layout</title>
%%HEAD%%
<style>
body {
background-color: black;
color: white;
}
</style>
</head>
<body>
<nav>alt layout!!!</nav>
<main>%%CONTENT%%</main>
</body>
</html>

View file

@ -1,6 +1,11 @@
<!DOCTYPE html public "default layout">
<title>%%TITLE%% | default layout</title>
<body>
<nav>default layout!!!</nav>
<main>%%CONTENT%%</main>
</body>
<html>
<head>
<title>%%TITLE%% | default layout</title>
%%HEAD%%
</head>
<body>
<nav>default layout!!!</nav>
<main>%%CONTENT%%</main>
</body>
</html>

View file

@ -1,5 +1,6 @@
---
title: AWAWAWA
layout: default.html
---
&real awawa shit