Embed youtube videos in bookmarks

This commit is contained in:
2023-10-28 20:59:52 +11:00
parent 88885e8876
commit 6195f3b947
10 changed files with 2722 additions and 25 deletions

View File

@@ -8,6 +8,9 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
p class="text-xl text-ellipsis overflow-hidden"
= bookmark.url
div class="mb-6"
== bookmark.youtube_embed
== bookmark.content
- unless bookmark.cached_content.nil?

View File

@@ -10,6 +10,9 @@ div class="mb-4"
== render("link_arrow")
p class="e-content leading-relaxed md:text-lg text-gray-800 dark:text-gray-200"
= bookmark.content
== bookmark.youtube_embed
== render "shared/tags", tags: bookmark.tags
p class="text-sm text-blue-400 mb-4"