feat(content): add Open Graph tags and ogp to document (#41)

* feat: add Open Graph tags with ogp to document

* fix: correct resolution for linkedin
This commit is contained in:
Victor Westerlund 2024-07-04 15:08:59 +00:00 committed by GitHub
parent 285bdc3980
commit bef1bab522
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

BIN
assets/media/ogp.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -1,8 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta property="og:title" content="Victor L. Westerlund"/>
<meta property="og:type" content="website"/>
<meta property="og:description" content="Full-stack PHP and JavaScript web developer from Sweden"/>
<meta property="og:image" content="https://vlw.se/assets/media/ogp.jpg"/>
<script> <script>
<!--//--><![CDATA[//><!-- <!--//--><![CDATA[//><!--
@ -37,7 +41,7 @@
<style><?= VV::css("fonts") ?></style> <style><?= VV::css("fonts") ?></style>
<style><?= VV::css("document") ?></style> <style><?= VV::css("document") ?></style>
<title>Victor Westerlund</title> <title>Victor L. Westerlund</title>
</head> </head>
<body> <body>
<header> <header>