mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-13 17:23:58 +02:00
Merge pull request #470 from michael-k/fn-ext
Used .html as filename extension for templates
This commit is contained in:
@@ -37,7 +37,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
|
||||
|
||||
{% highlight text %}
|
||||
{% raw %}
|
||||
// template.php
|
||||
// template.html
|
||||
|
||||
<html>
|
||||
<head>
|
||||
@@ -56,7 +56,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
|
||||
|
||||
{% highlight text %}
|
||||
{% raw %}
|
||||
// user_profile.php
|
||||
// user_profile.html
|
||||
|
||||
{% extends "template.html" %}
|
||||
|
||||
|
Reference in New Issue
Block a user