{% extends "base.html" %}
{% load markup_tags %}

{% block content %}
    <h1>The Official Dotman Website</h1>
    <p>Welcome to the Official Dotman Website!</p>

    {% if news_articles %}
    <h2>Recent News</h2>
        {% for article in news_articles %}
            <div>
                <h3>{{ article.published_datetime|date:"F j, Y" }} - {{ article.headline }}</h3>
                <div>{{ article.content|apply_markup:"markdown" }}</div>
            </div>
        {% endfor %}
    {% endif %}

{% endblock content %}

{% extends "base.html" %}
{% load markup_tags %}

{% block content %}
    <h1>Welcome</h1>
    <p>Welcome to the Official Dotman Website!</p>

    {% if news_articles %}
    <h2>Recent News</h2>
        {% for article in news_articles %}
            <div>
                <h3>{{ article.published_datetime|date:"F j, Y" }} - {{ article.headline }}</h3>
                <div>{{ article.content|apply_markup:"markdown" }}</div>
            </div>
        {% endfor %}
    {% endif %}

{% endblock content %}

Change header on main page
Change header on main page
