big update: simplifying + pandoc

This commit is contained in:
2024-09-13 08:22:21 -07:00
parent f16cb153e1
commit 291d55642d
24 changed files with 228 additions and 297 deletions

BIN
public/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -1 +0,0 @@
<p>see?</p>

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

10
public/index.css Normal file
View File

@@ -0,0 +1,10 @@
html {
background: #0D1017;
color: #BFBDB6;
font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica, "Helvetica Neue", sans-serif;
}
body {
max-width: 760px;
margin: auto;
}

View File

@@ -5,19 +5,11 @@
<title>Michael Thomson</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Michael Thomson</h1>
<p>Welcome to my site! doesn't it have so much content? I know, right?</p>
<p>It even has reactivity!</p>
<div>
<!-- have a button POST a click via AJAX -->
<button hx-post="/clicked" hx-swap="outerHTML">
Click Me
</button>
</div>
</body>
</html>

31
public/post.html Normal file
View File

@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="author" content="Michael" />
<meta name="dcterms.date" content="2024-09-13" />
<title>Hello, World!</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<h1>Michael Thomson</h1>
<nav>
<a href="blog">Blog</a>
<a href="about">About</a>
<a href="contact">Contact</a>
</nav>
<h1 class="title">Hello, World!</h1>
<p class="author">Michael</p>
<p class="date">2024-09-13</p>
</header>
<p>this is a test - oh yeah</p>
<p>this is a quote:</p>
<blockquote>
<p>sdfdsfsdfdsfdsfdsfds sfdsfdsfsfdsfds</p>
</blockquote>
<div class="sourceCode" id="cb1"><pre
class="sourceCode c"><code class="sourceCode c"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="dt">int</span> main<span class="op">()</span></span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="op">{</span></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="cf">return</span> <span class="dv">0</span><span class="op">;</span></span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a><span class="op">}</span></span></code></pre></div>
</body>
</html>