Skip to content

Instantly share code, notes, and snippets.

@Codenator81
Created June 24, 2014 17:51
Show Gist options
  • Save Codenator81/411ba59a94a3157532dc to your computer and use it in GitHub Desktop.
Save Codenator81/411ba59a94a3157532dc to your computer and use it in GitHub Desktop.
twig MODX controlled ))
<!DOCTYPE html>
<html>
<head>
<base href="{{ config('site_url') }}"/>
<meta charset="utf=8"/>
<title>{{ field.pagetitle }}</title>
<link type="text/css" rel="stylesheet" href='assets/css/revo.css'/>
<link rel="canonical" href="{{ link(field.id) }}"/>
{{ jQuery }}
</head>
<body>
<header>
<nav>
{{ globalNav }}{# навигация #}
</nav>
<div id="header_middle">
</div>
</header>
<section class="main_content">
<div id="container_wide">
{{ field.content }}
{{ dump(testArray) }}<br>
{{ testArray.0 }}<br>
{{ testArray.1 }}<br>
{{ testArray.2 }}<br>
</div>
</section>
<br class="clear">
<footer>
{{ siteFooter }}
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment