Skip to content

Commit

Permalink
Add opengraph meta tags (#3247)
Browse files Browse the repository at this point in the history
Makes the site preview a bit nicer when sharing
  • Loading branch information
wader authored Feb 6, 2025
1 parent 6ce3bdf commit e33578a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/templates/shared/_head.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<meta charset="utf-8">
<title>{{ headline }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="{{ headline }}">
<meta property="og:description" content="jq is a lightweight and flexible command-line JSON processor">
<meta property="og:type" content="website">
<meta property="og:image" content="{{ url }}{{ root }}/icon.png">
<meta property="og:url" content="{{ url }}/{{ permalink }}">
<link rel="icon" href="{{ root }}/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="{{ root }}/icon.png" type="image/png">
<link rel="canonical" href="{{ url }}/{{ permalink }}">
Expand Down

0 comments on commit e33578a

Please sign in to comment.