Skip to content

Commit

Permalink
OpenGraph metadata (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabi1cazenave authored Mar 11, 2024
1 parent e3ac1f3 commit 56183f4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 23 deletions.
13 changes: 10 additions & 3 deletions www/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
<meta name="description" content="{{ .Site.Params.description }}">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1a1a1f" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#1a1a1f" />
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f8f8f8" />
<meta name="color-scheme" content="light dark">
<link type="image/svg+xml" rel="icon" href="{{ absURL "favicon.svg" }}" sizes="any" />

<meta property="og:title" content="Ergo‑L">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ergol.org">
<meta property="og:image" content="{{ absURL "ergol.png" }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="960">
<meta property="og:image:height" content="360">
<meta property="og:description" content="{{ .Site.Params.description }}">
<link type="image/svg+xml" rel="icon" href="{{ absURL "favicon.svg" }}" sizes="any">
{{ partial "head/js.html" . }}
{{ partial "head/css.html" . }}
Binary file added www/static/ergol.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed www/static/img/ergol.png
Binary file not shown.
20 changes: 0 additions & 20 deletions www/static/img/index.html

This file was deleted.

0 comments on commit 56183f4

Please sign in to comment.