File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
{% extends "base.html" %}
2
2
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
+
3
25
{% block scripts %}
4
26
<!-- Add scripts that need to run before here -->
5
27
{{ super() }}
You can’t perform that action at this time.
0 commit comments