]> git.taranathan.com Git - blog.git/commitdiff
ig bro
authormoo <moogoesmeow123@gmail.com>
Mon, 1 Jun 2026 21:18:10 +0000 (14:18 -0700)
committermoo <moogoesmeow123@gmail.com>
Mon, 1 Jun 2026 21:18:10 +0000 (14:18 -0700)
justfile
public/blog/index.html
public/blog/test/index.html [new file with mode: 0644]
public/miniblog/index.html
public/miniblog/test-mo/index.html [new file with mode: 0644]
public/sitemap.xml

index 272ed77096a06fd1b028228c84d0628998fd768b..2ea33c22869cf2d87cebebca92770998d0fbed26 100644 (file)
--- a/justfile
+++ b/justfile
@@ -16,7 +16,8 @@ blog name:
 
 deploy:
     git switch main
+    zola build
     git add -A
     git commit -a
     git push
-    ssh root@taranathan.com 'cd /root/blog/ && git pull'
+    ssh root@taranathan.com 'cd /root/blog/ && git pull && zola build'
index 335081a73f5a7f3b192adfa89cf22ad537c1dffd..a68759a8980df75bff8dd37d81a51d6096fe016a 100644 (file)
         
       </li>
     
+      <li class="post-list-item">
+        <a href="https://taranathan.com/blog/test/"></a>
+        
+      </li>
+    
       <li class="post-list-item">
         <a href="https://taranathan.com/blog/first/">first post</a>
         
diff --git a/public/blog/test/index.html b/public/blog/test/index.html
new file mode 100644 (file)
index 0000000..522c8d0
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+  <meta charset="utf-8">
+  <title> - MyBlog</title>
+  <link rel="icon" type="image/x-icon" href="https://taranathan.com/favicon.ico">
+  <link rel="stylesheet" href="https://taranathan.com/styles.css">
+</head>
+
+<body>
+  <div class="container">
+    <div class="kaomoji-sidebar kaomoji-left">
+      <div class="scroll-text" id="kaomoji-left"></div>
+    </div>
+
+    <main class="content">
+      <header class="header">
+        <h1 href="/">My Blog</h1>
+        <nav class="nav">
+          <a href="/">Home</a>
+          <a href="/blog">Blog</a>
+          <a href="/miniblog">Miniblog</a>
+          <a href="/boo" target="_blank">Fun</a>
+        </nav>
+      </header>
+
+      <section class="content-body">
+        
+  <article class="post">
+    <h1 class="title"></h1>
+    <p class="subtitle"><strong>2026-06-01</strong></p>
+    <div class="post-content"></div>
+  </article>
+
+      </section>
+    </main>
+
+    <div class="kaomoji-sidebar kaomoji-right">
+      <div class="scroll-text" id="kaomoji-right"></div>
+    </div>
+  </div>
+
+  <script>
+    // Smooth scrolling for internal links
+    document.querySelectorAll('nav a').forEach(anchor => {
+      anchor.addEventListener('click', function (e) {
+        const href = this.getAttribute('href');
+        if (href && href.startsWith('#')) {
+          e.preventDefault();
+          document.querySelector(href).scrollIntoView({ behavior: 'smooth' });
+        }
+      });
+    });
+
+    // Fetch kaomoji text if available
+    fetch('https://taranathan.com/kaomoji.txt').then(r => { if (r.ok) return r.text(); }).then(data => {
+      if (data) {
+        const l = document.getElementById('kaomoji-left');
+        const rgt = document.getElementById('kaomoji-right');
+        if (l) l.textContent = data;
+        if (rgt) rgt.textContent = data;
+      }
+    }).catch(()=>{});
+  </script>
+</body>
+
+</html>
index c4f1f24bab5c58490b6c8cf278b82e3bc0a970a8..73c16408e30ccb0b16ac7d71d80652961f484f1c 100644 (file)
   <h2 class="section-title">Miniblog&#x2F;journal posts</h2>
   <ul class="post-list">
     
+      <li class="post-list-item">
+        <a href="https://taranathan.com/miniblog/test-mo/"></a>
+        
+      </li>
+    
       <li class="post-list-item">
         <a href="https://taranathan.com/miniblog/firstmini/">first mini</a>
         
diff --git a/public/miniblog/test-mo/index.html b/public/miniblog/test-mo/index.html
new file mode 100644 (file)
index 0000000..d1d6398
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+  <meta charset="utf-8">
+  <title> - MyBlog</title>
+  <link rel="icon" type="image/x-icon" href="https://taranathan.com/favicon.ico">
+  <link rel="stylesheet" href="https://taranathan.com/styles.css">
+</head>
+
+<body>
+  <div class="container">
+    <div class="kaomoji-sidebar kaomoji-left">
+      <div class="scroll-text" id="kaomoji-left"></div>
+    </div>
+
+    <main class="content">
+      <header class="header">
+        <h1 href="/">My Blog</h1>
+        <nav class="nav">
+          <a href="/">Home</a>
+          <a href="/blog">Blog</a>
+          <a href="/miniblog">Miniblog</a>
+          <a href="/boo" target="_blank">Fun</a>
+        </nav>
+      </header>
+
+      <section class="content-body">
+        
+  <article class="post miniblog-post">
+    <h1 class="title"></h1>
+    <p class="subtitle"><strong>2026-06-01</strong></p>
+    <div class="post-content"><p>testing more</p>
+</div>
+  </article>
+
+      </section>
+    </main>
+
+    <div class="kaomoji-sidebar kaomoji-right">
+      <div class="scroll-text" id="kaomoji-right"></div>
+    </div>
+  </div>
+
+  <script>
+    // Smooth scrolling for internal links
+    document.querySelectorAll('nav a').forEach(anchor => {
+      anchor.addEventListener('click', function (e) {
+        const href = this.getAttribute('href');
+        if (href && href.startsWith('#')) {
+          e.preventDefault();
+          document.querySelector(href).scrollIntoView({ behavior: 'smooth' });
+        }
+      });
+    });
+
+    // Fetch kaomoji text if available
+    fetch('https://taranathan.com/kaomoji.txt').then(r => { if (r.ok) return r.text(); }).then(data => {
+      if (data) {
+        const l = document.getElementById('kaomoji-left');
+        const rgt = document.getElementById('kaomoji-right');
+        if (l) l.textContent = data;
+        if (rgt) rgt.textContent = data;
+      }
+    }).catch(()=>{});
+  </script>
+</body>
+
+</html>
index e4adb907dc0ff0e04b93564224f437a56b6b64bc..ad16b32f75c740c67dc4ae0c3a0b206935c4d058 100644 (file)
         <loc>https://taranathan.com/blog/second/</loc>
         <lastmod>2026-06-01</lastmod>
     </url>
+    <url>
+        <loc>https://taranathan.com/blog/test/</loc>
+        <lastmod>2026-06-01</lastmod>
+    </url>
     <url>
         <loc>https://taranathan.com/miniblog/</loc>
     </url>
@@ -21,4 +25,8 @@
         <loc>https://taranathan.com/miniblog/firstmini/</loc>
         <lastmod>2026-04-16</lastmod>
     </url>
+    <url>
+        <loc>https://taranathan.com/miniblog/test-mo/</loc>
+        <lastmod>2026-06-01</lastmod>
+    </url>
 </urlset>