PHP Classes
elePHPant
Icontem

File: demo/templates/layout.html

Recommend this page to a friend!
  Classes of Marco Afonso  >  Mask  >  demo/templates/layout.html  >  Download  
File: demo/templates/layout.html
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Mask
Trait to process templates with class functions
Author: By
Last change:
Date: 3 years ago
Size: 475 bytes
 

 

Contents

Class file image Download
<!DOCTYPE html>
<html>
    <head>
        <title>{{ title }}</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        
        <h1>{{ title }}</h1>
        
        {{ if hasLogic }}
            {{ include partial }}
        {{ endif }}
        
        <ul>
        {{ for items as item }}
        <li>{{ item }}</li>
        {{ endfor }}
        </ul>
        
    </body>
</html>