diff --git a/cabal.project b/cabal.project
index 6fe363e54..9726c41eb 100644
--- a/cabal.project
+++ b/cabal.project
@@ -12,8 +12,3 @@ source-repository-package
     type: git
     location: https://github.com/jgm/pandoc-citeproc
     tag: 6d62678ece91bbb4fe4f5a99695006e1d53c3bae
-
-source-repository-package
-    type: git
-    location: https://github.com/jgm/doctemplates
-    tag: 2f7e7ea71d75b58b52f7ee4122b43aa5d5f68445
diff --git a/pandoc.cabal b/pandoc.cabal
index c14510d55..5627ae5a6 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -411,7 +411,7 @@ library
                  JuicyPixels >= 3.1.6.1 && < 3.4,
                  Glob >= 0.7 && < 0.11,
                  cmark-gfm >= 0.2 && < 0.3,
-                 doctemplates >= 0.5 && < 0.6,
+                 doctemplates >= 0.6 && < 0.7,
                  network-uri >= 2.6 && < 2.7,
                  network >= 2.6,
                  http-client >= 0.4.30 && < 0.7,
diff --git a/stack.yaml b/stack.yaml
index ff78ca549..09fdd8956 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -23,9 +23,7 @@ extra-deps:
 - skylighting-core-0.8.2
 - skylighting-0.8.2
 - doclayout-0.1
-  #- doctemplates-0.5
-- git: https://github.com/jgm/doctemplates
-  commit: 2f7e7ea71d75b58b52f7ee4122b43aa5d5f68445
+- doctemplates-0.6
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules
 resolver: lts-13.17