Skip to content

Commit

Permalink
class up the text
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleclair committed Aug 29, 2024
1 parent d515587 commit 139e93e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
8 changes: 7 additions & 1 deletion lib/personal.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ defmodule Personal do
def post(assigns) do
~H"""
<.layout>
<%= raw(@post.body) %>
<article class="prose">
<h1><%= @post.title %></h1>
<h2><%= @post.description %></h2>
<h2><a href={@post.related_listening}>Related Listening</a></h2>
<p class="text-smurf-blood">Posted on <%= @post.date %></p>
<%= raw(@post.body) %>
</article>
</.layout>
"""
end
Expand Down
Loading

0 comments on commit 139e93e

Please sign in to comment.