update meta og tags

This commit is contained in:
Ayo 2023-03-22 10:17:56 +01:00
parent 6e0b664a4f
commit a9f710eb6b
2 changed files with 7 additions and 8 deletions

View file

@ -32,15 +32,15 @@
<!-- Open Graph data -->
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:url" content="{{ page.url | absolute_url }}" />
<meta property="og:image:alt" content="{{ page.description }}" />
<meta property="og:description" content="{{ page.description }}" />
{% if page.type == "post" %}
<meta property="og:type" content="article" />
{% else %}
<meta property="og:type" content="website" />
{% endif %}
<meta property="og:url" content="{{ page.url | absolute_url }}" />
{% if page.image != '' %}
{% endif %} {% if page.image != '' %}
<meta
property="og:image"
content="{{ '/assets/images/' | absolute_url }}{{ page.image }}.jpg"
@ -52,10 +52,8 @@
/>
{% endif %}
<meta property="og:image:alt" content="{{ page.description }}" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:site_name" content="Ayo Ayco's Blog" />
<meta property="fb:admins" content="748355687" />
<!--meta property="article:published_time" content="2013-09-17T05:59:00+01:00" />
<meta property="article:modified_time" content="2013-09-16T19:08:47+01:00" />
<meta property="article:section" content="Article Section" />

View file

@ -2,6 +2,7 @@
published: true
title: "How To Use Web Workers in an Angular Application"
permalink: /web-workers-in-angular/
image: ""
description: "Notes on using Web Workers in Angular as of version 15"
category: technology
---