Skip to content

Commit

Permalink
Add basic open graph meta tags (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
fawni authored May 15, 2023
1 parent eb8899d commit 2134342
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/templates/file.go.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="{{.FileID}} - snips.sh" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="snips.sh" />
<meta property="og:description" content="snips.sh is a free, anonymous, open source, snippet hosting service" />
<meta property="description" content="snips.sh is a free, anonymous, open source, snippet hosting service" />
<meta name="theme-color" content="#0ac5b2" />
<link rel="icon"
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>">
<title>{{ .FileID }} - snips.sh</title>
Expand Down

0 comments on commit 2134342

Please sign in to comment.