Skip to content

Commit 9fdbf49

Browse files
jensensclaude
andcommitted
Add favicon, apple-touch-icon, and Open Graph social preview image
- favicon.ico (16/32/48px multi-size) for browser tabs - apple-touch-icon.png (180px) for iOS home screen bookmarks - og-image.png (1200x630) for social media link previews - Layout template override injects OG meta tags and apple-touch-icon - GitHub Pages base URL: bluedynamics.github.io/plone-pgcatalog/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0f66e77 commit 9fdbf49

File tree

5 files changed

+15
-1
lines changed

5 files changed

+15
-1
lines changed
24.4 KB
Loading

docs/sources/_static/favicon.ico

723 Bytes
Binary file not shown.

docs/sources/_static/og-image.png

101 KB
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{# Extend the theme's layout to inject apple-touch-icon and Open Graph meta #}
2+
{% extends "!layout.html" %}
3+
4+
{% block metatags %}
5+
{{ super() }}
6+
<link rel="apple-touch-icon" sizes="180x180" href="{{ pathto('_static/apple-touch-icon.png', 1) }}">
7+
<meta property="og:type" content="website">
8+
<meta property="og:title" content="{{ title }}">
9+
<meta property="og:description" content="PostgreSQL-backed catalog for Plone, replacing ZCatalog BTrees with SQL queries on JSONB.">
10+
<meta property="og:image" content="https://bluedynamics.github.io/plone-pgcatalog/_static/og-image.png">
11+
<meta property="og:url" content="https://bluedynamics.github.io/plone-pgcatalog/">
12+
<meta name="twitter:card" content="summary_large_image">
13+
{% endblock %}

docs/sources/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
myst_fence_as_directive = ["mermaid"]
2626

27-
templates_path = []
27+
templates_path = ["_templates"]
2828
exclude_patterns = []
2929

3030
# mermaid options
@@ -53,3 +53,4 @@
5353

5454
html_static_path = ["_static"]
5555
html_logo = "_static/logo-web.png"
56+
html_favicon = "_static/favicon.ico"

0 commit comments

Comments
 (0)