divide into static and generated site parts
1
.gitignore
vendored
|
@ -0,0 +1 @@
|
||||||
|
site
|
19
Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
all: static site/index-2.html
|
||||||
|
|
||||||
|
.PHONY: site static
|
||||||
|
|
||||||
|
site:
|
||||||
|
mkdir -p site
|
||||||
|
|
||||||
|
static: site
|
||||||
|
cp -r static/* site
|
||||||
|
|
||||||
|
site/index-2.html: src/index.md src/nav.html
|
||||||
|
pandoc src/index.md \
|
||||||
|
--standalone \
|
||||||
|
--section-divs \
|
||||||
|
--css style.css \
|
||||||
|
--no-highlight \
|
||||||
|
--include-before-body src/nav.html \
|
||||||
|
--from markdown+emoji \
|
||||||
|
-o site/index-2.html
|
1
mathdice
|
@ -1 +0,0 @@
|
||||||
/home/klay/code/mathdice
|
|
7
src/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: nycki.net
|
||||||
|
...
|
||||||
|
|
||||||
|
## Hello World
|
||||||
|
|
||||||
|
lorem ipsum dolor sit amet.
|
3
src/nav.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<nav>
|
||||||
|
<a href="/">home</a>
|
||||||
|
</nav>
|
10
src/style.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
|
max-width: 100ch;
|
||||||
|
margin: auto;
|
||||||
|
padding: 1ch;
|
||||||
|
}
|
||||||
|
|
||||||
|
section.level2 {
|
||||||
|
border-top: 0.5ch solid;
|
||||||
|
}
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
1
static/mathdice
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/home/klay/code/mathdice
|
|
@ -1,14 +1,10 @@
|
||||||
|
:root {
|
||||||
body {
|
|
||||||
background-color: black;
|
|
||||||
max-width: 100ch;
|
|
||||||
margin: 1rem auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
color: hotpink;
|
color: hotpink;
|
||||||
padding: 1rem;
|
padding: 2rem;
|
||||||
|
background-color: black;
|
||||||
|
max-width: 100ch;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|