diff options
author | 2018-03-14 10:19:56 +0000 | |
---|---|---|
committer | 2018-03-14 10:19:56 +0000 | |
commit | 1cb18be258bb744415f48a3e319e1cf35c570e98 (patch) | |
tree | 05cbd2cda70731f27a310822eefb84fb7b102e04 /templates/main/base.html | |
parent | Add payment info for resources, and two more resources (diff) |
Dynamic OpenGraph metadata in page templates
Diffstat (limited to 'templates/main/base.html')
-rw-r--r-- | templates/main/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/main/base.html b/templates/main/base.html index 7e58fa97..43a06bfb 100644 --- a/templates/main/base.html +++ b/templates/main/base.html @@ -2,7 +2,7 @@ <html lang="en"> <head> {% block head %} - <title>Python | {% block title %}{% endblock %}</title> + <title>Python Discord | {% block title %}{% endblock %}</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script> @@ -12,8 +12,8 @@ <link rel="stylesheet" href="/static/style.css"/> <!-- OpenGraph metadata --> - <meta property="og:title" content="Python Discord"> - <meta property="og:description" content="We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others."> + <meta property="og:title" content="Python Discord | {% block og_title %}{% endblock %}"> + <meta property="og:description" content="{% block og_description %}We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.{% endblock %}"> <meta content="/static/logos/logo_discord.png" property="og:image"> {% endblock %} {% block extra_head %} |