diff --git a/content/static/style.css b/content/static/style.css index d900bda..7a3a178 100644 --- a/content/static/style.css +++ b/content/static/style.css @@ -31,18 +31,6 @@ header { text-transform: lowercase; } -.post-nav { - font-family: monospace; -} - -.post-nav .symbol { - color: var(--main-bullet-color); -} - -.post-nav a { - margin: 0 2px; -} - .site-logo { color: inherit; font-weight: bold; diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..50fc86a --- /dev/null +++ b/templates/base.html @@ -0,0 +1,42 @@ + + + + {{ metadata.title }} + + + + + + + + +
+ {% if header %} + + {% endif %} + {% block content %}{% endblock %} + {% if footer %} + + {% endif %} +
+ + + diff --git a/templates/basic.html b/templates/basic.html new file mode 100644 index 0000000..c21527d --- /dev/null +++ b/templates/basic.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +{% if metadata.show_title %} +{% include "title.html" %} +{% endif %} +{{ content | safe }} +{% endblock %} + diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..70513a7 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} {% block content %} + +{% if metadata.show_title %} +{% include "title.html" %} +{% if metadata.date %} +
+ +
+{% endif %} +
+{% endif %} + +
{{ content | safe }}
+{% endblock %} + + diff --git a/templates/post_list.html b/templates/post_list.html new file mode 100644 index 0000000..4da52b7 --- /dev/null +++ b/templates/post_list.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} {% block content %} + +{% if metadata.show_title %} +{% include "title.html" %} +{% endif %} + +
{{ content | safe }}
+ +{% if post_list %} + +{% endif %} {% endblock %} diff --git a/templates/title.html b/templates/title.html new file mode 100644 index 0000000..59c4f6e --- /dev/null +++ b/templates/title.html @@ -0,0 +1 @@ +

{{ metadata.title }}