elcharitas/waxe

View on GitHub
docs/src/_layouts/base.waxe

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html class="minimal no-js">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title> @yield($title, 'Home') | @yield($project.name)</title>
        <meta name="description" content="Documentation for @yield($project.name)">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link href="@url('./css/main.css', 'asset')" rel="stylesheet"/>
    </head>
    <body class="page">
        @includeIf('./header.waxe')
        
        @section('main')
            @includeIf('./error.waxe')
        @show
        
        @includeIf('./footer.waxe')
    </body>
</html>