feat: add og tags for nicer previews #10
|
@ -10,9 +10,13 @@
|
||||||
<meta property="og:site_name" content="Distrust" />
|
<meta property="og:site_name" content="Distrust" />
|
||||||
anton marked this conversation as resolved
Outdated
|
|||||||
<meta property="og:description" content="Understand and mitigate security threats others won't see coming." />
|
<meta property="og:description" content="Understand and mitigate security threats others won't see coming." />
|
||||||
<meta
|
<meta
|
||||||
property="og:image"
|
property="og:image:secure_url"
|
||||||
content="https://distrust.co/assets/base/distrust-logo.png"
|
content="https://distrust.co/assets/base/distrust-logo.png"
|
||||||
/>
|
/>
|
||||||
|
<meta
|
||||||
|
property="og:image"
|
||||||
|
content="http://distrust.co/assets/base/distrust-logo.png"
|
||||||
|
/>
|
||||||
anton marked this conversation as resolved
Outdated
danny
commented
You'll also need to add the Twitter specific tags
You'll also need to add the Twitter specific tags
```html
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content=" ">
<meta name="twitter:title" content="{{ page.title }}">
<meta name="twitter:site" content="">
<meta name="twitter:image" content="">
```
|
|||||||
|
|
||||||
{% if page.robots %}
|
{% if page.robots %}
|
||||||
<meta name="robots" content="{{page.robots}}" />
|
<meta name="robots" content="{{page.robots}}" />
|
||||||
|
|
Loading…
Reference in New Issue
Everything that you have hardcoded here should instead be pulled from the config. Here's a jekyll theme that does what you're looking for https://github.com/sujaykundu777/devlopr-jekyll/blob/master/_includes/head.html