From b847b87823dfd7e1b7870c67ea32199bc607f852 Mon Sep 17 00:00:00 2001 From: Kleidi Bujari Date: Wed, 18 Dec 2024 20:17:41 -0500 Subject: Enable github actions Moved personal blog to be built in this tree. Also enables github actions to host the site on pages. --- mod/web/blog/templates/base.html | 92 ++++++++++++++++++++++++++++++++------- mod/web/blog/templates/blog.html | 22 ---------- mod/web/blog/templates/index.html | 52 +++++----------------- mod/web/blog/templates/post.html | 4 +- 4 files changed, 92 insertions(+), 78 deletions(-) delete mode 100644 mod/web/blog/templates/blog.html (limited to 'mod/web/blog/templates') diff --git a/mod/web/blog/templates/base.html b/mod/web/blog/templates/base.html index 6757d02..5a91df5 100644 --- a/mod/web/blog/templates/base.html +++ b/mod/web/blog/templates/base.html @@ -3,24 +3,86 @@ - - {% block title %}4kb.net{% endblock title %} + - -
+
+ Kleidi Bujari <mail@4kb.net> + +
{% block content %} {% endblock %}
- diff --git a/mod/web/blog/templates/blog.html b/mod/web/blog/templates/blog.html deleted file mode 100644 index 6c92a07..0000000 --- a/mod/web/blog/templates/blog.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - - - 4kb.net - - -

{{ section.title }}

- -{{ section.content | safe }} - - - -{% endblock content %} diff --git a/mod/web/blog/templates/index.html b/mod/web/blog/templates/index.html index 74e9a0f..6e8a2af 100644 --- a/mod/web/blog/templates/index.html +++ b/mod/web/blog/templates/index.html @@ -1,44 +1,16 @@ {% extends "base.html" %} {% block content %} -

welcome!

- -

- I'm a computer engineering undergrad studying in Toronto. This is my personal - site where I sometimes publish long form posts on topics I'm interested in, or - short "logs" for information I want to remember. -

- -Find me on: - - - - - - - - - - - - - - - -

Recent Logs

- -{% set section = get_section(path="log/_index.md") %} - - -{% endblock content %} + {% endblock content %} + diff --git a/mod/web/blog/templates/post.html b/mod/web/blog/templates/post.html index b1981e4..b819520 100644 --- a/mod/web/blog/templates/post.html +++ b/mod/web/blog/templates/post.html @@ -1,12 +1,14 @@ {% extends "base.html" %} + {% block title%} {{ page.title }} - {{ super() }} {% endblock title %} {% block content %} -

{{ page.title }}

+

{{ page.title }}

{{ page.content | safe }}
+ {% endblock content %} -- cgit v1.3.1