Skip to content

Commit

Permalink
Twitter cards.
Browse files Browse the repository at this point in the history
  • Loading branch information
fsargent committed Jun 12, 2024
1 parent d6d66fb commit 9e2649c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/routes/report/[...path]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,16 @@
property="og:title"
content="{report.info.jurisdictionName} / {report.info.name}"
/>
<meta
property="og:image"
content={'https://r.moxy.social/ykZcSLKZUq/approval/fb.png/' + path}
/>
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:creator" content="@paulgb" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:creator" content="@fsargent" />
<meta
property="twitter:title"
content="{report.info.jurisdictionName} / {report.info.name}"
/>
<meta
property="twitter:image"
content={'https://r.moxy.social/ykZcSLKZUq/approval/twitter.png/' + path}
/>
<meta name="twitter:description" content="approval.vote: {report.info.jurisdictionName} / {report.info.name} / {report.info.date.slice(
0,
4
)}" />
</svelte:head>

<div class="wide container">
Expand Down

0 comments on commit 9e2649c

Please sign in to comment.