Skip to content

Commit 4d5546b

Browse files
committed
add workflows
1 parent 7235e32 commit 4d5546b

File tree

15 files changed

+459
-0
lines changed

15 files changed

+459
-0
lines changed

content/projects/11_21_2025.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: "My first project"
3+
date: 1970-01-01
4+
draft: false
5+
ShowToc: true
6+
---
7+
Hi!

hugo.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ menu:
2323
name: Blog
2424
url: /posts/
2525
weight: 20
26+
- identifier: projects
27+
name: Project
28+
url: /projects/
29+
weight: 20
30+

public/404.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
<span>Blog</span>
7575
</a>
7676
</li>
77+
<li>
78+
<a href="http://localhost:1313/projects/" title="Project">
79+
<span>Project</span>
80+
</a>
81+
</li>
7782
</ul>
7883
</nav>
7984
</header>

public/categories/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
<span>Blog</span>
7676
</a>
7777
</li>
78+
<li>
79+
<a href="http://localhost:1313/projects/" title="Project">
80+
<span>Project</span>
81+
</a>
82+
</li>
7883
</ul>
7984
</nav>
8085
</header>

public/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@
7676
<span>Blog</span>
7777
</a>
7878
</li>
79+
<li>
80+
<a href="http://localhost:1313/projects/" title="Project">
81+
<span>Project</span>
82+
</a>
83+
</li>
7984
</ul>
8085
</nav>
8186
</header>

public/index.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
<guid>http://localhost:1313/posts/11_21_2025/</guid>
1616
<description>&lt;p&gt;Hi!&lt;/p&gt;</description>
1717
</item>
18+
<item>
19+
<title>My first project</title>
20+
<link>http://localhost:1313/projects/11_21_2025/</link>
21+
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
22+
<guid>http://localhost:1313/projects/11_21_2025/</guid>
23+
<description>&lt;p&gt;Hi!&lt;/p&gt;</description>
24+
</item>
1825
<item>
1926
<title>My second blog post</title>
2027
<link>http://localhost:1313/posts/11_22_2025/</link>

public/posts/11_21_2025/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
<span>Blog</span>
7575
</a>
7676
</li>
77+
<li>
78+
<a href="http://localhost:1313/projects/" title="Project">
79+
<span>Project</span>
80+
</a>
81+
</li>
7782
</ul>
7883
</nav>
7984
</header>

public/posts/11_22_2025/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
<span>Blog</span>
7575
</a>
7676
</li>
77+
<li>
78+
<a href="http://localhost:1313/projects/" title="Project">
79+
<span>Project</span>
80+
</a>
81+
</li>
7782
</ul>
7883
</nav>
7984
</header>

public/posts/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
<span class="active">Blog</span>
7676
</a>
7777
</li>
78+
<li>
79+
<a href="http://localhost:1313/projects/" title="Project">
80+
<span>Project</span>
81+
</a>
82+
</li>
7883
</ul>
7984
</nav>
8085
</header>
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
<!DOCTYPE html>
2+
<html lang="en" dir="auto" data-theme="dark">
3+
4+
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="robots" content="noindex, nofollow">
8+
<title>My first project | Jason&#39;Log</title>
9+
<meta name="keywords" content="">
10+
<meta name="description" content="Hi!">
11+
<meta name="author" content="">
12+
<link rel="canonical" href="http://localhost:1313/projects/11_21_2025/">
13+
<link crossorigin="anonymous" href="/assets/css/stylesheet.343cc480b9ffc8f04ccbe5e968ad674880cab773ec19905e93033065c1e7a804.css" integrity="sha256-NDzEgLn/yPBMy&#43;XpaK1nSIDKt3PsGZBekwMwZcHnqAQ=" rel="preload stylesheet" as="style">
14+
<link rel="icon" href="http://localhost:1313/favicon.ico">
15+
<link rel="icon" type="image/png" sizes="16x16" href="http://localhost:1313/favicon-16x16.png">
16+
<link rel="icon" type="image/png" sizes="32x32" href="http://localhost:1313/favicon-32x32.png">
17+
<link rel="apple-touch-icon" href="http://localhost:1313/apple-touch-icon.png">
18+
<link rel="mask-icon" href="http://localhost:1313/safari-pinned-tab.svg">
19+
<meta name="theme-color" content="#2e2e33">
20+
<meta name="msapplication-TileColor" content="#2e2e33">
21+
<link rel="alternate" hreflang="en" href="http://localhost:1313/projects/11_21_2025/">
22+
<noscript>
23+
<style>
24+
#theme-toggle,
25+
.top-link {
26+
display: none;
27+
}
28+
29+
</style>
30+
</noscript>
31+
<script>
32+
if (localStorage.getItem("pref-theme") === "light") {
33+
document.querySelector("html").dataset.theme = 'light';
34+
}
35+
36+
</script>
37+
</head>
38+
<body id="top">
39+
<header class="header">
40+
<nav class="nav">
41+
<div class="logo">
42+
<a href="http://localhost:1313/" accesskey="h" title="Jason&#39;Log (Alt + H)">Jason&#39;Log</a>
43+
<div class="logo-switches">
44+
<button id="theme-toggle" accesskey="t" title="(Alt + T)" aria-label="Toggle theme">
45+
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
46+
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
47+
stroke-linejoin="round">
48+
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
49+
</svg>
50+
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
51+
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
52+
stroke-linejoin="round">
53+
<circle cx="12" cy="12" r="5"></circle>
54+
<line x1="12" y1="1" x2="12" y2="3"></line>
55+
<line x1="12" y1="21" x2="12" y2="23"></line>
56+
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
57+
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
58+
<line x1="1" y1="12" x2="3" y2="12"></line>
59+
<line x1="21" y1="12" x2="23" y2="12"></line>
60+
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
61+
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
62+
</svg>
63+
</button>
64+
</div>
65+
</div>
66+
<ul id="menu">
67+
<li>
68+
<a href="http://localhost:1313/" title="Home">
69+
<span>Home</span>
70+
</a>
71+
</li>
72+
<li>
73+
<a href="http://localhost:1313/posts/" title="Blog">
74+
<span>Blog</span>
75+
</a>
76+
</li>
77+
<li>
78+
<a href="http://localhost:1313/projects/" title="Project">
79+
<span>Project</span>
80+
</a>
81+
</li>
82+
</ul>
83+
</nav>
84+
</header>
85+
<main class="main">
86+
87+
<article class="post-single">
88+
<header class="post-header">
89+
90+
<h1 class="post-title entry-hint-parent">
91+
My first project
92+
</h1>
93+
<div class="post-meta"><span title='1970-01-01 00:00:00 +0000 UTC'>January 1, 1970</span>
94+
95+
</div>
96+
</header>
97+
98+
<div class="post-content"><p>Hi!</p>
99+
100+
101+
</div>
102+
103+
<footer class="post-footer">
104+
<ul class="post-tags">
105+
</ul>
106+
</footer>
107+
</article>
108+
</main>
109+
110+
<footer class="footer">
111+
<span>&copy; 2025 <a href="http://localhost:1313/">Jason&#39;Log</a></span> ·
112+
113+
<span>
114+
Powered by
115+
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
116+
<a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
117+
</span>
118+
</footer>
119+
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
120+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
121+
<path d="M12 6H0l6-6z" />
122+
</svg>
123+
</a>
124+
125+
<script>
126+
let menu = document.getElementById('menu');
127+
if (menu) {
128+
129+
const scrollPosition = localStorage.getItem("menu-scroll-position");
130+
if (scrollPosition) {
131+
menu.scrollLeft = parseInt(scrollPosition, 10);
132+
}
133+
134+
menu.onscroll = function () {
135+
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
136+
}
137+
}
138+
139+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
140+
anchor.addEventListener("click", function (e) {
141+
e.preventDefault();
142+
var id = this.getAttribute("href").substr(1);
143+
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
144+
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
145+
behavior: "smooth"
146+
});
147+
} else {
148+
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
149+
}
150+
if (id === "top") {
151+
history.replaceState(null, null, " ");
152+
} else {
153+
history.pushState(null, null, `#${id}`);
154+
}
155+
});
156+
});
157+
158+
</script>
159+
<script>
160+
var mybutton = document.getElementById("top-link");
161+
window.onscroll = function () {
162+
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
163+
mybutton.style.visibility = "visible";
164+
mybutton.style.opacity = "1";
165+
} else {
166+
mybutton.style.visibility = "hidden";
167+
mybutton.style.opacity = "0";
168+
}
169+
};
170+
171+
</script>
172+
<script>
173+
document.getElementById("theme-toggle").addEventListener("click", () => {
174+
const html = document.querySelector("html");
175+
if (html.dataset.theme === "dark") {
176+
html.dataset.theme = 'light';
177+
localStorage.setItem("pref-theme", 'light');
178+
} else {
179+
html.dataset.theme = 'dark';
180+
localStorage.setItem("pref-theme", 'dark');
181+
}
182+
})
183+
184+
</script>
185+
</body>
186+
187+
</html>

0 commit comments

Comments
 (0)