Video 47: Dynamic Pages with Templating

This commit is contained in:
Jason Williams
2019-09-30 11:42:22 -06:00
parent e393438dd1
commit 2976413829
6 changed files with 237 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<h1>{{title}}</h1>
<img src="/img/me.jpg">
<p>Created by {{name}}</p>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<h1>Help</h1>
<p>{{helpText}}</p>
</body>
</html>
+15
View File
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="/css/styles.css">
<script src="/js/app.js"></script>
</head>
<body>
<h1>{{title}}</h1>
<p>Created by {{name}}</p>
</body>
</html>