new post & changes

This commit is contained in:
Adam Piontek 2021-04-06 00:25:35 -04:00
parent 4a899d3577
commit 6f76e7877f
3 changed files with 67 additions and 2 deletions
lib/home73k

View file

@ -13,7 +13,8 @@ defmodule Home73k.Blog do
end
def __mix_recompile__?() do
Path.wildcard("#{Home73k.app_blog_content()}/**/*.md") |> :erlang.md5() != unquote(post_paths_hash)
Path.wildcard("#{Home73k.app_blog_content()}/**/*.md")
|> :erlang.md5() != unquote(post_paths_hash)
end
@posts Enum.sort_by(posts, & &1.date, {:desc, NaiveDateTime})