Add: Beliefs
WIP: Blog
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<h1 id="this-website">This website</h1>
|
||||
<p>Naturally I devote the first blog post to the website. Let’s find out
|
||||
if I have any skills in writing such things.</p>
|
||||
<h2 id="motivation">Motivation</h2>
|
||||
<p>The motivation for the website came from frustration with modern
|
||||
sites and a bit of nostalgia. But mainly I wanted the <a
|
||||
href="now.html">now()</a> and the <a href="beliefs.html">beliefs()</a>
|
||||
pages, such that I have a public place to document what I’m doing and
|
||||
what I believe and have a corrective. I can’t remember where I read
|
||||
about it the first time, but I thought the idea was neat. Especially as
|
||||
more of a private person, it motivates me to keep going with things.</p>
|
||||
<p>Having programmed quite some time with modern JS/TS frameworks I’m a
|
||||
stark oppponent of this whole technology stack. It just adds layers and
|
||||
layers and complexity over complexity nobody ever will ever understand.
|
||||
As such I just wanted a simple plain html+css stack, suppported by Linux
|
||||
programs.</p>
|
||||
<h2 id="technical-details">Technical details</h2>
|
||||
<p>You can find the whole source code of this in my <a
|
||||
href="https://git.rhetenor.de">git()</a>. Beside HTML+CSS I wanted a bit
|
||||
of a template mechanism, but didn’t want it to be utterly complex.</p>
|
||||
<h3 id="building-a-page">Building a page</h3>
|
||||
<p>As such I build this sites together with <code>cat</code>. To start
|
||||
the template I have a <code>start.html</code> which contains everything
|
||||
from the start <code><html></code> tag, the whole
|
||||
<code><head></code> and the start <code><body></code> tag.
|
||||
Then the <code>nav.html</code> with the navigation and the
|
||||
<code>side.html</code> with the sidebar gets included. Afterwards the
|
||||
actual page gets included and at the end the <code>end.html</code> which
|
||||
just closes the tags.</p>
|
||||
<p>So for example the <code>index.html</code> page is built using
|
||||
<code>cat start.html nav.html side.html index.html end.html</code></p>
|
||||
<h3 id="automating-using-make">Automating using make</h3>
|
||||
<p>I automated this for a whole folder using a Makefile on which I don’t
|
||||
want to elaborate, it’s just a standard Makefile. Simple at the start
|
||||
and getting more cryptic as more one works on it. Probably the story of
|
||||
all Makefiles.</p>
|
||||
<h3 id="blog">Blog</h3>
|
||||
<p>Since I’m not that much of a fan of writing HTML all the time, but
|
||||
quite some fan of Markdown, I decided to use it for this blog. I write
|
||||
these posts as .md pages and convert them using pandoc with
|
||||
<code>pandoc -f markdown -t html *.md -o blog.html</code>. All of this
|
||||
also automated using markdown.</p>
|
||||
<h1 id="lol">lol</h1>
|
||||
<p>another test</p>
|
||||
<p>** with an even better english blogpost ** oO</p>
|
||||
<p>i dont care about this</p>
|
||||
Reference in New Issue
Block a user