Configure html files with twig

This commit is contained in:
2017-09-04 15:05:54 +07:00
parent e7b5eec29d
commit 424737117a
7 changed files with 101 additions and 96 deletions

12
App/Views/base.html Normal file
View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock %}</title>
</head>
<body>
<a href="/">Home</a>
{% block body %}
{% endblock %}
</body>
</html>