From 3d7f197fcc9931d7abee49cd58dc6566d1cfb502 Mon Sep 17 00:00:00 2001 From: Nicholas Lamicela Date: Fri, 13 Oct 2023 13:39:10 -0700 Subject: [PATCH] divide into static and generated site parts --- .gitignore | 1 + Makefile | 19 ++++++++++++++++++ mathdice | 1 - src/index.md | 7 +++++++ src/nav.html | 3 +++ src/style.css | 10 +++++++++ {2007 => static/2007}/Images/Gami.gif | Bin {2007 => static/2007}/Images/NewsCompass.gif | Bin .../2007}/Images/Traps_and_zoids01.gif | Bin .../2007}/Images/Traps_and_zoids02.gif | Bin .../2007}/Images/Traps_and_zoids03.gif | Bin {2007 => static/2007}/cartoons.html | 0 {2007 => static/2007}/index.html | 0 {2007 => static/2007}/news.html | 0 {2007 => static/2007}/trapzoid01.html | 0 {2007 => static/2007}/trapzoid02.html | 0 {2007 => static/2007}/trapzoid03.html | 0 LICENSE => static/LICENSE | 0 gallery-test.html => static/gallery-test.html | 0 .../images}/collabyrinth-title.png | Bin .../images}/traps-and-zoids_home.png | Bin index.html => static/index.html | 0 static/mathdice | 1 + .../poker-hands}/index.html | 0 {russet => static/russet}/index.html | 0 style.css => static/style.css | 14 +++++-------- 26 files changed, 46 insertions(+), 10 deletions(-) create mode 100644 Makefile delete mode 120000 mathdice create mode 100644 src/index.md create mode 100644 src/nav.html create mode 100644 src/style.css rename {2007 => static/2007}/Images/Gami.gif (100%) rename {2007 => static/2007}/Images/NewsCompass.gif (100%) rename {2007 => static/2007}/Images/Traps_and_zoids01.gif (100%) rename {2007 => static/2007}/Images/Traps_and_zoids02.gif (100%) rename {2007 => static/2007}/Images/Traps_and_zoids03.gif (100%) rename {2007 => static/2007}/cartoons.html (100%) rename {2007 => static/2007}/index.html (100%) rename {2007 => static/2007}/news.html (100%) rename {2007 => static/2007}/trapzoid01.html (100%) rename {2007 => static/2007}/trapzoid02.html (100%) rename {2007 => static/2007}/trapzoid03.html (100%) rename LICENSE => static/LICENSE (100%) rename gallery-test.html => static/gallery-test.html (100%) rename {images => static/images}/collabyrinth-title.png (100%) rename {images => static/images}/traps-and-zoids_home.png (100%) rename index.html => static/index.html (100%) create mode 100644 static/mathdice rename {poker-hands => static/poker-hands}/index.html (100%) rename {russet => static/russet}/index.html (100%) rename style.css => static/style.css (92%) diff --git a/.gitignore b/.gitignore index e69de29..1320f90 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +site diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4ad1fca --- /dev/null +++ b/Makefile @@ -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 diff --git a/mathdice b/mathdice deleted file mode 120000 index 4e02cd7..0000000 --- a/mathdice +++ /dev/null @@ -1 +0,0 @@ -/home/klay/code/mathdice \ No newline at end of file diff --git a/src/index.md b/src/index.md new file mode 100644 index 0000000..90262df --- /dev/null +++ b/src/index.md @@ -0,0 +1,7 @@ +--- +title: nycki.net +... + +## Hello World + +lorem ipsum dolor sit amet. \ No newline at end of file diff --git a/src/nav.html b/src/nav.html new file mode 100644 index 0000000..922d09c --- /dev/null +++ b/src/nav.html @@ -0,0 +1,3 @@ + diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..a46825f --- /dev/null +++ b/src/style.css @@ -0,0 +1,10 @@ +:root { + color-scheme: dark; + max-width: 100ch; + margin: auto; + padding: 1ch; +} + +section.level2 { + border-top: 0.5ch solid; +} \ No newline at end of file diff --git a/2007/Images/Gami.gif b/static/2007/Images/Gami.gif similarity index 100% rename from 2007/Images/Gami.gif rename to static/2007/Images/Gami.gif diff --git a/2007/Images/NewsCompass.gif b/static/2007/Images/NewsCompass.gif similarity index 100% rename from 2007/Images/NewsCompass.gif rename to static/2007/Images/NewsCompass.gif diff --git a/2007/Images/Traps_and_zoids01.gif b/static/2007/Images/Traps_and_zoids01.gif similarity index 100% rename from 2007/Images/Traps_and_zoids01.gif rename to static/2007/Images/Traps_and_zoids01.gif diff --git a/2007/Images/Traps_and_zoids02.gif b/static/2007/Images/Traps_and_zoids02.gif similarity index 100% rename from 2007/Images/Traps_and_zoids02.gif rename to static/2007/Images/Traps_and_zoids02.gif diff --git a/2007/Images/Traps_and_zoids03.gif b/static/2007/Images/Traps_and_zoids03.gif similarity index 100% rename from 2007/Images/Traps_and_zoids03.gif rename to static/2007/Images/Traps_and_zoids03.gif diff --git a/2007/cartoons.html b/static/2007/cartoons.html similarity index 100% rename from 2007/cartoons.html rename to static/2007/cartoons.html diff --git a/2007/index.html b/static/2007/index.html similarity index 100% rename from 2007/index.html rename to static/2007/index.html diff --git a/2007/news.html b/static/2007/news.html similarity index 100% rename from 2007/news.html rename to static/2007/news.html diff --git a/2007/trapzoid01.html b/static/2007/trapzoid01.html similarity index 100% rename from 2007/trapzoid01.html rename to static/2007/trapzoid01.html diff --git a/2007/trapzoid02.html b/static/2007/trapzoid02.html similarity index 100% rename from 2007/trapzoid02.html rename to static/2007/trapzoid02.html diff --git a/2007/trapzoid03.html b/static/2007/trapzoid03.html similarity index 100% rename from 2007/trapzoid03.html rename to static/2007/trapzoid03.html diff --git a/LICENSE b/static/LICENSE similarity index 100% rename from LICENSE rename to static/LICENSE diff --git a/gallery-test.html b/static/gallery-test.html similarity index 100% rename from gallery-test.html rename to static/gallery-test.html diff --git a/images/collabyrinth-title.png b/static/images/collabyrinth-title.png similarity index 100% rename from images/collabyrinth-title.png rename to static/images/collabyrinth-title.png diff --git a/images/traps-and-zoids_home.png b/static/images/traps-and-zoids_home.png similarity index 100% rename from images/traps-and-zoids_home.png rename to static/images/traps-and-zoids_home.png diff --git a/index.html b/static/index.html similarity index 100% rename from index.html rename to static/index.html diff --git a/static/mathdice b/static/mathdice new file mode 100644 index 0000000..4e02cd7 --- /dev/null +++ b/static/mathdice @@ -0,0 +1 @@ +/home/klay/code/mathdice \ No newline at end of file diff --git a/poker-hands/index.html b/static/poker-hands/index.html similarity index 100% rename from poker-hands/index.html rename to static/poker-hands/index.html diff --git a/russet/index.html b/static/russet/index.html similarity index 100% rename from russet/index.html rename to static/russet/index.html diff --git a/style.css b/static/style.css similarity index 92% rename from style.css rename to static/style.css index 9689de3..ebc1e60 100644 --- a/style.css +++ b/static/style.css @@ -1,14 +1,10 @@ - -body { - background-color: black; - max-width: 100ch; - margin: 1rem auto; -} - -main { +:root { font-family: sans-serif; color: hotpink; - padding: 1rem; + padding: 2rem; + background-color: black; + max-width: 100ch; + margin: 0 auto; } h1 {