]> BookStack Code Mirror - bookstack/blobdiff - resources/views/shelves/show.blade.php
Merge branch 'create-content-meta-tags' of https://github.com/james-geiger/BookStack...
[bookstack] / resources / views / shelves / show.blade.php
index 431fa54cc260a406d350b4d83f47c7b53eaa2775..1205e8320f9e9618c732393edca32f119a397af4 100644 (file)
@@ -1,5 +1,10 @@
 @extends('tri-layout')
 
+@push('social-meta')
+    <meta property="og:description" content="{{ Str::limit($shelf->description, 100) }}">
+    <meta property="og:image" content="{{ $shelf->getBookCover() }}">
+@endpush
+
 @section('body')
 
     <div class="mb-s">