volt 3 ay önce
ebeveyn
işleme
69e282c2ce

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 /node_modules/
 .DS_Store
 package-lock.json
+/_site/*

+ 0 - 63
_site/1/index.html

@@ -1,63 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>unakt - hi</title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-    <div id="tag">
-        <p>Hi, I'm unakt - a living mess from France doing his best to sort things up.</p>
-
-    </div>
-    <main>
-        <ul class="postlist">
-            
-                <li><h3><a href="/posts/001Hello/">001 hello ;)</a></h3></li>
-            
-        </ul>
-        <p class="pagination">
-             -
-            
-            <a href="/">Next Page</a>
-        </p>
-        <hr>
-<p>Debug Info:</p>
-<ul>
-  <li>Current Page: 1</li>
-  <li>Next Link: </li>
-  <li>Previous Link: /</li>
-  <li>Total Pages: 2</li>
-</ul>
-<h3>Total posts found in collection: 4</h3>
-<ul>
-
-  <li>./posts/001Hello.md</li>
-
-  <li>./posts/001Hello copy.md</li>
-
-  <li>./posts/004Creation log.md</li>
-
-  <li>./posts/005wargames.md</li>
-
-</ul>
-    </main>
-    
-    <footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>

+ 0 - 42
_site/2/index.html

@@ -1,42 +0,0 @@
-
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>unakt - hi</title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-    <div id="tag">
-        <p>Hi, I'm unakt - a living mess from France doing his best to sort things up.</p>
-
-    </div>
-    <main>
-        <ul class="postlist">
-            
-                <li><h3>4th - I don't know why it doesn't list all poasts</h3></li>
-                <p>Yeah, why the first post is ignored?</p>
-
-            
-        </ul>
-        <p> ---
-        <a href="/1/">Next Page</a></p>
-    </main>
-    
-    <footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>

+ 0 - 23
_site/README/index.html

@@ -1,23 +0,0 @@
-<h1>unakt.cc</h1>
-<p>Mon blog tout à fait minimaliste pas encore tout à fait fonctionnel mais c'est pas grave comme y'a rien dessus... ou presque...</p>
-<h2>How-To</h2>
-<p>Follow setup on Eleventy website then
-See scripts in the &quot;package.json&quot; file</p>
-<blockquote>
-<p>npm run build
-npm run deploy</p>
-</blockquote>
-<p>&quot;build&quot; does build the whole blog in html inside _site
-&quot;deploy&quot; should copy it in my internet served folder</p>
-<p>⚠️ Don't use deploy !! Used only in my own scenario</p>
-<h2>File Structure</h2>
-<ul>
-<li>_drafts - ignored md files from the builder</li>
-<li>_site - whole blog rendered in html</li>
-<li>includes - binaries &amp; structure</li>
-<li>layout - layouts</li>
-<li>node_modules - lot of crap</li>
-<li>posts - blog posts in markdown</li>
-<li>templates - pages templates</li>
-</ul>
-<p>I think that's it</p>

+ 0 - 18
_site/_drafts/Lonely/index.html

@@ -1,18 +0,0 @@
-<p>I'm under the impression, that - maybe - some skin needs to be shed...
-Or that maybe I missed the opportunity and I'm back to endless distractions... Who knows...</p>
-<p>Loneliness have been killing me lately, also maybe I've run out of things to share with my current closest friends, we can't be more apart than we are right now. I've been hurting, and trying to find answers with ChatGPT that were helpful at first, it led me back to one of my earliest wish since I was a kid with access to internet and dreaming about videogames on different websites, I wanted to have my own share of the web too. So from the top of my 14 (?) years old I built my website with a hacked version of MS Frontpage that talked about mods for GTA3 among other things...
-So ChatGPT suggested me to make yet another place like this one <em>right here</em>, without really knowing that much about me, but it resonated with me for this reason.
-I don't know what's the point of this place. There won't be currency to get in form of likes to have, neither re-links?
-But it think this make more sense to me, this is my home, and likely no one will see it that didn't actually look for it. And if you already read that far... you're invited i guess.
-Actually, there may not be likes, but maybe there's connections? At least this is what I hope for.
-Maybe there are mind alike out there, and this is my bottle in the sea... I'm not going to hide the fact that I'm a mess of a human being, nervousness often make me react a little too strongly, I've indulged in a massive collection of diverse medium of distractions to ignore the fact that loneliness have been painful for way too long... Kind of buying my way out of it in the process, and let's just say, it doesn't work. I also certainly did some things that I'm not proud of to feel smart at others detriments... I'm a wreck... But that's the last thing that's left to me...
-...
-...
-I'm not sure I'm even honest to myself there...
-...
-What should I tell? <strong>I don't know</strong>, I feel like I'm both talking to myself, as I've done for the past 6 years on my journal without it leading to anywhere, and trying to invoke something out of me that I can't see at the same time.</p>
-<p>At least there will be some sort of content, or means to connect, here? eh</p>
-<p>This may be my <s>:.|:;</s> offense, hopefully it'll be uphill from here.
-And it made me think... this could also be one of more to come of me trying to reconnect with my emo past, this movement that seems to have disappeared from most of the web... Pretty immature for me probably but can't someone be somewhat old-ish and emo? Let's pretend it's part of my continued deathmental (pun intended) period.</p>
-<p>Now, as weird as it may sound, I'm probably going back to do a few more races in New Star GP and all it's extremely polygonal and colorful retro '90 glory... That's one thing left that bring as much joy as it bring nervousness currently, and I won't be much more picky about these feelings,
-it is these both or none.</p>

+ 0 - 32
_site/posts/001Hello copy/index.html

@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>002 hello ;)</title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-
-    <article>
-    <h1>002 hello ;)</h1>
-    <p>Just a Hello World :P</p>
-
-    </article>
-
-<footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>

+ 0 - 32
_site/posts/004Creation log copy/index.html

@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>001 hello ;)</title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-
-    <article>
-    <h1>001 hello ;)</h1>
-    <p>Just a Hello World :P</p>
-
-    </article>
-
-<footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>

+ 0 - 107
_site/posts/Creation log/index.html

@@ -1,107 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Creation log of this place (eng)</title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-
-    <article>
-    <h1>Creation log of this place (eng)</h1>
-    <p>I'm neither extra proficient in English nor in coding and worst of all i have no knowledge of Javascript but this is a memo of things that didn't seems obvious to me to get this Eleventy.js blog place working at the ultimate barebone form.</p>
-<p>In the <strong>.eleventy.js</strong> file :</p>
-<pre><code class="language-js">module.exports = function(eleventyConfig) {
-
-// add my css file from the root folder 
-eleventyConfig.addPassthroughCopy(&quot;bundle.css&quot;);
-// This line was to make sure my post.md weren't processed as Liquid, permitting this post here
-eleventyConfig.setTemplateFormats([&quot;md&quot;, &quot;njk&quot;, &quot;html&quot;]);
-
-return {
-	// Ok idk this prevent markdown from being processed?
-	markdownTemplateEngine: false,
-	dir: {
-		input: &quot;./&quot;,
-		output: &quot;_site&quot;,
-		layouts: &quot;layouts&quot;,
-		includes: &quot;includes&quot;
-		}
-	};
-};
-</code></pre>
-<p>The <code>async</code> showed in the doc is unnecessary (is it?), and the return part should be at the end of the function.</p>
-<p>For the layout of a blog list in Nunjucks (file named &quot;home.njk&quot;):</p>
-<pre><code class="language-js">---
-    pagination:
-        data: collections.post
-        size: 3
-        reverse: true
----
-// [[PUT YOUR HTML HEADER HERE]]
-// A Navbar from my includes folder providing links to single pages
-{% include 'topbar.html' %}
-// I put a welcome message in this index
-{{ content | safe }}
-&lt;main&gt;
-&lt;ul&gt;
-	// listing 3 blog posts, both title and whole content
-	{% for post in pagination.items %}
-		&lt;li&gt;&lt;h3&gt;{{ post.data.title | safe }}&lt;/h3&gt;&lt;/li&gt;
-		{{ post.content | safe }}
-	{% endfor %}
-&lt;/ul&gt;
-
-// Links to show back 3 older posts or 3 more recent
-&lt;p&gt;{% if page.url != pagination.href.last %}&lt;a href=&quot;{{ pagination.href.next }}&quot;&gt;Prev Page&lt;/a&gt;{% endif %} ---
-
-{% if page.url != pagination.href.first %}&lt;a href=&quot;{{ pagination.href.previous }}&quot;&gt;Next Page&lt;/a&gt;{% endif %}&lt;/p&gt;
-&lt;/main&gt;
-</code></pre>
-<p>The <code>data: collections.post</code> will take all files tagged with &quot;post&quot;. And then they will be listed 3 by 3 in reverse order on the blog part (the for loop).</p>
-<p>Be aware that if you plan on switching from Liquid to Nunjucks by renaming your file because they seems identical, there actually are minor differences :
-<code>{% for post in pagination.items reversed %}</code>
-Should become :
-<code>{% for post in pagination.items | reverse %}</code>
-And if your ever simply rename like me, be aware that Eleventy will tell you an incorrect error line number, missing as many lines as you have metadata lines on top on your file.</p>
-<blockquote>
-<p>Little anecdote: This was especially aggravating when i renamed since it told my <strong>for loop</strong> wasn't closed exactly where i had <strong>another for loop</strong> that was perfectly correct...</p>
-</blockquote>
-<p>The said index page that use home.njk to show the post list, along with the &quot; content&quot; part with the welcome message :</p>
-<pre><code class="language-md">---
-layout: home.njk
-title: unakt - hi
----
-&gt; Hi, I'm unakt - a living mess from France doing his best to sort things up.
-</code></pre>
-<p>And here is how the most basic post1.md should look like:</p>
-<pre><code class="language-md">---
-tags: post
-title: The title of the post
----
-Lorem Ipsum
-sit dolor amen
-</code></pre>
-<p>And this is the most basic barebone elements needed for a blog...
-Now there's more things to look at, like the reverse order thing being a little janky at times, but in the grand scheme of things, this let me make some text based post,</p>
-<p>as this one ;)</p>
-
-    </article>
-
-<footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>

+ 0 - 1
_site/posts/post1/index.html

@@ -1 +0,0 @@
-<p>This is where the hot takes happen</p>

+ 0 - 1
_site/posts/post2 copy/index.html

@@ -1 +0,0 @@
-<p>And again</p>

+ 0 - 1
_site/posts/post2/index.html

@@ -1 +0,0 @@
-<p>Yeah maybe i'd be able to be considerate from time to time</p>

+ 0 - 32
_site/posts/post4s/index.html

@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>4th - I don&#39;t know why it doesn&#39;t list all poasts</title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-
-    <article>
-    <h1>4th - I don't know why it doesn't list all poasts</h1>
-    <p>Yeah, why the first post is ignored?</p>
-
-    </article>
-
-<footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>

+ 0 - 31
_site/templates/post/index.html

@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title></title>
-    <link rel="stylesheet" href="/bundle.css">
-</head>
-<body>
-    <header class="page-header">
-    <a href="/" class="headerlogo" title="Go home">
-        <img src="/img/astounddS.png" alt="huh" width="28">
-    </a>
-
-    <nav>
-        <a href="/">Home</a>
-        <a href="/about">About Me</a>
-        <a href="/notes">Notes</a>
-    </nav>
-</header>
-
-    <article>
-    <h1></h1>
-    
-    </article>
-
-<footer class="page-footer">
-        <small>- unakt</small>
-    </footer>
-</body>
-</html>