Moved mustache partials to separate directory.
This commit is contained in:
parent
674ff9b397
commit
92f2408deb
@ -4,6 +4,7 @@ require_once __DIR__ . '/vendor' . '/autoload.php';
|
||||
|
||||
$m = new Mustache_Engine(array(
|
||||
'loader' => new Mustache_Loader_FilesystemLoader(dirname(__FILE__) . '/templates'),
|
||||
'partials_loader' => new Mustache_Loader_FilesystemLoader(dirname(__FILE__) . '/templates/partials'),
|
||||
'charset' => 'utf-8',
|
||||
'logger' => new Mustache_Logger_StreamLogger('php://stderr'),
|
||||
));
|
||||
|
@ -201,6 +201,7 @@
|
||||
Hello, world!
|
||||
</p>
|
||||
|
||||
{{> mdl_content_foot}}
|
||||
{{> mdl_foot}}
|
||||
<a href="https://github.com/google/material-design-lite/blob/master/templates/article/" target="_blank" id="view-source" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-color--accent mdl-color-text--accent-contrast">View Source</a>
|
||||
{{> html_foot}}
|
||||
|
@ -9,5 +9,3 @@
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
</main>
|
||||
</div>
|
@ -1,4 +1,3 @@
|
||||
<main class="frs-main mdl-layout__content">
|
||||
<div class="frs-container mdl-grid">
|
||||
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div>
|
||||
<div class="frs-content mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col">
|
2
templates/partials/mdl_foot.mustache
Normal file
2
templates/partials/mdl_foot.mustache
Normal file
@ -0,0 +1,2 @@
|
||||
</main>
|
||||
</div>
|
@ -5,3 +5,4 @@
|
||||
</div>
|
||||
</header>
|
||||
<div class="frs-ribbon"></div>
|
||||
<main class="frs-main mdl-layout__content">
|
Reference in New Issue
Block a user