Skip to content

Commit

Permalink
Update template fixtures related to blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalgona committed Jan 24, 2020
1 parent de15493 commit 8dd4ac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_fixtures/templates/list.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<li>
<p><a href="<%= x.url %>"><%= x.title %></a>
&mdash;
<span class="date"><%= x.date %></span></p>
<span class="date"><%= Timex.format!(x.date, "{WDfull}, {D} {Mshort} {YYYY}") %></span></p>
</li>
<% end %>
</ul>
2 changes: 1 addition & 1 deletion test_fixtures/templates/post.html.eex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1><%= @page.title %></h1>
<p>Posted on <%= @page.date %> by <%= @site.author %></p>
<p>Posted on <%= Timex.format!(@page.date, "{YYYY}-{0M}-{0D}") %> by <%= @site.author %></p>
<%= unless Enum.empty?(@page.tags) do %>
<p>Tags:</p>
<ul>
Expand Down

0 comments on commit 8dd4ac7

Please sign in to comment.