feat: add og tags for nicer previews #10
|
@ -24,6 +24,7 @@ description: >- # this means to ignore newlines until "baseurl:"
|
|||
Understand and mitigate security threats others won't see coming.
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
url: "https://distrust.co" # the base hostname & protocol for your site, e.g. http://example.com
|
||||
banner: "https://distrust.co/assets/base/distrust-logo.png"
|
||||
|
||||
header_pages:
|
||||
- index.md
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
<meta content="{{ page.title }}" property="og:title" />
|
||||
<meta content="article" property="og:type" />
|
||||
{% else %}
|
||||
<meta content="{{ site.banner }}" property="og:image" />
|
||||
<meta content="{{ site.title }}" property="og:title" />
|
||||
<meta content="website" property="og:type" />
|
||||
{% endif %} {% if page.summary %}
|
||||
|
|
Loading…
Reference in New Issue