diff options
Diffstat (limited to 'users/tazjin/blog')
-rw-r--r-- | users/tazjin/blog/fragments.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/users/tazjin/blog/fragments.nix b/users/tazjin/blog/fragments.nix index 978dfa2a23df..18f1c4e4c236 100644 --- a/users/tazjin/blog/fragments.nix +++ b/users/tazjin/blog/fragments.nix @@ -12,6 +12,7 @@ let inherit (builtins) filter map hasAttr replaceStrings toFile; inherit (depot.third_party) runCommandNoCC writeText; + inherit (depot.users.tazjin) renderMarkdown; # Generate a post list for all listed, non-draft posts. isDraft = post: (hasAttr "draft" post) && post.draft; @@ -87,7 +88,7 @@ let } # Write the actual post through cheddar's about-filter mechanism - cat ${post.content} | ${depot.tools.cheddar}/bin/cheddar --about-filter ${post.content} >> $out + cat ${renderMarkdown post.content} >> $out echo '</article>' >> $out cat ${toFile "footer.html" footer} >> $out |