Skip to content

Commit 139e93e

Browse files
committed
class up the text
1 parent d515587 commit 139e93e

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

lib/personal.ex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ defmodule Personal do
55
def post(assigns) do
66
~H"""
77
<.layout>
8-
<%= raw(@post.body) %>
8+
<article class="prose">
9+
<h1><%= @post.title %></h1>
10+
<h2><%= @post.description %></h2>
11+
<h2><a href={@post.related_listening}>Related Listening</a></h2>
12+
<p class="text-smurf-blood">Posted on <%= @post.date %></p>
13+
<%= raw(@post.body) %>
14+
</article>
915
</.layout>
1016
"""
1117
end

0 commit comments

Comments
 (0)