Video 49: Advanced Templating
This commit is contained in:
1 parent
a2d9baf6e7
commit
3bc267a057
6 files changed
+22
-8
No files matched your search
@@ -0,0 +1 @@
|
||||
<p>Created by {{name}}</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<div>
|
||||
<a href="/">Weather</a>
|
||||
<a href="/about">About</a>
|
||||
<a href="/help">Help</a>
|
||||
</div>
|
||||
@@ -7,9 +7,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{title}}</h1>
|
||||
{{>header}}
|
||||
<img src="/img/me.jpg">
|
||||
<p>Created by {{name}}</p>
|
||||
{{>footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -7,8 +7,9 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Help</h1>
|
||||
{{>header}}
|
||||
<p>{{helpText}}</p>
|
||||
{{>footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -8,8 +8,8 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{title}}</h1>
|
||||
<p>Created by {{name}}</p>
|
||||
{{>header}}
|
||||
{{>footer}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user