diff options
author | mounderfod <mounderfod@gmail.com> | 2023-07-22 19:20:44 +0200 |
---|---|---|
committer | mounderfod <mounderfod@gmail.com> | 2023-07-22 19:20:44 +0200 |
commit | a3ae214aafb478ee8272715c9065cff88f7d5156 (patch) | |
tree | ff2895a126f4c8e32c6a3fc81de2085af15e93f2 /_layouts | |
parent | 065e4e517b43619bdbef55a439eeb4d006581b0d (diff) | |
download | website-a3ae214aafb478ee8272715c9065cff88f7d5156.tar.gz |
Some <head> fixes
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index add8a48..104c570 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,6 +3,14 @@ <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta property="og:url" content="https://mounderfod.online" /> + <meta property="og:type" content="website" /> + <meta property="og:title" content="Home - mounderfod" /> + <meta property="og:description" content="undefined" /> + <meta + property="og:image" + content="https://cdn.discordapp.com/attachments/838048982873538572/1132359972165013534/image.png" + /> <title>{{page.title}} - mounderfod</title> <link rel="apple-touch-icon" @@ -21,10 +29,14 @@ sizes="16x16" href="/assets/favicon-16x16.png" /> + {% if page.layout == "post" %} <meta name="description" content="{{ page.excerpt | strip_html | truncatewords: 50 }}" /> + {% else %} + <meta name="description" content="My little corner of the Internet." /> + {% endif %} <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="/assets/index.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> |