diff --git a/man/pandoc-lua.1 b/man/pandoc-lua.1
--- a/man/pandoc-lua.1
+++ b/man/pandoc-lua.1
@@ -1,6 +1,6 @@
-.\" Automatically generated by Pandoc 3.6
+.\" Automatically generated by Pandoc 3.6.1
 .\"
-.TH "pandoc-lua" "1" "September 22, 2022" "pandoc 3.6" "Pandoc User\[cq]s Guide"
+.TH "pandoc-lua" "1" "September 22, 2022" "pandoc 3.6.1" "Pandoc User\[cq]s Guide"
 .SH SYNOPSIS
 \f[CR]pandoc\-lua\f[R] [\f[I]options\f[R]] [\f[I]script\f[R]
 [\f[I]args\f[R]]]
diff --git a/man/pandoc-server.1 b/man/pandoc-server.1
--- a/man/pandoc-server.1
+++ b/man/pandoc-server.1
@@ -1,6 +1,6 @@
-.\" Automatically generated by Pandoc 3.6
+.\" Automatically generated by Pandoc 3.6.1
 .\"
-.TH "pandoc-server" "1" "August 15, 2022" "pandoc 3.6" "Pandoc User\[cq]s Guide"
+.TH "pandoc-server" "1" "August 15, 2022" "pandoc 3.6.1" "Pandoc User\[cq]s Guide"
 .SH SYNOPSIS
 \f[CR]pandoc\-server\f[R] [\f[I]options\f[R]]
 .SH DESCRIPTION
diff --git a/man/pandoc.1 b/man/pandoc.1
--- a/man/pandoc.1
+++ b/man/pandoc.1
@@ -1,6 +1,6 @@
-.\" Automatically generated by Pandoc 3.6
+.\" Automatically generated by Pandoc 3.6.1
 .\"
-.TH "pandoc" "1" "December 7, 2024" "pandoc 3.6" "Pandoc User\[cq]s Guide"
+.TH "pandoc" "1" "December 22, 2024" "pandoc 3.6.1" "Pandoc User\[cq]s Guide"
 .SH NAME
 pandoc - general markup converter
 .SH SYNOPSIS
@@ -776,12 +776,13 @@
 Use the specified file as a custom template for the generated document.
 Implies \f[CR]\-\-standalone\f[R].
 See Templates, below, for a description of template syntax.
-If no extension is specified, an extension corresponding to the writer
-will be added, so that \f[CR]\-\-template=special\f[R] looks for
-\f[CR]special.html\f[R] for HTML output.
 If the template is not found, pandoc will search for it in the
 \f[CR]templates\f[R] subdirectory of the user data directory (see
 \f[CR]\-\-data\-dir\f[R]).
+If no extension is specified and an extensionless template is not found,
+pandoc will look for a template with an extension corresponding to the
+writer, so that \f[CR]\-\-template=special\f[R] looks for
+\f[CR]special.html\f[R] for HTML output.
 If this option is not used, a default template appropriate for the
 output format will be used (see
 \f[CR]\-D/\-\-print\-default\-template\f[R]).
diff --git a/pandoc-cli.cabal b/pandoc-cli.cabal
--- a/pandoc-cli.cabal
+++ b/pandoc-cli.cabal
@@ -1,6 +1,6 @@
 cabal-version:   2.4
 name:            pandoc-cli
-version:         3.6
+version:         3.6.1
 build-type:      Simple
 license:         GPL-2.0-or-later
 license-file:    COPYING.md
@@ -70,7 +70,7 @@
   buildable:       True
   -- Note: we always link to an exact version of pandoc, with the
   -- same version as this package:
-  build-depends:   pandoc == 3.6,
+  build-depends:   pandoc == 3.6.1,
                    text
   other-modules:   PandocCLI.Lua
                  , PandocCLI.Server
