diff --git a/testament/htmlgen.nim b/testament/htmlgen.nim
index 34902f71e..641c1c32c 100644
--- a/testament/htmlgen.nim
+++ b/testament/htmlgen.nim
@@ -11,7 +11,7 @@
import cgi, backend, strutils, json, os, tables, times
-import "testamenthtml.templ"
+import "testamenthtml.nimf"
proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) =
let
diff --git a/testament/testamenthtml.templ b/testament/testamenthtml.nimf
similarity index 100%
rename from testament/testamenthtml.templ
rename to testament/testamenthtml.nimf