summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen D'Ambrosio <ken@jots.org>2026-05-12 17:28:59 +0000
committerKen D'Ambrosio <ken@jots.org>2026-05-12 17:28:59 +0000
commit9c5704bdeb09c59c2fc2de931be3747c0e9cc210 (patch)
treee4ecca016ef1378a4e2755a34c8f7483c2fad52d
parentd58a77164dc37c445bc275d0bee5dbc7f06d7e7d (diff)
Add albumen.png as app icon, favicon, and OG fallback image
- public/img/albumen.png: app logo - public/favicon.ico: 32x32 + 16x16 multi-size - public/apple-touch-icon.png: 180x180 for iOS home screen - layout.erb: favicon link tags; og:image falls back to albumen.png when no specific photo is selected Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--public/apple-touch-icon.pngbin0 -> 36049 bytes
-rw-r--r--public/favicon.icobin0 -> 5302 bytes
-rw-r--r--public/img/albumen.pngbin0 -> 2149235 bytes
-rw-r--r--views/layout.erb4
4 files changed, 3 insertions, 1 deletions
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 0000000..6166b73
--- /dev/null
+++ b/public/apple-touch-icon.png
Binary files differ
diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 0000000..c747946
--- /dev/null
+++ b/public/favicon.ico
Binary files differ
diff --git a/public/img/albumen.png b/public/img/albumen.png
new file mode 100644
index 0000000..4afa53b
--- /dev/null
+++ b/public/img/albumen.png
Binary files differ
diff --git a/views/layout.erb b/views/layout.erb
index 5f49ee6..086fe8c 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -8,7 +8,9 @@
<meta property="og:url" content="<%= request.url %>">
<meta property="og:title" content="<%= ERB::Util.html_escape("#{@title} — Albumen") %>">
<% if @desc %><meta property="og:description" content="<%= ERB::Util.html_escape(@desc) %>"><% end %>
- <% if (og_img = og_image_url) %><meta property="og:image" content="<%= og_img %>"><% end %>
+ <meta property="og:image" content="<%= og_image_url || "#{request.base_url}/img/albumen.png" %>">
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="/css/style.css?v=2">
</head>
<body>