aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJieiku2022-05-31 03:02:17 -0700
committerJieiku2022-05-31 03:02:17 -0700
commit40934841435a65aac4e5335d7e377e0430d57f3e (patch)
tree3275909f57e72641dc27b34feae6adfa6b3c37f9 /templates
parent31395878a127a6dd474da50c2f93956588aa2135 (diff)
downloadabridge-40934841435a65aac4e5335d7e377e0430d57f3e.tar.gz
abridge-40934841435a65aac4e5335d7e377e0430d57f3e.tar.bz2
abridge-40934841435a65aac4e5335d7e377e0430d57f3e.zip
SEO Validation & Cleanup
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/macros/head.html12
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/base.html b/templates/base.html
index b1a3615..613bec7 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -24,7 +24,7 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
{{- macros_head::math() }}
- <noscript><style>.searchd{display:none;}</style></noscript>
+ <noscript><style>.searchd{display:none}</style></noscript>
</head>
<body>
{%- block header %}
diff --git a/templates/macros/head.html b/templates/macros/head.html
index f6090a6..82e7100 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -89,7 +89,7 @@
{%- if config.extra.facebook_publisher %}
<meta property="article:publisher" content="https://www.facebook.com/{{ config.extra.facebook_publisher }}" />
{%- endif %}
- <meta name="copyright" content="{{ title }}" />
+ <meta name="copyright" content="{{ config.title }}" />
{%- if config.extra.facebook_author %}
<meta property="article:author" content="https://www.facebook.com/{{ config.extra.facebook_author }}" />
{%- endif %}
@@ -128,11 +128,11 @@
{%- endif %}
{%- if page.title %}
- <meta property="og:title" content="{{ page.title }} | {{ title }}" />
- <meta name="twitter:title" content="{{ page.title }} | {{ title }}" />
+ <meta property="og:title" content="{{ page.title }} | {{ config.title }}" />
+ <meta name="twitter:title" content="{{ page.title }} | {{ config.title }}" />
{%- else %}
- <meta property="og:title" content="{{ title }}" />
- <meta name="twitter:title" content="{{ title }}" />
+ <meta property="og:title" content="{{ config.title }}" />
+ <meta name="twitter:title" content="{{ config.title }}" />
{%- endif %}
@@ -177,7 +177,7 @@
{%- endif %}
{#- SEO MEDIA END #}
- <meta property="og:site_name" content="{{ title }}" />
+ <meta property="og:site_name" content="{{ config.title }}" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
{%- if page.updated %}