Embed youtube videos in bookmarks
This commit is contained in:
@@ -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?
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user