<script lang="ts">
  import type { Article } from '$lib/article';
  import * as publish from '$lib/publish';
  export let article: Article;
</script>

<title>{article.title} | Blog | HareWorks</title>
<meta property="og:title" content={article.title + '- HareWorks'} />
<!-- <meta property="og:description" content={article.description} /> -->
<meta property="og:image" content={article.image} />
<meta property="og:type" content="article" />
<meta property="article:published_time" content={article.released_at.toISOString()} />
{#if article.updated_at}
  <meta property="article:modified_time" content={article.updated_at.toISOString()} />
{/if}
<meta property="article:author" content="HareWorks" />
<meta property="article:section" content="Blog" />
<meta property="article:tag" content={article.tags.join(',')} />
<meta name="robots" content={article.publish as publish.Publish} />