From 7b8a57fc926075055218e278ba2a9a4f2984e9d1 Mon Sep 17 00:00:00 2001 From: Calum Andrew Morrell Date: Sun, 16 Feb 2025 23:47:37 +0000 Subject: [PATCH] Added homepage template. --- core/templates/core/homepage.html | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 core/templates/core/homepage.html diff --git a/core/templates/core/homepage.html b/core/templates/core/homepage.html new file mode 100644 index 0000000..5bedf29 --- /dev/null +++ b/core/templates/core/homepage.html @@ -0,0 +1,47 @@ +{% extends 'base.html' %} + +{% block content %} +
+
+

Oh my word, this is basic!

+

I got bored and decided to develop this site from scratch, again. See the About This Website page if you're at all interested in + what I'm doing and why. The short version is that I'll be developing features for the website as I + create content for it. In other words, it's going to take a long time before it's pretty.

+

Longer term this site will present my own photographs and photography tuition services along with + articles on photography, philosophy, politics, health & mental health, and whatever else I feel + like.

+
+
+ {% if featured_articles %} +

Featured Articles

+
+
+ {% for article in featured_articles %} +
+ {{ article.title }} + {% if article.subtitle %} +
{{ article.subtitle }}
+ {% endif %} + {% if article.introduction %} +
+

{{ article.introduction|linebreaksbr }}

+ {% endif %} +
+
+ + {{ article.category }} • {{ article.created|date:'jS \o\f F, Y' }} + + + {% for tag in article.tags.all %} + {{ tag }}{% if tag != article.tags.last %}, + {% endif %} + {% endfor %} + +
+
+ {% endfor %} +
+ {% endif %} +
+{% endblock %} \ No newline at end of file