[ First commit ]

This commit is contained in:
Mateus Cezário Barreto 2025-11-05 17:08:13 -03:00
commit 851303e97b
6 changed files with 167 additions and 0 deletions

25
views/layout.erb Normal file
View file

@ -0,0 +1,25 @@
<html>
<head>
<title>TonTon</title>
</head>
<body>
<header>
<nav>
<a href="/home">Home</a>
<a href="/wiki">Wiki</a>
<a href="/git">Git</a>
</nav>
<header>
<%= yield %>
</body>
<script>
const title = document.querySelector('title');
title.textContent = document.querySelector('h1').textContent;
</script>
</html>