Fix timemachine show
This commit is contained in:
@@ -204,6 +204,8 @@ module Main
|
||||
results << "</#{tag}>"
|
||||
end
|
||||
results
|
||||
rescue REXML::ParseException => e
|
||||
return "<p>No excerpt</p>"
|
||||
end
|
||||
|
||||
def attrs_to_s(attrs)
|
||||
|
@@ -28,6 +28,9 @@ div class="max-w-screen-md mx-auto px-4 m-4 h-max"
|
||||
a href="/post/#{post.slug}"
|
||||
img loading="lazy" class="mb-0 rounded" src="#{photo["value"]}"
|
||||
= post.name
|
||||
- if post.location
|
||||
div class="text-sm"
|
||||
img loading="lazy" class="rounded mb-4" src=post.large_map
|
||||
- else
|
||||
p No posts
|
||||
|
||||
|
Reference in New Issue
Block a user