From 373de1862be7c82cbc15b06dd15a507c665c4205 Mon Sep 17 00:00:00 2001 From: Nathan Chapman Date: Sat, 30 Apr 2022 09:21:13 -0600 Subject: [PATCH] Add titles to main pages --- src/storefront/templates/storefront/about.html | 5 +++++ src/storefront/templates/storefront/cart_detail.html | 2 ++ src/storefront/templates/storefront/checkout_address.html | 2 ++ src/storefront/templates/storefront/contact_form.html | 2 ++ src/storefront/templates/storefront/customer_detail.html | 2 ++ src/storefront/templates/storefront/fairtrade.html | 2 ++ src/storefront/templates/storefront/order_form.html | 2 ++ src/storefront/templates/storefront/payment_cancelled.html | 4 +++- src/storefront/templates/storefront/payment_done.html | 4 +++- src/storefront/templates/storefront/product_detail.html | 2 ++ src/storefront/templates/storefront/product_list.html | 2 ++ src/storefront/templates/storefront/reviews.html | 2 ++ 12 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/storefront/templates/storefront/about.html b/src/storefront/templates/storefront/about.html index b4be59b..907dcd6 100644 --- a/src/storefront/templates/storefront/about.html +++ b/src/storefront/templates/storefront/about.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% load static %} +{% block head_title %}About | {% endblock %} + {% block content %}
@@ -19,6 +21,9 @@

We love the place coffee takes in conversation, culture and commerce. We seek out the world’s rarest coffees for taste and consistency. We roast and blend coffees at Port Townsend Coffee Roasting Co. with the hope that you will enjoy every cup.

+
+ +

Style of roast

We roast in a European style, specifically similar to that of central Italy. The blending and roasting process determines the flavor and body of the coffee equally as much as the kinds of beans used. Italians are noted for their blending skills.

We blend and roast to suit our own personal tastes, creating a smooth, less acidic, sweeter flavor. Our coffee has a perceivably heavy feeling in the mouth. Our roasts take longer and require attention. Controlling air flow around the beans in the roasting drum is crucial in developing the flavor and body of the coffees we roast. At times in the roasting, no heat at all is applied to the beans. Done correctly, this can smooth out an otherwise acidic or snappy roast.

diff --git a/src/storefront/templates/storefront/cart_detail.html b/src/storefront/templates/storefront/cart_detail.html index 2526911..555e307 100644 --- a/src/storefront/templates/storefront/cart_detail.html +++ b/src/storefront/templates/storefront/cart_detail.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block head_title %}Cart | {% endblock %} + {% block content %}
diff --git a/src/storefront/templates/storefront/checkout_address.html b/src/storefront/templates/storefront/checkout_address.html index 2a05980..29043ab 100644 --- a/src/storefront/templates/storefront/checkout_address.html +++ b/src/storefront/templates/storefront/checkout_address.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% load static %} +{% block head_title %}Checkout | {% endblock %} + {% block content %}
diff --git a/src/storefront/templates/storefront/contact_form.html b/src/storefront/templates/storefront/contact_form.html index 68c2e89..ce2b1b8 100644 --- a/src/storefront/templates/storefront/contact_form.html +++ b/src/storefront/templates/storefront/contact_form.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block head_title %}Contact | {% endblock %} + {% block content %}
diff --git a/src/storefront/templates/storefront/customer_detail.html b/src/storefront/templates/storefront/customer_detail.html index 07a25e2..5f2ff72 100644 --- a/src/storefront/templates/storefront/customer_detail.html +++ b/src/storefront/templates/storefront/customer_detail.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% load static %} +{% block head_title %}Account | {% endblock %} + {% block content %}
diff --git a/src/storefront/templates/storefront/fairtrade.html b/src/storefront/templates/storefront/fairtrade.html index 7799b75..d4cbc0b 100644 --- a/src/storefront/templates/storefront/fairtrade.html +++ b/src/storefront/templates/storefront/fairtrade.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% load static %} +{% block head_title %}Fair Trade | {% endblock %} + {% block content %}
diff --git a/src/storefront/templates/storefront/order_form.html b/src/storefront/templates/storefront/order_form.html index 503afec..037e91d 100644 --- a/src/storefront/templates/storefront/order_form.html +++ b/src/storefront/templates/storefront/order_form.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% load static %} +{% block head_title %}Checkout | {% endblock %} + {% block head %} diff --git a/src/storefront/templates/storefront/payment_cancelled.html b/src/storefront/templates/storefront/payment_cancelled.html index f05ec95..ba3eebf 100644 --- a/src/storefront/templates/storefront/payment_cancelled.html +++ b/src/storefront/templates/storefront/payment_cancelled.html @@ -1,8 +1,10 @@ {% extends "base.html" %} +{% block head_title %}Payment Cancelled | {% endblock %} + {% block content %}

Payment declined

There was a problem collecting payment.

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/storefront/templates/storefront/payment_done.html b/src/storefront/templates/storefront/payment_done.html index 76491b3..a87db7d 100644 --- a/src/storefront/templates/storefront/payment_done.html +++ b/src/storefront/templates/storefront/payment_done.html @@ -1,8 +1,10 @@ {% extends "base.html" %} +{% block head_title %}Payment Success | {% endblock %} + {% block content %}

Payment was successful

Thank you for your order!

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/storefront/templates/storefront/product_detail.html b/src/storefront/templates/storefront/product_detail.html index 2f956f2..d8145ba 100644 --- a/src/storefront/templates/storefront/product_detail.html +++ b/src/storefront/templates/storefront/product_detail.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% load static %} +{% block head_title %}{{ product.name }} | {% endblock %} + {% block head %} {% endblock %} diff --git a/src/storefront/templates/storefront/product_list.html b/src/storefront/templates/storefront/product_list.html index d0b3822..f3ef918 100644 --- a/src/storefront/templates/storefront/product_list.html +++ b/src/storefront/templates/storefront/product_list.html @@ -1,6 +1,8 @@ {% extends 'base.html' %} {% load static %} +{% block head_title %}Coffee | {% endblock %} + {% block head %} {% endblock %} diff --git a/src/storefront/templates/storefront/reviews.html b/src/storefront/templates/storefront/reviews.html index ec87d2e..7c1f4eb 100644 --- a/src/storefront/templates/storefront/reviews.html +++ b/src/storefront/templates/storefront/reviews.html @@ -1,6 +1,8 @@ {% extends 'base.html' %} {% load static %} +{% block head_title %}Reviews | {% endblock %} + {% block content %}