File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 < link rel ="canonical " href ="{{ current_url | escape }} ">
2525 < link rel ="icon " href ="/favicon.svg " type ="image/svg+xml ">
2626 < link rel ="alternate " type ="application/rss+xml " title ="cb341.dev RSS Feed " href ="/rss.xml ">
27+ {% if page.layout == "gallery" %}
28+ {%- assign gallery_description = page.description | default: page.content | markdownify | strip_html | normalize_whitespace | truncate: 160 -%}
29+ < meta property ="og:description " content ="{{ gallery_description | escape }} ">
30+ {%- endif %}
31+ {% if page.image %}
32+ < meta property ="og:image " content ="{{ site_url }}{{ page.image | escape }} ">
33+ {%- if page.alt %}
34+ < meta property ="og:image:alt " content ="{{ page.alt | escape }} ">
35+ {%- endif %}
36+ {%- endif %}
2737 < script type ="application/ld+json ">
2838 {
2939 "@context" : "https://schema.org" ,
You can’t perform that action at this time.
0 commit comments