|
|
@ -345,10 +345,8 @@
|
|
|
|
[maybe-template-path]
|
|
|
|
[maybe-template-path]
|
|
|
|
[(get-template-for source-path output-path)]
|
|
|
|
[(get-template-for source-path output-path)]
|
|
|
|
[else (raise-user-error 'render-markup-or-markdown-source
|
|
|
|
[else (raise-user-error 'render-markup-or-markdown-source
|
|
|
|
"couldn't find template~a"
|
|
|
|
"couldn't find template for target .~a"
|
|
|
|
(if (has-inner-poly-ext? source-path)
|
|
|
|
(current-poly-target))]))
|
|
|
|
(format " for target .~a" (current-poly-target))
|
|
|
|
|
|
|
|
""))]))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; use a temp file so that multiple (possibly parallel) renders
|
|
|
|
;; use a temp file so that multiple (possibly parallel) renders
|
|
|
|
;; do not compete for write access to the same template
|
|
|
|
;; do not compete for write access to the same template
|
|
|
|