From f7c9ad7da9130e1f89cbf1b5776a0370f47482cd Mon Sep 17 00:00:00 2001 From: Jessica Phoenix Canady Date: Tue, 30 Jul 2024 11:48:20 -0400 Subject: [PATCH] Activate the custom parser. --- lib/jol/blog.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jol/blog.ex b/lib/jol/blog.ex index a4b09a8..cab132e 100644 --- a/lib/jol/blog.ex +++ b/lib/jol/blog.ex @@ -3,10 +3,10 @@ defmodule JOL.Blog do alias JOL.Blog.Parser use NimblePublisher, - build: Post, + build: JOL.Blog.Post, from: Application.app_dir(:jol, "priv/posts/**/*.md"), parser: Parser, - as: :posts + as: :posts, @posts Enum.sort_by(@posts, & &1.date, {:desc, Date}) @tags @posts |> Enum.flat_map(& &1.tags) |> Enum.uniq() |> Enum.sort()