Skip to content

Commit

Permalink
Changed theme to reterminal plus more testing fr this time
Browse files Browse the repository at this point in the history
  • Loading branch information
sid314 committed Feb 16, 2025
1 parent d14882b commit ab44e9e
Show file tree
Hide file tree
Showing 50 changed files with 1,532 additions and 1,024 deletions.
3 changes: 2 additions & 1 deletion content/posts/first-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ title = 'First Post'
+++


# HI
## HI

hello
12 changes: 10 additions & 2 deletions content/posts/second.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,13 @@ date = '2025-01-30T15:26:43+05:30'
draft = false
title = 'Second'
+++
##### Second post.
~~testing~~ Hoping for this to work

## Second post

~~testing~~ Hoping for this to work

| Column1 | Column2 | Column3 | Column4 | Column5 |
| --------------- | --------------- | --------------- | --------------- | --------------- |
| Item1.1 | Item2.1 | Item3.1 | Item4.1 | Item5.1 |
| Item1.2 | Item2.2 | Item3.2 | Item4.2 | Item5.2 |
| Item1.3 | Item2.3 | Item3.3 | Item4.3 | Item5.3 |
8 changes: 7 additions & 1 deletion content/posts/third.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@ date = '2025-01-30T15:39:11+05:30'
draft = false
title = 'Third'
+++
##### Third Post.
## Third Post

IDK what to write im still testing out stuff.

```java
System.out.println("hi");

```
17 changes: 15 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
baseURL = 'https://sid314.github.io/blog/'
languageCode = 'en-us'
title = 'Blog'
theme = 'paper'
title = 'Blog2'
theme = 're-terminal'

[params]
fullWidthTheme = true
themeColor = "green"
Toc = true
TocTitle = "Content"
contentTypeName = "posts"
showMenuItems = 2
[languages]
[languages.en.params]
[languages.en.params.logo]
logoText = "Blog"
logoHomeLink = "https://sid314.github.io/blog/"
236 changes: 76 additions & 160 deletions public/404.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,59 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head><script src="/blog/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=blog/livereload" data-no-instant defer></script>

<title>404 Page not found :: Blog2</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="" />
<meta name="keywords" content="" />

<meta name="robots" content="noodp" />

<link rel="canonical" href="http://localhost:1313/blog/404.html" />












<link rel="stylesheet" href="http://localhost:1313/blog/styles.css">







<link rel="shortcut icon" href="http://localhost:1313/blog/img/theme-colors/green.png">
<link rel="apple-touch-icon" href="http://localhost:1313/blog/img/theme-colors/green.png">



<meta name="twitter:card" content="summary" />



<meta property="og:locale" content="en" />
<meta property="og:type" content="website" />
<meta property="og:title" content="404 Page not found">
<meta property="og:description" content="" />
<meta property="og:url" content="http://localhost:1313/blog/404.html" />
<meta property="og:site_name" content="Blog2" />


<meta property="og:image" content="http://localhost:1313/blog/img/favicon/green.png">


<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="627">



Expand All @@ -32,195 +63,80 @@



<html
class="not-ready lg:text-base"
style="--bg: #faf8f1"
lang="en-us"
dir="ltr"
>
<head><script src="/blog/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=blog/livereload" data-no-instant defer></script>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>


<title>404 Page not found - Blog</title>


<meta name="theme-color" />






<meta
name="description"
content="A personal blog"
/>
<meta name="author" content="Blog" />








<link rel="preload stylesheet" as="style" href="http://localhost:1313/blog/main.min.css" />






<link rel="preload" as="image" href="http://localhost:1313/blog/theme.png" />













</head>
<body class="green">






<link
rel="icon"
href="http://localhost:1313/blog/favicon.ico"
/>
<link
rel="apple-touch-icon"
href="http://localhost:1313/blog/apple-touch-icon.png"
/>


<meta name="generator" content="Hugo 0.142.0">




</head>
<div class="container full headings--one-size">

<body class="text-black duration-200 ease-out dark:text-white">
<header class="mx-auto flex h-[4.5rem] max-w-[--w] px-8 lg:justify-center">
<div class="relative z-50 ltr:mr-auto rtl:ml-auto flex items-center">
<a class="-translate-y-[1px] text-2xl font-medium" href="http://localhost:1313/blog/"
>Blog</a
>
<div
class="btn-dark text-[0] ltr:ml-4 rtl:mr-4 h-6 w-6 shrink-0 cursor-pointer [background:url(./theme.png)_left_center/_auto_theme('spacing.6')_no-repeat] [transition:_background-position_0.4s_steps(5)] dark:[background-position:right]"
role="button"
aria-label="Dark"
></div>
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="https://sid314.github.io/blog/">
<div class="logo">
Blog
</div>
</a>

<div
class="btn-menu relative z-50 ltr:-mr-8 rtl:-ml-8 flex h-[4.5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden"
role="button"
aria-label="Menu"
></div>

</div>


</div>

</header>

<script>

const htmlClass = document.documentElement.classList;
setTimeout(() => {
htmlClass.remove('not-ready');
}, 10);

<div class="content">

const btnMenu = document.querySelector('.btn-menu');
btnMenu.addEventListener('click', () => {
htmlClass.toggle('open');
});
<div class="post">
<h1 class="post-title">404 — Page not found...</h1>


const metaTheme = document.querySelector('meta[name="theme-color"]');
const lightBg = '#faf8f1'.replace(/"/g, '');
const setDark = (isDark) => {
metaTheme.setAttribute('content', isDark ? '#000' : lightBg);
htmlClass[isDark ? 'add' : 'remove']('dark');
localStorage.setItem('dark', isDark);
};
<div class="post-content">
<a href="http://localhost:1313/">Back to home page&nbsp;→</a>
</div>


const darkScheme = window.matchMedia('(prefers-color-scheme: dark)');
if (htmlClass.contains('dark')) {
setDark(true);
} else {
const darkVal = localStorage.getItem('dark');
setDark(darkVal ? darkVal === 'true' : darkScheme.matches);
}
</div>


darkScheme.addEventListener('change', (event) => {
setDark(event.matches);
});
</div>


<footer class="footer">
<div class="footer__inner">

const btnDark = document.querySelector('.btn-dark');
btnDark.addEventListener('click', () => {
setDark(localStorage.getItem('dark') !== 'true');
});
</script>

<div
class="nav-wrapper fixed inset-x-0 top-full z-40 flex h-full select-none flex-col justify-center pb-16 duration-200 dark:bg-black lg:static lg:h-auto lg:flex-row lg:!bg-transparent lg:pb-0 lg:transition-none"
>



<div class="copyright">
<span>© 2025 Powered by <a href="https://gohugo.io">Hugo</a></span>

<span>:: <a href="https://github.com/mirus-ua/hugo-theme-re-terminal" target="_blank">Theme</a> made by <a href="https://github.com/mirus-ua" target="_blank">Mirus</a></span>
</div>
</div>
</header>
</footer>






<script type="text/javascript" src="/blog/bundle.min.js"></script>






<main
class="prose prose-neutral relative mx-auto min-h-[calc(100vh-9rem)] max-w-[--w] px-8 pb-16 pt-14 dark:prose-invert"
>

<h1
class="absolute inset-x-8 bottom-20 top-0 flex items-center justify-center text-9xl"
>
404
</h1>

</main>

<footer
class="mx-auto flex h-[4.5rem] max-w-[--w] items-center px-8 text-xs uppercase tracking-wider opacity-60"
>
<div class="mr-auto">

&copy; 2025
<a class="link" href="http://localhost:1313/blog/">Blog</a>

</div>
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
>powered by hugo️️</a
>
<a
class="link"
href="https://github.com/nanxiaobei/hugo-paper"
rel="noopener"
target="_blank"
>hugo-paper</a
>
</footer>
</div>

</body>
</body>
</html>
Binary file modified public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions public/bundle.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit ab44e9e

Please sign in to comment.