# HG changeset patch # User Eddie Barraco # Date 1562303244 -7200 # Fri Jul 05 07:07:24 2019 +0200 # Node ID 7d71834e05afae045be3ab7c39c736a5cdd3c3fb # Parent 1e0fe0b2b9efb4a6a13d05f221a842fea80ff502 Put title value in environment diff --git a/cogito2/templates/base.html b/cogito2/templates/base.html --- a/cogito2/templates/base.html +++ b/cogito2/templates/base.html @@ -2,7 +2,7 @@ - {% block title %}Welcome!{% endblock %} + {% block title %}{{ get_env('OWNER_NAME', 'XXX') }}'s blog{% endblock %} {% block stylesheets %}{% endblock %} diff --git a/cogito2/templates/show.html b/cogito2/templates/show.html --- a/cogito2/templates/show.html +++ b/cogito2/templates/show.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}{{ article.get_title() }}{% endblock %} + {% block body %}

{{ article.get_title() }}