commit fbb4f25b7724987f61045f12eaf8bf9ee8752c35 Author: Hazel Snider Date: Tue Sep 8 21:10:48 2020 -0400 Initial shit. diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..9eea0d9 --- /dev/null +++ b/config.toml @@ -0,0 +1,19 @@ +# The URL the site will be built for +base_url = "https://hazelnut.dev" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = false + +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = false + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = false + +[extra] +menu = [ + {url = "$BASE_URL", name = "Home"}, + {url = "https://github.com/hazellanes/", name = "github"}, + {url = "https://hazellanes.itch.io/", name = "itch.io"}, +] diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..2cba45a --- /dev/null +++ b/content/_index.md @@ -0,0 +1,13 @@ ++++ ++++ + +### Hewwo + +Welcome to hell! I am really great! +How do ya doo??? Ifd DSkfj sdkf jlkdsf jlkdsjf +dsa kfjds flkjds fsad +f +kdsf jds +jf +ds +fdsf.. HAHAHAHAHAHAAH. diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..334ebc0 --- /dev/null +++ b/static/style.css @@ -0,0 +1,87 @@ +html { + font-size: 16px; +} + +body { + margin: auto; + max-width: 80ch; + font-size: 1rem; + line-height: 1.6; + font-family:Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; + color: #d3d0c8; + background-color: #2d2d2d; + padding: 1rem; +} + +h1, h2, h3 { + font-weight: bold; + font-size: 1em; +} + +h1 { + border-bottom: 4px solid #d3d0c8; + border-top: 4px solid #d3d0c8; + padding-top: 0.5em; +} + +h2 { + border-bottom: 2px solid #d3d0c8; +} + +h1::before { + content: "# "; +} + +h2::before { + content: "## "; +} + +h3::before { + content: "### "; +} + +a { + text-decoration: none; + border-bottom: 1px solid #cd98cd; + color: #d3d0c8; +} + +a::after { + content: " " url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20class='i-external'%20viewBox='0%200%2032%2032'%20width='14'%20height='14'%20fill='none'%20stroke='%23ffcd5d'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='9.38%'%3E%3Cpath%20d='M14%209%20L3%209%203%2029%2023%2029%2023%2018%20M18%204%20L28%204%2028%2014%20M28%204%20L14%2018'/%3E%3C/svg%3E"); +} + +nav a { + color: #ffcd5d; +} + +table { + border-collapse: collapse; +} + +table, th, td { + padding: 0.5em; +} + +th { + border-bottom: 2px solid #d3d0c8; +} + +td { + border: 1px solid #d3d0c8; +} + +table tr td:first-child { + border-left: 0; +} + +table tr td:last-child { + border-right: 0; +} + +table tr:last-child td { + border-bottom: 0; +} + +tr:nth-child(even) { + background-color: #353535; +} diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..0c38af8 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,23 @@ + + + + {% block head %} + + + {% block title %}Hazelnut{% endblock title %} + + + {% endblock head %} + + + {% include "header.html" %} +
+ {% block content %} + {% endblock content %} +
+ + + diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..5db20b5 --- /dev/null +++ b/templates/header.html @@ -0,0 +1,9 @@ +
+ +
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..5087909 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}Index - Hazelnut{% endblock title %} + +{% block content %} +{{ section.content | safe }} +{% endblock content %} diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..c402d40 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title }} - Hazelnut{% endblock title %} + +{% block content %} +

Table of Contents

+ + +{{ page.content | safe }} +{% endblock content %}