<!DOCTYPE html>
<html>
<head>
  <title>
    {{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }}
  </title>
  <check if="isset(@PAGE.description) && @PAGE.description">
    <meta name="description" content="{{ @PAGE.description }}">
  </check>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css"
        href="{{ @STATIC }}/code/combined.css">
  <style type="text/css">
   <include href="style.css" />
  </style>
  <check if="{{ isset(@DEBUG) }}">
    <link rel="stylesheet" type="text/css" href="{{ @BASE }}/debug.css">
  </check>
  <!-- Directa Serif Heavy -->
  <link rel="stylesheet" type="text/css"
        href="{{ @STATIC }}/fonts/MyFontsWebfontsKit.css">
  <check if="{{ isset(@EXTRA_HEAD) }}">
    {{ @EXTRA_HEAD | raw }}
  </check>
</head>

<!DOCTYPE html>
<html>
<head>
  <title>
    {{ isset(@PAGE.title) ? @PAGE.title : (isset(@title) ? @title : '') }}
  </title>
  <check if="isset(@PAGE.description) && @PAGE.description">
    <meta name="description" content="{{ @PAGE.description }}">
  </check>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css"
        href="{{ @STATIC }}/code/combined.css">
  <style type="text/css">
   <include href="style.css" />
  </style>
  <check if="{{ isset(@DEBUG) && @DEBUG }}">
    <link rel="stylesheet" type="text/css" href="{{ @BASE }}/debug.css">
  </check>
  <!-- Directa Serif Heavy -->
  <link rel="stylesheet" type="text/css"
        href="{{ @STATIC }}/fonts/MyFontsWebfontsKit.css">
  <check if="{{ isset(@EXTRA_HEAD) }}">
    {{ @EXTRA_HEAD | raw }}
  </check>
</head>

Fix condition for referencing debug.css
Fix condition for referencing debug.css
