Skip to content

Commit ef756ea

Browse files
committed
add Open Graph metadata to all pages
1 parent 08d3d04 commit ef756ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/post.shtml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<extend template="base.shtml">
22
<title id="title" :text="$page.title"></title>
33
<head id="head">
4-
<meta property="og:title" content="$page.title">
54
<meta property="og:type" content="article">
6-
<meta property="og:site_name" content="Zigtools">
75
<meta property="article:author" content="$page.author">
86
<style>
97
#prev-next {

layouts/templates/base.shtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<meta name="description" content="zigtools: We make free and open-source tools for the @ziglang community.">
66
<meta http-equiv="x-ua-compatible" content="ie=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8+
<meta property="og:title" content="$page.title">
9+
<meta property="og:site_name" content="Zigtools">
810
<title id="title">
911
<super>
1012
- zigtools

0 commit comments

Comments
 (0)