Skip to content
Myr

Add opengraph meta tags (#3247)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Makes the site preview a bit nicer when sharing

authored by Mattias Wadman · committed by GitHub · parent 6ce3bdf · Browse files · 1 file+5 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−0 removed

  • other:+5 added−0 removed

1 file+5 added−0 removed

modified:docs/templates/shared/_head.html.j2+5 added
1 <head>2 <meta charset="utf-8">3 <title>{{ headline }}</title>4 <meta name="viewport" content="width=device-width, initial-scale=1">5 <meta property="og:title" content="{{ headline }}">6 <meta property="og:description" content="jq is a lightweight and flexible command-line JSON processor">7 <meta property="og:type" content="website">8 <meta property="og:image" content="{{ url }}{{ root }}/icon.png">9 <meta property="og:url" content="{{ url }}/{{ permalink }}">10 <link rel="icon" href="{{ root }}/icon.svg" type="image/svg+xml">11 <link rel="apple-touch-icon" href="{{ root }}/icon.png" type="image/png">12 <link rel="canonical" href="{{ url }}/{{ permalink }}">13 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootswatch@5.3.1/dist/cosmo/bootstrap.min.css"
15 unmodified lines