Initial commit
This commit is contained in:
commit
2f0316d05f
12 changed files with 426 additions and 0 deletions
1
views/index.erb
Normal file
1
views/index.erb
Normal file
|
|
@ -0,0 +1 @@
|
|||
<p class="subtitle"><%= @subtitle %></p>
|
||||
22
views/layout.erb
Normal file
22
views/layout.erb
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><%= @page_title || "My Website" %></title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.4/css/bulma.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
|
||||
<h1 class="title">
|
||||
<%= @page_title || "My Website" %>
|
||||
</h1>
|
||||
|
||||
<%== yield %>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue