about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2021-03-31 16:06:56 -0400
committerBen Harris <ben@tilde.team>2021-03-31 16:06:56 -0400
commit42b06b6c27d583b3675f17b7b0f6c6a4cbd66687 (patch)
tree6f4aad9e74542c2c14bf7c999e5ecdfa552c33cd
parentbf3253b96d821ed8e4813c106546c84b095f9fff (diff)
tidy up html with hxnormalize(1)
-rw-r--r--converse.html33
-rw-r--r--index.html98
2 files changed, 72 insertions, 59 deletions
diff --git a/converse.html b/converse.html
index 4a8c8df..136a803 100644
--- a/converse.html
+++ b/converse.html
@@ -1,20 +1,22 @@
-<!doctype html>
+<!DOCTYPE html>
+
 <html lang="en">
+    <head>
+        <meta charset="utf-8" />
+        <meta content="ie=edge" http-equiv="x-ua-compatible" />
+        <meta content="width=device-width, initial-scale=1" name="viewport" />
+        <link href="/dist/converse.min.css" media="screen" rel="stylesheet"
+            type="text/css" />
+        <script charset="utf-8" src="/dist/converse.min.js" />
+        <title>hmm.st webchat</title>
+    </head>
 
-	<head>
-		<meta charset="utf-8">
-		<meta http-equiv="x-ua-compatible" content="ie=edge">
-		<meta name="viewport" content="width=device-width, initial-scale=1">
-		<link rel="stylesheet" type="text/css" media="screen" href="/dist/converse.min.css">
-		<script src="/dist/converse.min.js" charset="utf-8"></script>
-		<title>hmm.st webchat</title>
-	</head>
+    <body>
+        <div class="container"></div>
+    </body>
 
-	<body>
-		<div class="container">
-		</div>
-	</body>
-	<script>
+    <body>
+        <script><![CDATA[
 		converse.initialize({
 			websocket_url: 'wss://xmpp.hmm.st/ws/',
 			locked_domain: 'hmm.st',
@@ -23,6 +25,5 @@
 			message_archiving: 'always',
 			view_mode: 'fullscreen'
 		});
-	</script>
+	]]></script></body>
 </html>
-
diff --git a/index.html b/index.html
index 61fe30c..fe7ecab 100644
--- a/index.html
+++ b/index.html
@@ -1,46 +1,58 @@
-<!doctype html>
+<!DOCTYPE html>
+
 <html lang="en">
+    <head>
+        <meta charset="utf-8" />
+        <meta content="ie=edge" http-equiv="x-ua-compatible" />
+        <meta content="width=device-width, initial-scale=1" name="viewport" />
+        <link href="https://tilde.team/css/hacker.css" rel="stylesheet" />
+        <link href="favicon.png" rel="shortcut icon" type="image/png" />
+        <title>hmm.st jabber</title>
+    </head>
 
-<head>
-  <meta charset="utf-8">
-  <meta http-equiv="x-ua-compatible" content="ie=edge">
-  <meta name="viewport" content="width=device-width, initial-scale=1">
-  <link rel="stylesheet" href="https://tilde.team/css/hacker.css">
-  <link rel="shortcut icon" type="image/png" href="favicon.png">
-  <title>hmm.st jabber</title>
-</head>
-
-<body>
-<main class="container">
-    <h1>hmm.st</h1>
-    <p>welcome to xmpp @ hmm.st</p>
-    <p>this is <a href="https://benharr.is">ben</a>'s xmpp server.</p>
-    <p>it runs on a thinkpad x230 in my living room.</p>
-    <p>
-        use your favorite jabber/xmpp client or <a href="#webchat">webchat</a> to register.
-        you'll be required to complete a captcha.
-    </p>
-    <p>join the <a href="xmpp:hmm@conference.hmm.st?join">hmm chat</a> for help/questions or just to chat.</p>
-    <p>no uptime guarantees, but i do my <a href="https://jmp.chat">calling/sms via jmp.chat</a>, so i do my best to keep it running.</p>
-    <p>
-        we have a 100% compliance score:
-        <a href="https://compliance.conversations.im/server/hmm.st/">
-            <img alt="hmm.st compliance badge" src="https://compliance.conversations.im/badge/hmm.st"></a>
-    </p>
-    <h2 id="biboumi">biboumi</h2>
-    <p>there's a biboumi component on our server.</p>
-    <p>
-    	you can join irc channels like any other MUC with the following room id format
-        <code>#channel%tilde.chat@irc.hmm.st</code>
-    </p>
-    <p>see the <a href="https://doc.biboumi.louiz.org/9.0/user.html#join-an-irc-channel">biboumi docs</a> for more info or bug ben in the <a href="xmpp:hmm@conference.hmm.st?join">hmm chat</a></p>
-
-    <h2 id="webchat">webchat</h2>
-    <p>you can find our <a href="converse.html">webchat here</a></p>
-    <p>we also have a <a href="https://movim.hmm.st/">movim pod</a></p>
-
-    <footer><a href="https://tildegit.org/ben/hmm.st">site source</a></footer>
-</main>
-</body>
-</html>
+    <body>
+        <main class="container">
+            <h1>hmm.st</h1>
+
+            <p>welcome to xmpp @ hmm.st</p>
+
+            <p>this is <a href="https://benharr.is">ben</a>'s xmpp server.</p>
+
+            <p>it runs on a thinkpad x230 in my living room.</p>
+
+            <p> use your favorite jabber/xmpp client or <a href="#webchat">webchat</a>
+                to register. you'll be required to complete a captcha.</p>
+
+            <p>join the <a href="xmpp:hmm@conference.hmm.st?join">hmm chat</a> for
+                help/questions or just to chat.</p>
+
+            <p>no uptime guarantees, but i do my <a href="https://jmp.chat">calling/sms
+                via jmp.chat</a>, so i do my best to keep it running.</p>
+
+            <p> we have a 100% compliance score: <a
+                href="https://compliance.conversations.im/server/hmm.st/"> <img
+                alt="hmm.st compliance badge"
+                src="https://compliance.conversations.im/badge/hmm.st" /></a></p>
 
+            <h2 id="biboumi">biboumi</h2>
+
+            <p>there's a biboumi component on our server.</p>
+
+            <p> you can join irc channels like any other MUC with the following room id
+                format <code>#channel%tilde.chat@irc.hmm.st</code></p>
+
+            <p>see the <a
+                href="https://doc.biboumi.louiz.org/9.0/user.html#join-an-irc-channel"
+                >biboumi docs</a> for more info or bug ben in the <a
+                href="xmpp:hmm@conference.hmm.st?join">hmm chat</a></p>
+
+            <h2 id="webchat">webchat</h2>
+
+            <p>you can find our <a href="converse.html">webchat here</a></p>
+
+            <p>we also have a <a href="https://movim.hmm.st/">movim pod</a></p>
+
+            <footer><a href="https://tildegit.org/ben/hmm.st">site source</a></footer>
+        </main>
+    </body>
+</html>