chore(templates) new template patterns

This commit is contained in:
gh0sTedBuddy
2024-04-01 22:20:23 +01:00
parent ed766c9951
commit 4c23fdbc37
2 changed files with 7 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang='[>locale<]'> <html lang="<[locale || "en"]>">
<head> <head>
<title>{{ title }}</title> <title><[title]></title>
</head> </head>
<body> <body>
{{ content }} <[content]>
</body> </body>
</html> </html>

View File

@@ -3,13 +3,13 @@
<head> <head>
<meta charset='UTF-8'> <meta charset='UTF-8'>
<meta name='viewport' content='width=device-width,initial-scale=1.0'> <meta name='viewport' content='width=device-width,initial-scale=1.0'>
<link rel='stylesheet' href='app.css'> <link rel="stylesheet" href="/main.css">
<title>{{ title }}</title> <title><[title]></title>
</head> </head>
<body> <body>
<header> <header>
<div class="logo"> <div class="logo">
<a href="/">layc</a> <a href="/"><[appname]></a>
</div> </div>
<nav class="nav"> <nav class="nav">
<a href="/features">features</a> <a href="/features">features</a>
@@ -17,7 +17,7 @@
</nav> </nav>
</header> </header>
<main> <main>
{{ content }} <[content]>
</main> </main>
<footer> <footer>
<nav class="nav"> <nav class="nav">