diff --git a/data/templates/default.jats b/data/templates/default.jats
index 228a0636a..966da5c29 100644
--- a/data/templates/default.jats
+++ b/data/templates/default.jats
@@ -83,14 +83,14 @@ $for(author)$
$if(author.orcid)$
$author.orcid$
$endif$
-
$if(author.surname)$
+
$author.surname$
$author.given-names$
+
$else$
$author$
$endif$
-
$if(author.email)$
$author.email$
$endif$
diff --git a/test/writer.jats b/test/writer.jats
index 8ca27083a..ae24f3e50 100644
--- a/test/writer.jats
+++ b/test/writer.jats
@@ -16,14 +16,10 @@
-
John MacFarlane
-
-
Anonymous
-