From 5e2a82641aab330f9a94a74b5fa4386dd684d7f1 Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Sat, 11 Apr 2020 18:59:35 -0500 Subject: initial commit --- templates/footer.html | 9 +++++++++ templates/header.html | 8 ++++++++ templates/index.html | 25 +++++++++++++++++++++++++ templates/post.html | 11 +++++++++++ templates/style.css | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+) create mode 100644 templates/footer.html create mode 100644 templates/header.html create mode 100644 templates/index.html create mode 100644 templates/post.html create mode 100644 templates/style.css (limited to 'templates') diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..7016b7a --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,9 @@ +
+ + + + + diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..e913fc1 --- /dev/null +++ b/templates/header.html @@ -0,0 +1,8 @@ + + + + + {{ title }} + + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..dbd6bd4 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,25 @@ +{% include "header.html" %} + +

+blaise/blog +

+ +
+ +

+Welcome to my personal blog!
+This page lists my blog entries in reverse chronological order.
+You may also browse by tag (coming soon).
+You may be interested in my meta post (coming soon).
+Thanks for stopping by! —Blaise +

+ +

+{% for post in posts %} + {{ post.date }} + {{ post.title }} +
+{% endfor %} +

+ +{% include "footer.html" %} diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..563fbb1 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,11 @@ +{% include "header.html" %} + +

+blaise/blog/{{ post.title }} +

+ +
+ +{{ post.content }} + +{% include "footer.html" %} diff --git a/templates/style.css b/templates/style.css new file mode 100644 index 0000000..4517798 --- /dev/null +++ b/templates/style.css @@ -0,0 +1,35 @@ +a { + text-decoration: none; + color: #81a2be; +} + +body { + font-family: sans-serif; + margin: 40px auto; + max-width: 650px; + line-height: 1.5; + font-size: 16px; + background-color: #1d1f21; + color: #c5c8c6; + padding: 0 10px; + text-align: left; +} + +.singlespaced { + line-height: 1; +} + +.horizontal { + display: flex; + list-style-type: none; + padding: 0; + justify-content: space-between; +} + +.tab30 { + margin-left: 30px; +} + +.tab60 { + margin-left: 60px; +} -- cgit v1.2.3