summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html14
-rw-r--r--templates/post.html11
-rw-r--r--templates/styles.css14
3 files changed, 31 insertions, 8 deletions
diff --git a/templates/base.html b/templates/base.html
index 74999df..b051c0f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,7 +3,9 @@
<head>
<title>
+ {% block title %}
Tutoring Excellence Online and in Suffolk, VA - Carpenter Tutoring, LLC
+ {% endblock %}
</title>
<style>
{% block style %}
@@ -15,14 +17,16 @@
<link rel="stylesheet" href="/widescreen.css" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="description" content="Tutoring Excellence Online and in Suffolk, VA" />
- <meta property="og:description" content="Tutoring excellence online and in-person" />
<meta property="og:image" content="https://carpentertutoring.com/assets/logo.webp" />
<meta property="og:image:secure_url" content="https://carpentertutoring.com/assets/logo.webp" />
- <meta property="og:site_name" content="Carpenter Tutoring" />
- <meta property="og:title" content="Tutoring Excellence Online and in Suffolk, VA - Carpenter Tutoring, LLC" />
+ <meta property="og:site_name" content="Carpenter Tutoring, LLC" />
<meta property="og:type" content="website" />
+ {% block og %}
+ <meta name="description" content="Tutoring Excellence Online and in Suffolk, VA" />
+ <meta property="og:description" content="Tutoring excellence online and in-person" />
+ <meta property="og:title" content="Tutoring Excellence Online and in Suffolk, VA - Carpenter Tutoring, LLC" />
<meta property="og:url" content="https://carpentertutoring.com" />
+ {% endblock %}
</head>
@@ -41,9 +45,9 @@
<nav>
<a href="/#"><img alt="logo" src="/assets/logo-simple.png" /></a>
<a href="/#offerings">Services</a>
+ <a href="/posts">Posts</a>
<a href="/brochure">Brochure</a>
<a href="/#help">Helpful Links</a>
- <a href="/posts">Posts</a>
<a href="/policies">Policies</a>
<a href="/about">Team</a>
<a href="/#reviews">Reviews</a>
diff --git a/templates/post.html b/templates/post.html
index 3155c7a..fb8d28b 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,5 +1,16 @@
{% extends "base.html" %}
+{% block title %}
+{{ post.get_title() }} - Carpenter Tutoring, LLC
+{% endblock %}
+
+{% block og %}
+<meta name="description" content="{{ post.get_description() }}" />
+<meta property="og:description" content="{{ post.get_description() }}" />
+<meta property="og:title" content="{{ post.get_title() }}" />
+<meta property="og:url" content="https://carpentertutoring.com/posts/{{ post.get_title()|e }}" />
+{% endblock %}
+
{% block main %}
<section class="banner">
<h1>{{ post.get_title() }}</h1>
diff --git a/templates/styles.css b/templates/styles.css
index c18d25c..a0d9a80 100644
--- a/templates/styles.css
+++ b/templates/styles.css
@@ -22,7 +22,7 @@ body {
}
body {
- background-image: url("/assets/bg.png");
+ background-image: url("/assets/bg.webp");
}
.banner {
@@ -63,7 +63,7 @@ div.buttons {
}
h1 {
- font-size: 3em;
+ font-size: 2.75em;
color: var(--darkteal);
font-family: "Architects Daughter", cursive;
}
@@ -74,8 +74,16 @@ h2 {
font-family: "Indie Flower", cursive;
}
-em {
+h6 {
+ /* blog block paragraphs */
+ color: var(--darkteal);
+ font-size: 1.2em;
+ font-weight: normal;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+em {
color: var(--darkteal);
}