From c2020086638f6b899d3381f9e504775132af943b Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Thu, 18 May 2017 22:41:41 +0000 Subject: [PATCH] Added SEO meta tags --- webapp/titanembeds/templates/embed.html.j2 | 2 ++ webapp/titanembeds/templates/seo_meta.html.j2 | 4 ++++ webapp/titanembeds/templates/site_layout.html.j2 | 4 +++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 webapp/titanembeds/templates/seo_meta.html.j2 diff --git a/webapp/titanembeds/templates/embed.html.j2 b/webapp/titanembeds/templates/embed.html.j2 index 936966d..3e85eea 100644 --- a/webapp/titanembeds/templates/embed.html.j2 +++ b/webapp/titanembeds/templates/embed.html.j2 @@ -9,6 +9,8 @@ + + {% include 'seo_meta.html.j2' %} {{ guild['name'] }} - Embed - Titan Embeds for Discord {% include 'google_analytics.html.j2' %} diff --git a/webapp/titanembeds/templates/seo_meta.html.j2 b/webapp/titanembeds/templates/seo_meta.html.j2 new file mode 100644 index 0000000..ccbb951 --- /dev/null +++ b/webapp/titanembeds/templates/seo_meta.html.j2 @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/webapp/titanembeds/templates/site_layout.html.j2 b/webapp/titanembeds/templates/site_layout.html.j2 index a547d7a..96f5bae 100644 --- a/webapp/titanembeds/templates/site_layout.html.j2 +++ b/webapp/titanembeds/templates/site_layout.html.j2 @@ -11,7 +11,9 @@ {% block title %}{% endblock %} - Titan Embeds for Discord - + + {% include 'seo_meta.html.j2' %} + {% block additional_head_elements %}{% endblock %} {% include 'google_analytics.html.j2' %}