Bump gems
This commit is contained in:
@@ -8,6 +8,6 @@ div class="flex justify-between mb-12 prose dark:prose-invert max-w-prose mx-au
|
||||
|
||||
div class="mb-12 max-w-prose mx-auto"
|
||||
- bookmarks.each do |bookmark|
|
||||
== render :bookmark, bookmark: bookmark
|
||||
== render "shared/bookmark", bookmark: bookmark
|
||||
|
||||
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|
||||
|
@@ -20,11 +20,11 @@ div class="max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex"
|
||||
= bookmark.display_published_at
|
||||
|
||||
span class="text-right flex-1"
|
||||
== render :tags, tags: bookmark.tags
|
||||
== render "shared/tags", tags: bookmark.tags
|
||||
|
||||
div class="mb-2 max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex"
|
||||
- if bookmark.syndicated?
|
||||
span Also on:
|
||||
- bookmark.syndicated_to.each do |loc|
|
||||
a href=loc[:url]
|
||||
== render loc[:location]
|
||||
== "shared/#{render loc[:location]}"
|
||||
|
@@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="grid grid-cols-3 gap-4 mb-4 max-w-prose mx-auto"
|
||||
- photos.each do |post|
|
||||
== render :photo_post, post: post
|
||||
== render "shared/photo_post", post: post
|
||||
|
||||
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|
||||
|
@@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="mb-12 max-w-prose mx-auto"
|
||||
- places.each do |post|
|
||||
== render :post, post: post
|
||||
== render "shared/post", post: post
|
||||
|
||||
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|
||||
|
@@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="h-feed mb-12 max-w-prose mx-auto"
|
||||
- posts.each do |post|
|
||||
== render :post, post: post
|
||||
== render "shared/post", post: post
|
||||
|
||||
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|
||||
|
@@ -47,10 +47,10 @@ article class="h-entry"
|
||||
a class="p-author h-card" href=Hanami.app.settings.micropub_site_url
|
||||
= "by #{Hanami.app.settings.site_name}"
|
||||
span class="text-right flex-1 leading-6"
|
||||
== render :tags, tags: post.tags
|
||||
== render "shared/tags", tags: post.tags
|
||||
div class="mb-2 max-w-prose mx-auto text-gray-600 dark:text-gray-200 flex"
|
||||
- if post.syndicated?
|
||||
span Also on:
|
||||
- post.syndicated_to.each do |loc|
|
||||
a rel="syndication" class="u-syndication" href=loc[:url]
|
||||
== render loc[:location]
|
||||
== render "shared/#{loc[:location]}"
|
||||
|
@@ -5,7 +5,7 @@ div class="mb-8"
|
||||
== render("link_arrow")
|
||||
p class="e-content leading-relaxed md:text-lg text-gray-800 dark:text-gray-200"
|
||||
= bookmark.content
|
||||
== render :tags, tags: bookmark.tags
|
||||
== render "shared/tags", tags: bookmark.tags
|
||||
|
||||
p class="text-sm text-blue-400"
|
||||
a href="/bookmark/#{bookmark.slug}"
|
||||
|
@@ -7,7 +7,7 @@ div class="mb-8 h-entry"
|
||||
div class="grid gap-4 grid-flow-row grid-cols-4 grid-rows-1"
|
||||
-post.photos.each do |photo|
|
||||
img class="w-44 h-44 object-cover rounded" src=photo["value"]
|
||||
== render :tags, tags: post.tags
|
||||
== render "shared/tags", tags: post.tags
|
||||
|
||||
p class="text-sm text-blue-400"
|
||||
a class="u-url" href="#{post.permalink}"
|
||||
|
@@ -20,7 +20,7 @@ div class="mb-4 flex max-w-prose mx-auto"
|
||||
|
||||
div class="mb-12 max-w-prose mx-auto"
|
||||
- posts.each do |post|
|
||||
== render :post, post: post
|
||||
== render "shared/post", post: post
|
||||
|
||||
div class="flex max-w-prose mx-auto"
|
||||
h2 class="text-l text-gray-600 dark:text-gray-200" Photos
|
||||
@@ -28,7 +28,7 @@ div class="flex max-w-prose mx-auto"
|
||||
|
||||
div class="grid grid-cols-3 gap-4 max-w-prose mx-auto"
|
||||
- photo_posts.each do |post|
|
||||
== render :photo_post, post: post
|
||||
== render "shared/photo_post", post: post
|
||||
|
||||
- if last_location
|
||||
div class="mb-12 mt-6 max-w-prose mx-auto text-gray-600 dark:text-gray-200 rounded p-2 bg-blue-50 dark:bg-blue-900/60"
|
||||
|
@@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="h-feed mb-12 max-w-prose mx-auto"
|
||||
- posts.each do |post|
|
||||
== render :post, post: post
|
||||
== render "shared/post", post: post
|
||||
|
||||
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|
||||
|
@@ -3,6 +3,6 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
|
||||
|
||||
div class="mb-12 max-w-prose mx-auto"
|
||||
- posts.each do |post|
|
||||
== render post.template_type.to_sym, post.template_type.to_sym => post
|
||||
== render "shared/#{post.template_type.to_sym}", post.template_type.to_sym => post
|
||||
|
||||
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"
|
||||
|
Reference in New Issue
Block a user