File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 7
7
< link rel ="stylesheet " href ="{{ '/static/gen/style.css'|url }} ">
8
8
< meta property ="og:site_name " content ="Creative Commons " />
9
9
< meta property ="og:title " content ="{{ this.title }} " />
10
- {% if this.body %}
11
- {% set desc = this.body |excerpt|striphtmltags %}
10
+ {% if this.description %}
11
+ {% set desc = this.description |excerpt|striphtmltags %}
12
12
< meta property ="og:description " content ="{{ desc }} " />
13
13
{% else %}
14
- {% set desc = this.description|striphtmltags %}
14
+ {% if this.body %}
15
+ {% set desc = this.body|excerpt|striphtmltags %}
15
16
< meta property ="og:description " content ="{{ desc }} " />
16
17
{% endif %}
18
+ {% endif %}
17
19
< meta property ="og:url " content ="{{ this|url }} " />
18
20
< meta property ="og:type " content ="article " />
19
21
{% set image = this.attachments.images.first() %}
You can’t perform that action at this time.
0 commit comments