Chapter 6: code samples

This commit is contained in:
Beth Griggs
2020-05-30 19:33:25 +01:00
parent 4f825bdac3
commit b43bf2c378
398 changed files with 6049 additions and 53643 deletions
@@ -0,0 +1,3 @@
<h1><%= message %></h1>
<h2><%= error.status %></h2>
<pre><%= error.stack %></pre>
@@ -1,6 +0,0 @@
extends layout
block content
h1= message
h2= error.status
pre #{error.stack}
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
<h1><%= title %></h1>
<p>Welcome to <%= title %></p>
</body>
</html>
@@ -1,5 +0,0 @@
extends layout
block content
h1= title
p Welcome to #{title}
@@ -1,7 +0,0 @@
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
block content