init
This commit is contained in:
commit
4d1663e588
12 changed files with 341 additions and 0 deletions
1
examples/quickstart/blog/today.doll
Normal file
1
examples/quickstart/blog/today.doll
Normal file
|
@ -0,0 +1 @@
|
|||
&hello world!!
|
7
examples/quickstart/default.nix
Normal file
7
examples/quickstart/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, brewTea, ... }: brewTea {
|
||||
name = "examples_quickstart";
|
||||
version = "0.0.0";
|
||||
|
||||
src = ./.;
|
||||
layoutSrc = ./layouts;
|
||||
}
|
16
examples/quickstart/index.doll
Normal file
16
examples/quickstart/index.doll
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
title: awawa!
|
||||
layout: alt.html
|
||||
---
|
||||
|
||||
this is markdoll!
|
||||
|
||||
&so it is really gay to use other doll's software right?
|
||||
yeah.........
|
||||
|
||||
&look at this
|
||||
[link(/page2.html):there's another page!!!!]
|
||||
|
||||
[img(https://codeberg.org/0x57e11a/markdoll/raw/branch/main/button.png)::
|
||||
alt text goes here (88x31 button that says MADE WITH MARKDOLL)
|
||||
]
|
12
examples/quickstart/layouts/alt.html
Normal file
12
examples/quickstart/layouts/alt.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!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>
|
6
examples/quickstart/layouts/default.html
Normal file
6
examples/quickstart/layouts/default.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html public "default layout">
|
||||
<title>%%TITLE%% | default layout</title>
|
||||
<body>
|
||||
<nav>default layout!!!</nav>
|
||||
<main>%%CONTENT%%</main>
|
||||
</body>
|
6
examples/quickstart/page2.doll
Normal file
6
examples/quickstart/page2.doll
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: AWAWAWA
|
||||
---
|
||||
|
||||
&real awawa shit
|
||||
haha gottem
|
Loading…
Add table
Add a link
Reference in a new issue