Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.

Commit 0144384

Browse files
committed
OpenGraph: add header for link preview. Fixes #5.
1 parent 183d469 commit 0144384

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Site settings
22
title: OpenTracksApp
33
description: "OpenTracks is a sport tracking application that completely respects your privacy."
4-
baseurl: "/"
4+
url: "https://www.OpenTracksApp.com"
55

66
logo-url: "/static/img/opentracks-logo.svg"
77

_layouts/default.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
<link rel="stylesheet" href="/static/main.css">
1313

1414
<meta name="theme-color" content="#ffffff">
15+
16+
<meta property="og:title" content="{{ site.title }}" />
17+
<meta property="og:type" content="website" />
18+
<meta property="og:url" content="{{ site.url }}" />
19+
<meta property="og:image" content="{{ site.url }}/static/img/opentracks-promotion-sticker.svg.png" />
20+
<meta property="og:description" content="{{ site.description }}" />
1521
</head>
1622
<body>
1723

81.1 KB
Loading

0 commit comments

Comments
 (0)