2 Commits

  1. 9
      CHANGELOG.md
  2. 12
      lib/mirage_web/live/blog_live.html.leex
  3. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.98.0](https://git.inhji.de/inhji/mirage/compare/v0.97.0...v0.98.0) (2021-03-29)
### Features:
* show tags in blog index
## [v0.97.0](https://git.inhji.de/inhji/mirage/compare/v0.96.0...v0.97.0) (2021-03-29)

12
lib/mirage_web/live/blog_live.html.leex

@ -25,7 +25,17 @@
<% end %>
</header>
<footer>
<time datetime="<%= note.inserted_at %>" class="dt-published">Created <%= note.inserted_at |> Timex.from_now() %></time><span class="muted"> * </span><time datetime="<%= note.updated_at %>" class="dt-updated">Last Edited <%= note.updated_at |> Timex.from_now() %></time>
<div>
<time datetime="<%= note.inserted_at %>" class="dt-published">Created <%= note.inserted_at |> Timex.from_now() %></time><span class="muted"> * </span><time datetime="<%= note.updated_at %>" class="dt-updated">Last Edited <%= note.updated_at |> Timex.from_now() %></time>
</div>
<div class="tags">
<%= for topic <- note.topics do %>
<span class="tag">
<%= link topic.text, to: Routes.topic_path(MirageWeb.Endpoint, :show, topic), class: "p-category" %>
</span>
<% end %>
</div>
</footer>
</article>
<% end %>

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.97.0"
@version "0.98.0"
def project do
[

Loading…
Cancel
Save