Skip to content

Commit

Permalink
Merge pull request #68 from hapytex/fix/minifier
Browse files Browse the repository at this point in the history
minifier fix
  • Loading branch information
KommuSoft authored Mar 31, 2024
2 parents 0ec1cc6 + d5fdf1c commit 8d65e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ out_/%.html: %.md Makefile templates/easy_template.html
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 -,_,$@)
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/,$@)
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/,$@))
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 > "$@"
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 > "$@"

out_/%.ico : media/%.ico
ln "$<" "$@"
Expand Down

0 comments on commit 8d65e99

Please sign in to comment.