Skip to content

Commit d5fdf1c

Browse files
committed
minifier fix
1 parent 0ec1cc6 commit d5fdf1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ out_/%.html: %.md Makefile templates/easy_template.html
4242
printf "<!DOCTYPE html><meta charset=\"utf-8\"><title>Redirecting to /$(@:out_/%=%)</title><meta http-equiv=\"refresh\" content=\"0; URL=/$(@:out_/%=%)\"><link rel=\"canonical\" href=\"/$(@:out_/%=%)\">" "$@" > $(subst -,_,$@)
4343
printf "<!DOCTYPE html><meta charset=\"utf-8\"><title>Redirecting to /$(@:out_/%=%)</title><meta http-equiv=\"refresh\" content=\"0; URL=/$(@:out_/%=%)\"><link rel=\"canonical\" href=\"/$(@:out_/%=%)\">" "$@" > $(subst pattern/,patterns/,$@)
4444
printf "<!DOCTYPE html><meta charset=\"utf-8\"><title>Redirecting to /$(@:out_/%=%)</title><meta http-equiv=\"refresh\" content=\"0; URL=/$(@:out_/%=%)\"><link rel=\"canonical\" href=\"/$(@:out_/%=%)\">" "$@" > $(subst -,_,$(subst pattern/,patterns/,$@))
45-
pandoc -s -f markdown+footnotes-smart -t html --template=templates/easy_template.html -c "${style}" --highlight-style haddock "$<" | minify --type 'html' --html-keep-document-tags > "$@"
45+
pandoc -s -f markdown+footnotes-smart -t html --template=templates/easy_template.html -c "${style}" --highlight-style haddock "$<" > "$@" # | minify --type 'html' --html-keep-document-tags > "$@"
4646

4747
out_/%.ico : media/%.ico
4848
ln "$<" "$@"

0 commit comments

Comments
 (0)