Skip to content

Commit

Permalink
feat(zola): Use relative links for internal references for easier hos…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
alerque committed Mar 23, 2024
1 parent bff34e9 commit 90085a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/zola.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ $(ZOLAS): %.zola: $(addprefix $(BUILDDIR)/%.zola/,config.toml content/_index.md
$(and $(filter $*.mdbook,$^ $|),ln -sf $$resourcedir/$*.mdbook $$resourcedir/$(_read))
rm -rf $@
$(ZOLA) -r "$(<D)" build -o "$@"
$(SED) -i -e 's#$(call urlinfo,$*)/##g' $@/*.html

DISTDIRS += $(ZOLAS)

Expand Down

0 comments on commit 90085a9

Please sign in to comment.