Add last location to home page

This commit is contained in:
2023-02-25 17:04:54 +11:00
parent 62e518673a
commit 1a83557468
6 changed files with 38 additions and 5 deletions

View File

@@ -26,12 +26,12 @@ module Adamantium
end
def prefix_emoji
prefix = name ? "" : "📯"
prefix = name ? "" : "💬"
location ? "🗺️" : prefix
end
def display_title
title = name || published_at.strftime("%D")
title = name
"#{prefix_emoji} #{title}"
end