Skip to content

Commit

Permalink
Major revamp, move to layout.html, lots of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamonholmgren committed Nov 30, 2023
1 parent 2e81850 commit 9541c85
Show file tree
Hide file tree
Showing 10 changed files with 187 additions and 187 deletions.
291 changes: 145 additions & 146 deletions template/qub/server.bas

Large diffs are not rendered by default.

Binary file modified template/server
Binary file not shown.
5 changes: 0 additions & 5 deletions template/web/footer.html

This file was deleted.

4 changes: 0 additions & 4 deletions template/web/head.html
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
<link rel="preload" href="/static/styles.css" as="style" />
<link rel="preload" href="/static/scripts.js" as="script" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/static/styles.css" />
13 changes: 0 additions & 13 deletions template/web/header.html

This file was deleted.

36 changes: 36 additions & 0 deletions template/web/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title><!--$TITLE--></title>
<link rel="preload" href="/static/styles.css" as="style" />
<link rel="preload" href="/static/scripts.js" as="script" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/static/styles.css" />
<link rel="stylesheet" href="/static/css/style.css" />
</head>
<body>
<main>
<section class="hero">
<!-- Constrain width area -->
<div class="container">
<h1>It's a Qub-ical World</h1>
<p class="subtitle">...and we're just playing in it!</p>
<nav>
<a href="/">Home</a>
<a href="/contact">Contact</a>
</nav>
</div>
</section>
<div class="container"><!--$BODY--></div>
<footer>
<div class="container">
Copyright &copy;
<!--$YEAR-->
$DOMAIN
</div>
</footer>
</main>
</body>
</html>
4 changes: 2 additions & 2 deletions template/web/pages/404.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--TITLE
Page Not Found
<!--META
TITLE: Page Not Found
-->

<h1>Page Not Found</h1>
Expand Down
13 changes: 0 additions & 13 deletions template/web/pages/blog/2023.html

This file was deleted.

4 changes: 2 additions & 2 deletions template/web/pages/contact.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--TITLE
Contact Us
<!--META
TITLE: Contact Us
-->

<h1>Contact Us</h1>
Expand Down
4 changes: 2 additions & 2 deletions template/web/pages/home.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--TITLE
$DOMAIN - Official Website
<!--META
TITLE: $DOMAIN - Official Website
-->
<h1>$DOMAIN</h1>

Expand Down

0 comments on commit 9541c85

Please sign in to comment.