Compare commits

..

No commits in common. "9d17b10a2489f5014d2a2bf7a896784153fa77db" and "5d6d06bda7698177d3ea0b2535eac3380a673bd9" have entirely different histories.

4 changed files with 1 additions and 11 deletions

View file

@ -8,10 +8,6 @@
# maybe don't do this but its possible to reference _any file_.
defaultLayout = ./layouts/default.html;
# this could technically be a raw path; but nix doesn't keep directory name the same.
# use best judgement.
staticAssets = [ "./static" ];
markdollPlugins = let
sPoNgEbOb = pkgs.buildGoModule {
name = "sPoNgEbOb";

View file

@ -15,6 +15,4 @@ this is markdoll!
[img(https://codeberg.org/0x57e11a/markdoll/raw/branch/main/button.png)::
alt text goes here (88x31 button that says MADE WITH MARKDOLL)
]
[img(/static/noe-pat.gif):noe being patted]
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View file

@ -13,7 +13,6 @@
# otherwise set by frontmatter
defaultLayout ? "default.html",
staticAssets ? [],
allowFailedRenders ? true,
}: let
markdoll = "${markdollParser}/bin/markdoll";
@ -119,9 +118,6 @@ in pkgs.stdenvNoCC.mkDerivation {
render_final $file $outFile $outFile.tmp.render
done
echo ">>> STATIC ASSETS"
${pkgs.lib.concatStrings (map (path: "cp -rv ${path} dist/\n") staticAssets)}
'';
installPhase = ''