Refresh fonts
This commit is contained in:
@@ -13,10 +13,8 @@ div class="mb-4"
|
||||
|
||||
== bookmark.youtube_embed
|
||||
|
||||
== render "shared/tags", tags: bookmark.tags
|
||||
|
||||
p class="text-sm text-blue-400 mb-4"
|
||||
a href="/bookmark/#{bookmark.slug}"
|
||||
time class="dt-published" datetime=bookmark.machine_published_at
|
||||
= bookmark.display_published_at
|
||||
hr
|
||||
hr
|
||||
|
@@ -5,7 +5,6 @@ div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray-
|
||||
div class="grid gap-4 grid-flow-row grid-cols-4 grid-rows-1"
|
||||
-post.photos.each do |photo|
|
||||
img class="w-32 h-32 object-cover rounded" src=photo["value"]
|
||||
== render "shared/tags", tags: post.tags
|
||||
|
||||
div class="mb-8"
|
||||
p class="text-sm text-blue-400 dark:text-indigo-400"
|
||||
@@ -19,4 +18,4 @@ div class="mb-8 h-entry border border-gray-200 m-2 p-4 bg-gray-50 hover:bg-gray-
|
||||
== " ·"
|
||||
a rel="syndication" class="u-syndication inline-block ml-1 float-left" href=loc[:url]
|
||||
- if loc[:location] != ""
|
||||
== render "shared/#{loc[:location]}", width: "w-4"
|
||||
== render "shared/#{loc[:location]}", width: "w-4"
|
||||
|
2
app/templates/shared/_twitter.html.slim
Normal file
2
app/templates/shared/_twitter.html.slim
Normal file
@@ -0,0 +1,2 @@
|
||||
- w_class = defined?(width) ? width : "w-6"
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="fill-blue-200 hover:fill-blue-600 #{w_class}" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--><path d="M459.4 151.7c.3 4.5 .3 9.1 .3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103v-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53 51.7 63.7 129.3 105.3 216.4 109.8-1.6-7.8-2.6-15.9-2.6-24 0-57.8 46.8-104.9 104.9-104.9 30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3z"/></svg>
|
@@ -18,14 +18,16 @@ div class="max-w-screen-md mx-auto px-4 m-4 h-max"
|
||||
a href="/post/#{post.slug}"
|
||||
h3= post.name
|
||||
== post.excerpt
|
||||
- if post.name == ""
|
||||
p
|
||||
a href="/post/#{post.slug}" 🔗 permalink
|
||||
- else
|
||||
div class="grid grid-cols-3 gap-2 pb-4"
|
||||
- posts.each do |post|
|
||||
- if post.photos.count > 0
|
||||
- post.photos.each do |photo|
|
||||
a href="/post/#{post.slug}"
|
||||
img class="mb-0 rounded" src="#{photo["value"]}"
|
||||
= post.name
|
||||
- if post.photos.count > 0
|
||||
- post.photos.each do |photo|
|
||||
a href="/post/#{post.slug}"
|
||||
img class="mb-0 rounded" src="#{photo["value"]}"
|
||||
= post.name
|
||||
- else
|
||||
p No posts
|
||||
|
||||
|
Reference in New Issue
Block a user