fix: updates for SEO and new videos page

This commit is contained in:
vrh
2020-08-05 20:13:19 +02:00
parent 1d988416ee
commit 2cbf0b557e
10 changed files with 601 additions and 1460 deletions

View File

@ -2,9 +2,27 @@
{% block extrahead %}
<meta property='og:title' content='Data Controller Documentation'/>
<meta name="author" content="Allan Bowe">
{% set title = config.site_name %}
{% if page and page.meta and page.meta.title %}
{% set title = title ~ " - " ~ page.meta.title %}
{% elif page and page.title and not page.is_homepage %}
{% set title = title ~ " - " ~ page.title | striptags %}
{% endif %}
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property='og:image' content='https://www.rawsas.com/wp-content/uploads/2018/07/dc_social.png'/>
<meta property='og:description' content='The Data Controller for SAS® enables users to self serve their data changes, and for data owners to retain control over those updates by reviewing and approving them.'/>
<meta property='og:url' content='https://docs.datacontroller.io/' />
<meta property="og:image:type" content="image/png" />
{% if page and page.meta and page.meta.description %}
<meta property="og:description" content="{{ page.meta.description }}" />
{% elif config.site_description %}
<meta property="og:description" content="{{ config.site_description }}" />
{% endif %}
{% endblock %}