First commit
This commit is contained in:
commit
72cd3434bf
6 changed files with 230 additions and 0 deletions
25
views/layout.erb
Normal file
25
views/layout.erb
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>TonTon</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="/readme.md">Readme</a>
|
||||
|
||||
<a href="/building.md">Building</a>
|
||||
|
||||
<a href="/QA.md">Q&A</a>
|
||||
</nav>
|
||||
<header>
|
||||
|
||||
<%= yield %>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
const title = document.querySelector('title');
|
||||
|
||||
title.textContent = document.querySelector('h1').textContent;
|
||||
</script>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue