From b8d23af07d03fa3cbbe76169572118290a879421 Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 3 Aug 2022 00:00:14 +0530 Subject: Move templates to root directory --- templates/blog/account.html | 93 ++++++++++++++++++++++++++++++++++++ templates/blog/home.html | 28 +++++++++++ templates/blog/homepage.html | 7 +++ templates/blog/partials/base.html | 23 +++++++++ templates/blog/partials/sidebar.html | 69 ++++++++++++++++++++++++++ 5 files changed, 220 insertions(+) create mode 100644 templates/blog/account.html create mode 100644 templates/blog/home.html create mode 100644 templates/blog/homepage.html create mode 100644 templates/blog/partials/base.html create mode 100644 templates/blog/partials/sidebar.html diff --git a/templates/blog/account.html b/templates/blog/account.html new file mode 100644 index 00000000..e219e978 --- /dev/null +++ b/templates/blog/account.html @@ -0,0 +1,93 @@ +{% extends 'blog/partials/base.html' %} {% block content %} +
+

My Account

+

You can change account settings for {{ user.username }} here. If you wish to have additional support, please contact me at support@thatcomputerscientist.com. Please take care of the following points before you submit your support request:

+ +

Your avatar is fetched from gravatar. Update your gravatar email to fetch the avatar. If you don't have an account, you can sign up for one here. If you haven't set up your gravatar email, we would try to fetch your profile picture from your account email, by default. If your account email and gravatar email are the same, you do not need to set a gravatar email.

+ {% if user_subdomain_url %} + {% load replace %} +
+

Your account is publicly accessible at {{ user_subdomain_url|replace:"https://"|replace:"http://" }}. If you wish to change your account to private, you can do so below.

+
+ {% endif %} + {% for message in messages %} +
+

{{ message }}

+
+ {% endfor %} + +
+{% endblock %} diff --git a/templates/blog/home.html b/templates/blog/home.html new file mode 100644 index 00000000..5f1e93f2 --- /dev/null +++ b/templates/blog/home.html @@ -0,0 +1,28 @@ +{% extends 'blog/partials/base.html' %} {% block content %} +
+
+

That Computer Scientist

+

+ Welcome to the home of That Computer Scientist. This is my personal + website where I share all of my thoughts, ideas, and experiences. To know + more about me, please visit my About page. If you + would like to connect with me, please visit my + Contact page. Please use the sidebar to navigate + the site. +

+
+
+
+

+ This website is a work in progress. I am currently working on adding more + features to this website. I aim to build a retro looking personal website, + where I will share my articles and Ideas, which will be built entirely + around the idea of "collaborative writing" — where anyone can write new + articles or edit existing ones. +

+
+
+

Recent Posts

+
+
+{% endblock %} diff --git a/templates/blog/homepage.html b/templates/blog/homepage.html new file mode 100644 index 00000000..0cd3051f --- /dev/null +++ b/templates/blog/homepage.html @@ -0,0 +1,7 @@ +{% extends 'blog/partials/base.html' %} {% block content %} +
+
+

My Homepage

+
+
+{% endblock %} diff --git a/templates/blog/partials/base.html b/templates/blog/partials/base.html new file mode 100644 index 00000000..01310201 --- /dev/null +++ b/templates/blog/partials/base.html @@ -0,0 +1,23 @@ +{% load static %} + + + + + + + + That Computer Scientist - {{ title }} + + + + + + + + {% include 'blog/partials/sidebar.html' %} + {% block content %} {% endblock %} + + diff --git a/templates/blog/partials/sidebar.html b/templates/blog/partials/sidebar.html new file mode 100644 index 00000000..cd46c18a --- /dev/null +++ b/templates/blog/partials/sidebar.html @@ -0,0 +1,69 @@ +{% load static %} + + + -- cgit v1.2.3