diff --git a/templates/base.html b/templates/base.html index b802c1d..ba56a6f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,9 @@ {% block title %}No Hype AI{% endblock %} {% block head_meta %}{% endblock %} + + + - + +
{% include 'components/nav.html' %} {% include 'components/cookie_banner.html' %} {% if messages %} -
+
{% for message in messages %} -

{{ message }}

+

{{ message }}

{% endfor %}
{% endif %} -
{% block content %}{% endblock %}
+
{% block content %}{% endblock %}
{% include 'components/footer.html' %} diff --git a/templates/blog/about_page.html b/templates/blog/about_page.html index 268074a..03ef2f7 100644 --- a/templates/blog/about_page.html +++ b/templates/blog/about_page.html @@ -1,14 +1,40 @@ {% extends 'base.html' %} {% load wagtailimages_tags wagtailcore_tags %} +{% block title %}{{ page.title }} | No Hype AI{% endblock %} {% block content %} -

{{ page.title }}

-

{{ page.mission_statement }}

-{{ page.body|richtext }} -{% if page.featured_author %} -

{{ page.featured_author.name }}

-

{{ page.featured_author.bio }}

- {% if page.featured_author.avatar %} - {% image page.featured_author.avatar fill-200x200 %} + + +
+

{{ page.title }}

+ {% if page.mission_statement %} +

{{ page.mission_statement }}

{% endif %} -{% endif %} +
+ + +
+
+ {{ page.body|richtext }} +
+ + {% if page.featured_author %} + + {% endif %} +
{% endblock %} diff --git a/templates/blog/article_index_page.html b/templates/blog/article_index_page.html index edeafc4..691dbcc 100644 --- a/templates/blog/article_index_page.html +++ b/templates/blog/article_index_page.html @@ -10,26 +10,39 @@ {% endblock %} {% block content %} -

{{ page.title }}

-
-

Filter by tag

- All - {% for tag in available_tags %} - {{ tag.name }} + + +
+

{{ page.title }}

+ + +
+ All + {% for tag in available_tags %} + {{ tag.name }} + {% endfor %} +
+
+ + +
+ {% for article in articles %} + {% include 'components/article_card.html' with article=article %} + {% empty %} +

No articles found.

{% endfor %} -
-{% for article in articles %} - {% include 'components/article_card.html' with article=article %} -{% empty %} -

No articles found.

-{% endfor %} -