diff options
author | Roscoe <roscoe@wah.moe> | 2025-05-02 00:15:27 +0100 |
---|---|---|
committer | Roscoe <roscoe@wah.moe> | 2025-05-02 00:15:47 +0100 |
commit | 59f8d4827ba9edd852bdbf1820aaddda886d5ba2 (patch) | |
tree | 7e9f31a20d55f932f9b16c834afa8601d2b5c505 /resources | |
parent | 8cc46fbe47d5420df4f4cb476f274ca301964df2 (diff) |
Per-Page Embed Images
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/components/layout.blade.php | 3 | ||||
-rw-r--r-- | resources/views/pandamonium.blade.php | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index 3e9f9ed..91d83a8 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -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"> diff --git a/resources/views/pandamonium.blade.php b/resources/views/pandamonium.blade.php index fc21aab..70fd27b 100644 --- a/resources/views/pandamonium.blade.php +++ b/resources/views/pandamonium.blade.php @@ -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> |