feat: add og tags for nicer previews #10

Manually merged
ryan merged 7 commits from feat/add-og-tags into main 2024-07-10 21:15:27 +00:00
Owner
No description provided.
anton added 1 commit 2024-05-13 20:17:49 +00:00
anton added 1 commit 2024-05-13 20:25:51 +00:00
anton added 1 commit 2024-05-13 20:27:20 +00:00
danny reviewed 2024-05-17 02:46:56 +00:00
@ -9,0 +16,4 @@
<meta
property="og:image"
content="http://distrust.co/assets/base/distrust-logo.png"
/>
First-time contributor

You'll also need to add the Twitter specific tags

   <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="">
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=""> ```
anton marked this conversation as resolved
danny reviewed 2024-05-17 02:47:07 +00:00
@ -6,6 +6,17 @@
<link rel="icon" type="image/png" sizes="96x96" href="/assets/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<title>{{ page.title }}</title>
<meta property="og:title" content="Distrust" />
First-time contributor

{{ page.title }}

{{ page.title }}
anton marked this conversation as resolved
danny reviewed 2024-05-17 02:55:05 +00:00
@ -7,2 +7,4 @@
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
<title>{{ page.title }}</title>
<meta property="og:title" content="Distrust" />
<meta property="og:site_name" content="Distrust" />
First-time contributor

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

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
anton marked this conversation as resolved
anton added 1 commit 2024-05-21 18:08:36 +00:00
anton added 1 commit 2024-05-21 18:14:02 +00:00
anton added 1 commit 2024-05-21 18:19:09 +00:00
anton added 1 commit 2024-05-22 14:38:40 +00:00
ryan manually merged commit 0a592aafeb into main 2024-07-10 21:15:27 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/website#10
No description provided.