Skip to content

Commit 2134342

Browse files
authoredMay 15, 2023
Add basic open graph meta tags (#38)
1 parent eb8899d commit 2134342

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎web/templates/file.go.html

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
<meta charset="UTF-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta property="og:title" content="{{.FileID}} - snips.sh" />
9+
<meta property="og:type" content="article" />
10+
<meta property="og:site_name" content="snips.sh" />
11+
<meta property="og:description" content="snips.sh is a free, anonymous, open source, snippet hosting service" />
12+
<meta property="description" content="snips.sh is a free, anonymous, open source, snippet hosting service" />
13+
<meta name="theme-color" content="#0ac5b2" />
814
<link rel="icon"
915
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>✂️</text></svg>">
1016
<title>{{ .FileID }} - snips.sh</title>

0 commit comments

Comments
 (0)
Failed to load comments.