Template Partials

Index

Required file index.phtml contains your basic layout.

<!DOCTYPE html>
<html>

	<!-- head -->

	<head> ... </head>

	<!-- body -->

	<body>
	
		<!-- header -->
		
		<!-- main -->
		
		<!-- footer -->
		
		<!-- script -->
	
	</body>

</html>

Head

File head.phtml contains <base>, <title>, <meta>, <link> and <script> elements for your <head> tag.

<!-- base -->

<base />

<!-- title -->

<title> ... </title>

<!-- meta -->

<meta />

<!-- link -->

<link />

<!-- head script -->

<script> ... </script>

Header

File header.phtml contains elements for your structural <header> tag.

<!-- header -->

<header> ... </header>

Main

File main.phtml contains elements for your structural <main> tag.

<!-- main -->

<main>

	<!-- error -->

	<!-- content -->

	<!-- sidebar -->

</main>

Error

File error.phtml contains error related elements for your structural <article> tag.

<!-- error -->

<article> ... </article>

Content

File content.phtml contains content related elements for your structural <article> tag.

<!-- content -->

<article> ... </article>

Sidebar

File sidebar.phtml contains elements for your structural <aside> tag.

<!-- sidebar -->

<aside> ... </aside>

Footer

File footer.phtml contains elements for your structural <footer> tag.

<!-- footer -->

<footer> ... </footer>

Script

File script.phtml contains <script> elements before the body tag.

<!-- foot script -->

<script> ... </script>
Edit on GitHub