Skip to content

Commit b025a50

Browse files
pfeifferjclaude
andcommitted
Add social link preview meta tags with per-page screenshots
Signed-off-by: Josephine Pfeiffer <hi@josie.lol> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Josephine Pfeiffer <hi@josie.lol>
1 parent 5d62567 commit b025a50

File tree

11 files changed

+23
-0
lines changed

11 files changed

+23
-0
lines changed
41.8 KB
Loading
87.2 KB
Loading
89.8 KB
Loading
69.1 KB
Loading
57.2 KB
Loading

moooodotfarm-backend/src/ports/http/templates/base.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{% block title %}moooo.farm{% endblock %}</title>
7+
<meta property="og:title" content="{% block og_title %}moooo.farm{% endblock %}">
8+
<meta property="og:description" content="{% block og_description %}moooooonitoring the cow.txt herd{% endblock %}">
9+
<meta property="og:image" content="https://moooo.farm/{% block og_image %}og-image.png{% endblock %}">
10+
<meta property="og:url" content="https://moooo.farm{% block og_url %}/{% endblock %}">
11+
<meta property="og:type" content="website">
12+
<meta name="twitter:card" content="summary_large_image">
713
<link rel="preconnect" href="https://fonts.googleapis.com">
814
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
915
<link href="https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&display=swap" rel="stylesheet">

moooodotfarm-backend/src/ports/http/templates/cves.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
{% import "common.html" as common %}
44

55
{% block title %}cow vulnerabilities and exposures (cves){% endblock %}
6+
{% block og_title %}cow vulnerabilities and exposures (cves){% endblock %}
7+
{% block og_description %}security incidents affecting the herd{% endblock %}
8+
{% block og_url %}/cves{% endblock %}
9+
{% block og_image %}og-image-cves.png{% endblock %}
610

711
{% block extra_styles %}
812
.cve-header {

moooodotfarm-backend/src/ports/http/templates/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% extends "base.html" %}
22

33
{% block title %}moooooonitoring the cow.txt herd{% endblock %}
4+
{% block og_title %}moooooonitoring the cow.txt herd{% endblock %}
45

56
{% block extra_styles %}
67
.header {

moooodotfarm-backend/src/ports/http/templates/new.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
{% import "common.html" as common %}
44

55
{% block title %}report a new cow{% endblock %}
6+
{% block og_title %}report a new cow{% endblock %}
7+
{% block og_description %}how to get your cow.txt listed on moooo.farm{% endblock %}
8+
{% block og_url %}/new{% endblock %}
9+
{% block og_image %}og-image-new.png{% endblock %}
610

711
{% block content %}
812
<main class="content">

moooodotfarm-backend/src/ports/http/templates/redoc.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{% extends "base.html" %}
22

33
{% block title %}api documentation{% endblock %}
4+
{% block og_title %}api documentation{% endblock %}
5+
{% block og_description %}api for monitoring the cow.txt herd{% endblock %}
6+
{% block og_url %}/api{% endblock %}
7+
{% block og_image %}og-image-api.png{% endblock %}
48

59
{% block extra_styles %}
610
* {

0 commit comments

Comments
 (0)