1
0

Update Hakyll site index and move original index to new file.

This commit is contained in:
Kevin Matsubara 2025-08-18 19:01:27 +02:00
parent 23f759cafe
commit 57ec6a3955
4 changed files with 31 additions and 13 deletions

View File

@ -2,15 +2,11 @@
title: Home
---
<h2>Welcome</h2>
<img src="/images/haskell-logo.png" style="float: right; margin: 10px;" />
<p>Welcome to my blog!</p>
<p>Welcome to my blog.</p>
<p>I've reproduced a list of recent posts here for your reading pleasure:</p>
<hr/>
<h2>Posts</h2>
$partial("templates/post-list.html")$
<p>…or you can find more in the <a href="/archive.html">archives</a>.</p>
<h4>Recent posts</h4>
$partial("templates/recent-posts.html")$

16
portfolio/index_old.html Normal file
View File

@ -0,0 +1,16 @@
---
title: Home
---
<h2>Welcome</h2>
<img src="/images/haskell-logo.png" style="float: right; margin: 10px;" />
<p>Welcome to my blog!</p>
<p>I've reproduced a list of recent posts here for your reading pleasure:</p>
<h2>Posts</h2>
$partial("templates/post-list.html")$
<p>…or you can find more in the <a href="/archive.html">archives</a>.</p>

View File

@ -4,7 +4,8 @@
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>My Hakyll Blog - $title$</title>
<title>Kevin Matsubara - $title$</title>
<link rel="icon" type="image/x-icon" href="/images/icon/icon.ico">
<link rel="stylesheet" href="/css/default.css" />
</head>
<body>
@ -14,9 +15,7 @@
</div>
<nav>
<a href="/">Home</a>
<a href="/about.html">About</a>
<a href="/contact.html">Contact</a>
<a href="/archive.html">Archive</a>
<a href="/plamo.html">Plamo</a>
</nav>
</header>
@ -27,7 +26,7 @@
<footer>
Site proudly generated by
<a href="http://jaspervdj.be/hakyll">Hakyll</a>
<a href="http://jaspervdj.be/hakyll" target="_blank" rel="noopener noreferrer">Hakyll</a>, using <a href="https://www.docker.com/" target="_blank" rel="noopener noreferrer">Docker</a> containers with <a href="https://www.nginx.com/" target="_blank" rel="noopener noreferrer">Nginx</a> on a <a href="https://www.strato.nl/server/vps-linux/" target="_blank" rel="noopener noreferrer">Strato<la> VPS.
</footer>
</body>
</html>

View File

@ -0,0 +1,7 @@
<ul>
$for(posts)$
<li>
<a href="$url$">$title$</a> - $date$
</li>
$endfor$
</ul>