Skip to content

Commit 4c5cc84

Browse files
fix: fix compatibility with automad version 2
1 parent 0844f8d commit 4c5cc84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

elements/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html class="writer-html5 @{ theme | replace('/[^a-z]/', ' ') }<@ if not @{ ?list } @> @{ :template }<@ end @>" lang="en">
2+
<html class="writer-html5 @{ theme | replace('/[^a-z]/', ' ') }<@ if not @{ ?list } @> @{ :template | def(@{ template }) }<@ end @>" lang="en">
33
<head>
44
<?php if (substr(AM_VERSION, 0, 1) == '1') { ?>
55
<meta charset="utf-8">

0 commit comments

Comments
 (0)