Per-Page Embed Images

This commit is contained in:
Roscoe 2025-05-02 00:15:27 +01:00
commit 59f8d4827b
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
4 changed files with 6 additions and 3 deletions

View file

@ -15,7 +15,8 @@
<!-- Page-specific -->
<meta property="og:title" content="wah! (dot moe) - {{ $title }}">
<meta property="og:image" content="/favicon-128x128.png">
<meta property="og:image" content="{{ $cardImage ?? "/favicon-128x128.png" }}">
<meta property="og:description" content="{{ $cardDescription ?? "" }}">
</head>
<body>
<div class="page-container">

View file

@ -1,5 +1,7 @@
<x-layout>
<x-slot:title>Rosco and Leko</x-slot:title>
<x-slot:title>Absolute Pandamonium!</x-slot:title>
<x-slot:cardImage>{{ asset('/images/embeds/pandamonium.png') }}</x-slot:cardImage>
<x-slot:cardDescription>Follow the adventures of Rosco, Leko, Viz and AJ!</x-slot:cardDescription>
<div class="rosco-leko-gallery">
@foreach($images as $image)
<div>