From 7cbf18ce748e00c534cea21fe073829bc3aef450 Mon Sep 17 00:00:00 2001 From: Hazel Snider Date: Wed, 23 Dec 2020 11:55:55 -0500 Subject: [PATCH] Somethin, idk --- config.toml | 5 +++-- content/farewell.md | 4 ++++ content/tabletop/_index.md | 5 +++++ content/tabletop/new-system.md | 8 ++++++++ content/tabletop/testo.md | 8 ++++++++ static/robots.txt | 2 ++ static/style.css | 21 ++++++++++++++++++--- templates/header.html | 14 +++++++++----- templates/section.html | 22 ++++++++++++++++++++++ 9 files changed, 79 insertions(+), 10 deletions(-) create mode 100644 content/farewell.md create mode 100644 content/tabletop/_index.md create mode 100644 content/tabletop/new-system.md create mode 100644 content/tabletop/testo.md create mode 100644 static/robots.txt create mode 100644 templates/section.html diff --git a/config.toml b/config.toml index 7fd3eac..1fd11fc 100644 --- a/config.toml +++ b/config.toml @@ -16,6 +16,7 @@ build_search_index = false [extra] menu = [ {url = "$BASE_URL", name = "Home"}, - {url = "$BASE_URL/glog", name = "GLOG Rules"}, - {url = "https://pics.hazelnut.dev", name = "Photos"}, + {url = "$BASE_URL/glog", name = "GLOG Rules", external = true}, + {url = "$BASE_URL/tabletop", name = "Tabletop Shit"}, + {url = "https://pics.hazelnut.dev", name = "Photos", external = true}, ] diff --git a/content/farewell.md b/content/farewell.md new file mode 100644 index 0000000..8af7aaf --- /dev/null +++ b/content/farewell.md @@ -0,0 +1,4 @@ ++++ +title = "Farewell" +draft = true ++++ diff --git a/content/tabletop/_index.md b/content/tabletop/_index.md new file mode 100644 index 0000000..df956b3 --- /dev/null +++ b/content/tabletop/_index.md @@ -0,0 +1,5 @@ ++++ +title = "Tabletop Experiments and Stuff" ++++ + +HEWWO diff --git a/content/tabletop/new-system.md b/content/tabletop/new-system.md new file mode 100644 index 0000000..4904edd --- /dev/null +++ b/content/tabletop/new-system.md @@ -0,0 +1,8 @@ ++++ +title = "New Tabletop RPG System (WIP)" +description = "Bored and restless, so time it is to design a tabletop system..." +date = 2020-12-21 +draft = true ++++ + +GAAAA diff --git a/content/tabletop/testo.md b/content/tabletop/testo.md new file mode 100644 index 0000000..791bdb3 --- /dev/null +++ b/content/tabletop/testo.md @@ -0,0 +1,8 @@ ++++ +title = "New Tabletop RPG System NOT REAL" +description = "Bored and restless, so time it is to design a tabletop system..." +date = 2020-12-21 +draft = true ++++ + +GAAAA diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/static/style.css b/static/style.css index d37bb75..183f69b 100644 --- a/static/style.css +++ b/static/style.css @@ -74,17 +74,27 @@ a:not(.internal)::after { content: " " url("/link.svg"); } -a.external::after { +a.show-url::after { content: " [" attr(href) "]" url("/link.svg"); color: var(--link-fancy); } +nav ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +nav li { + display: inline; +} + nav a { color: var(--link-fancy); } -nav a::after { - content: " " url("/link.svg"); +nav a.internal { + margin-right: 1ch; } div.table-wrapper { @@ -137,3 +147,8 @@ div.table-wrapper tr:nth-child(even) { float: right; cursor: pointer; } + +p.post-date { + color: var(--decoration); + margin: 0; +} diff --git a/templates/header.html b/templates/header.html index c9bfd40..23845f3 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,10 +1,14 @@

{{ config.title }}

diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..a51ae0c --- /dev/null +++ b/templates/section.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} + +{% block title %}{{ section.title }} - Hazelnut{% endblock title %} + +{% block content %} +{{ section.content | safe }} +
+ +{% endblock content %}