File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 11{% extends "base.html" %}
22
3+ <!-- Meta tags -->
4+ {% block site_meta %}
5+ {{ super() }}
6+
7+ {% if page.meta and page.meta.title %}
8+ < meta property ="og:title " content ="{{ page.meta.title }} - {{ config.site_name }} " />
9+ {% elif page.title and not page.is_homepage %}
10+ < meta property ="og:title " content ="{{ page.title | striptags }} - {{ config.site_name }} " />
11+ {% else %}
12+ < meta property ="og:title " content ="{{ config.site_name }}} " />
13+ {% endif %}
14+
15+ < meta property ="og:type " content ="website " />
16+ {% if page.canonical_url %}
17+ < meta property ="og:url " content ="{{ page.canonical_url }} " />
18+
19+ {% endif %}
20+
21+ < meta property ="og:image " content ="{{ 'img/preview.jpg' | url }} " />
22+
23+ {% endblock %}
24+
325{% block scripts %}
426<!-- Add scripts that need to run before here -->
527{{ super() }}
You can’t perform that action at this time.
0 commit comments