Go full retro httpd mode
2
Makefile
@ -9,7 +9,7 @@ drafts: tags
|
||||
LANG="en_US.UTF-8" $(JEKYLL) serve --drafts --incremental
|
||||
|
||||
run: tags
|
||||
rm -rf _site && $(JEKYLL) serve --drafts --future --watch --incremental --limit-posts 20
|
||||
rm -rf _site && $(JEKYLL) serve --drafts --future --watch --incremental --limit-posts 40
|
||||
|
||||
tags:
|
||||
./generate-tags
|
||||
|
@ -3,7 +3,7 @@ analytics-id: #leave blank to not use Analytics
|
||||
|
||||
#Subtitle
|
||||
subtitle:
|
||||
active: true
|
||||
active: false
|
||||
text: a moderately technical blog
|
||||
|
||||
#Nav
|
||||
|
@ -1,3 +1,2 @@
|
||||
<footer class= "footer">
|
||||
<p>Copyright© {{site.author.name}} 2020. All right reserved. Theme designed by <a href="https://alessiofranceschi.me/">Alessio Franceschi</a>.</p>
|
||||
</footer>
|
||||
</footer>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<link rel="alternate" type="application/rss+xml" href="/atom.xml" title="brokenco.de feed">
|
||||
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ "/assets/css/apache.css" | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ "/assets/css/github-syntax.css" | relative_url }}">
|
||||
|
||||
<!-- SEO Plugin -->
|
||||
|
@ -1,5 +1,5 @@
|
||||
<header id="header">
|
||||
<div id = site_title>
|
||||
<div id = site-title>
|
||||
<a href="/">
|
||||
<h1>{{site.title}}</h1>
|
||||
</a>
|
||||
@ -10,6 +10,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div id="subheader">
|
||||
{% if site.data.settings.nav.pages.active %}
|
||||
<nav class="pages">
|
||||
@ -22,4 +23,8 @@
|
||||
</nav>
|
||||
{% endif %}
|
||||
</div>
|
||||
-->
|
||||
|
||||
</header>
|
||||
|
||||
<hr/>
|
||||
|
@ -4,19 +4,57 @@ permalink: /categories/
|
||||
title: Categories
|
||||
---
|
||||
|
||||
{% assign categories = site.tags | sort %}
|
||||
{% for category in categories %}
|
||||
<div class="archive-group">
|
||||
{% capture category_name %}{{ category | first }}{% endcapture %}
|
||||
<div id="#{{ category_name | slugize }}"></div>
|
||||
<p></p>
|
||||
<div class="apache-nav">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/back.png"/>
|
||||
<a href="/">Back</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/folder.png"/>
|
||||
tags/
|
||||
</td>
|
||||
</tr>
|
||||
{% assign categories = site.tags | sort %}
|
||||
{% for category in categories %}
|
||||
{% capture category_name %}{{ category | first }}{% endcapture %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/folder.png"/>
|
||||
{{ category_name }}/
|
||||
</td>
|
||||
</tr>
|
||||
{% for post in site.tags[category_name] %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/text.png"/>
|
||||
<a class="archive-link" href="{{ post.url | relative_url}}">{{post.title}}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<!--
|
||||
<div class="archive-group">
|
||||
{% capture category_name %}{{ category | first }}{% endcapture %}
|
||||
<div id="#{{ category_name | slugize }}"></div>
|
||||
<p></p>
|
||||
|
||||
<h2 class="archive-cat">{{ category_name }}</h2>
|
||||
<a name="{{ category_name | slugize }}"></a>
|
||||
<ul>
|
||||
{% for post in site.tags[category_name] %}
|
||||
<li><a class="archive-link" href="{{ post.url | relative_url}}">{{post.title}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<h2 class="archive-cat">{{ category_name }}</h2>
|
||||
<a name="{{ category_name | slugize }}"></a>
|
||||
<ul>
|
||||
{% for post in site.tags[category_name] %}
|
||||
<li><a class="archive-link" href="{{ post.url | relative_url}}">{{post.title}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
-->
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
@ -3,53 +3,92 @@ layout: default
|
||||
title: Home
|
||||
---
|
||||
|
||||
{% for post in paginator.posts %}
|
||||
<div class="post">
|
||||
<h2 id = "post-title"><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
|
||||
|
||||
{% if site.data.settings.date-under-post.active %}
|
||||
<div class = "post-info">
|
||||
<span>
|
||||
<i class="far fa-calendar" aria-hidden="true"></i>
|
||||
<time datetime="{{ post.date | date_to_xmlschema }}" class="by-line">{{ post.date | date_to_string }}</time> - <i class="far fa-clock"></i>
|
||||
{% include reading_time.html %}
|
||||
</span>
|
||||
{% if site.data.settings.categories.active %}
|
||||
{% include categories.html %}
|
||||
<div class="apache-nav">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/text.png"/>
|
||||
<a href="/about">about.txt</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/folder.png"/>
|
||||
blog/
|
||||
</td>
|
||||
</tr>
|
||||
{% if paginator.previous_page %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/continued.png"/>
|
||||
<a class = "newer paginate-button" href="{{ paginator.previous_page_path | relative_url }}">Newer Posts</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if site.data.settings.featured-img.active %}
|
||||
<div class = "featured-img-container">
|
||||
{% if post.image %}
|
||||
<a href="{{ post.url | relative_url }}"><img src="{{ post.image | relative_url }}"/></a>
|
||||
{% endif %}
|
||||
{% if post.gif %}
|
||||
{% include gif.html file = post.gif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
{% if post.customexcerpt %}
|
||||
{{post.customexcerpt | strip_html | truncatewords:50}}
|
||||
{% else %}
|
||||
{{ post.excerpt }}
|
||||
{% for post in paginator.posts %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/layout.png"/>
|
||||
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
||||
</td>
|
||||
<td>
|
||||
<span style="float:right;">
|
||||
{{ post.date | date_to_string }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% if paginator.next_page %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/continued.png"/>
|
||||
<a class = "older paginate-button" href="{{ paginator.next_page_path | relative_url }}">Older Posts</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<span class = "continue-reading"><a href="{{ post.url | relative_url }}">Continue reading...</a></span>
|
||||
</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/folder.png"/>
|
||||
feeds/
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/xml.png"/>
|
||||
<a href="/atom.xml">atom.xml</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/xml.png"/>
|
||||
<a href="/microblog.xml">microblog.xml</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/xml.png"/>
|
||||
<a href="/podcast-picks.xml">podcast-picks.xml</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/comp.gray.png"/>
|
||||
<a href="gopher://gopher.brokenco.de/">gopher site</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/folder.png"/>
|
||||
<a href="/categories">tags/</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- Pagination links -->
|
||||
<div class = "paginator">
|
||||
{% if paginator.total_pages > 1 %}
|
||||
{% if paginator.next_page %}
|
||||
<a class = "older paginate-button" href="{{ paginator.next_page_path | relative_url }}">Older Posts</a>
|
||||
{% endif %}
|
||||
{% if paginator.previous_page %}
|
||||
<a class = "newer paginate-button" href="{{ paginator.previous_page_path | relative_url }}">Newer Posts</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<hr/>
|
||||
</div>
|
||||
|
@ -2,4 +2,23 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="apache-nav">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/back.png"/>
|
||||
<a href="/">Back</a>
|
||||
<td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/text.png"/>
|
||||
{{ page.title }}
|
||||
<td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
{{ content }}
|
||||
|
@ -7,23 +7,64 @@
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
{% include header.html %}
|
||||
<header id="header">
|
||||
<div id= post-title>
|
||||
<h1>{{ page.title }}</h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="apache-nav">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/back.png"/>
|
||||
<a href="/">Back</a>
|
||||
<td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/xml.png"/>
|
||||
<a href="/atom.xml">atom.xml</a>
|
||||
<td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/folder.png"/>
|
||||
blog
|
||||
<td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/layout.png"/>
|
||||
{{ page.title }}
|
||||
<td>
|
||||
<td>
|
||||
<span style="float:right;">
|
||||
{{ page.date | date_to_string }}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
<img src="/images/icons/blank.png"/>
|
||||
|
||||
{% for category in page.tags %}
|
||||
<a href="{% capture url %}/tag/{{ category | slugify }}.html{% endcapture %}
|
||||
{{ url | relative_url }}">{{category}}</a>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="post-container">
|
||||
<article id = "post">
|
||||
<h2 id = "post-title">{{ page.title }}</h2>
|
||||
|
||||
{% if site.data.settings.date-under-post.active %}
|
||||
<div class = "post-info">
|
||||
<span>
|
||||
<i class="far fa-calendar" aria-hidden="true"></i> <span>{{ page.date | date_to_string }}</span> - <i class="far fa-clock"></i> {% include reading_time.html %}
|
||||
</span>
|
||||
{% if site.data.settings.categories.active %}
|
||||
{% assign post = page %}
|
||||
{% include categories.html %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</article>
|
||||
</div>
|
||||
|
39
assets/css/apache.css
Normal file
@ -0,0 +1,39 @@
|
||||
body {
|
||||
background-color: #fff;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: calc(800px);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#site-title a:link, #site-title a:visited, #post-title {
|
||||
font-family: "Times New Roman", Times, Georgia, serif;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#subheader {
|
||||
}
|
||||
|
||||
#post {
|
||||
font-family: "Source Serif Pro", serif;
|
||||
}
|
||||
|
||||
.apache-nav {
|
||||
font-family: Courier, "Courier New", mono;
|
||||
}
|
||||
|
||||
.apache-nav a:link, .apache-nav a:visited {
|
||||
color: rgb(42, 122, 226);
|
||||
}
|
||||
|
||||
.apache-nav a:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
BIN
images/icons/a.gif
Normal file
After Width: | Height: | Size: 246 B |
BIN
images/icons/a.png
Normal file
After Width: | Height: | Size: 306 B |
BIN
images/icons/alert.black.gif
Normal file
After Width: | Height: | Size: 242 B |
BIN
images/icons/alert.black.png
Normal file
After Width: | Height: | Size: 293 B |
BIN
images/icons/alert.red.gif
Normal file
After Width: | Height: | Size: 247 B |
BIN
images/icons/alert.red.png
Normal file
After Width: | Height: | Size: 314 B |
BIN
images/icons/apache_pb.gif
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
images/icons/apache_pb.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
5896
images/icons/apache_pb.svg
Normal file
After Width: | Height: | Size: 280 KiB |
BIN
images/icons/apache_pb2.gif
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
images/icons/apache_pb2.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
images/icons/back.gif
Normal file
After Width: | Height: | Size: 216 B |
BIN
images/icons/back.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
images/icons/ball.gray.gif
Normal file
After Width: | Height: | Size: 233 B |
BIN
images/icons/ball.gray.png
Normal file
After Width: | Height: | Size: 298 B |
BIN
images/icons/ball.red.gif
Normal file
After Width: | Height: | Size: 205 B |
BIN
images/icons/ball.red.png
Normal file
After Width: | Height: | Size: 289 B |
BIN
images/icons/binary.gif
Normal file
After Width: | Height: | Size: 246 B |
BIN
images/icons/binary.png
Normal file
After Width: | Height: | Size: 310 B |
BIN
images/icons/binhex.gif
Normal file
After Width: | Height: | Size: 246 B |
BIN
images/icons/binhex.png
Normal file
After Width: | Height: | Size: 319 B |
BIN
images/icons/blank.gif
Normal file
After Width: | Height: | Size: 148 B |
BIN
images/icons/blank.png
Normal file
After Width: | Height: | Size: 215 B |
BIN
images/icons/bomb.gif
Normal file
After Width: | Height: | Size: 308 B |
BIN
images/icons/bomb.png
Normal file
After Width: | Height: | Size: 375 B |
BIN
images/icons/box1.gif
Normal file
After Width: | Height: | Size: 251 B |
BIN
images/icons/box1.png
Normal file
After Width: | Height: | Size: 325 B |
BIN
images/icons/box2.gif
Normal file
After Width: | Height: | Size: 268 B |
BIN
images/icons/box2.png
Normal file
After Width: | Height: | Size: 336 B |
BIN
images/icons/broken.gif
Normal file
After Width: | Height: | Size: 247 B |
BIN
images/icons/broken.png
Normal file
After Width: | Height: | Size: 320 B |
BIN
images/icons/burst.gif
Normal file
After Width: | Height: | Size: 235 B |
BIN
images/icons/burst.png
Normal file
After Width: | Height: | Size: 341 B |
BIN
images/icons/c.gif
Normal file
After Width: | Height: | Size: 242 B |
BIN
images/icons/c.png
Normal file
After Width: | Height: | Size: 299 B |
BIN
images/icons/comp.blue.gif
Normal file
After Width: | Height: | Size: 251 B |
BIN
images/icons/comp.blue.png
Normal file
After Width: | Height: | Size: 330 B |
BIN
images/icons/comp.gray.gif
Normal file
After Width: | Height: | Size: 246 B |
BIN
images/icons/comp.gray.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
images/icons/compressed.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
images/icons/compressed.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
images/icons/continued.gif
Normal file
After Width: | Height: | Size: 214 B |
BIN
images/icons/continued.png
Normal file
After Width: | Height: | Size: 296 B |
BIN
images/icons/dir.gif
Normal file
After Width: | Height: | Size: 225 B |
BIN
images/icons/dir.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
images/icons/diskimg.gif
Normal file
After Width: | Height: | Size: 167 B |
BIN
images/icons/diskimg.png
Normal file
After Width: | Height: | Size: 215 B |
BIN
images/icons/down.gif
Normal file
After Width: | Height: | Size: 163 B |
BIN
images/icons/down.png
Normal file
After Width: | Height: | Size: 256 B |
BIN
images/icons/dvi.gif
Normal file
After Width: | Height: | Size: 238 B |
BIN
images/icons/dvi.png
Normal file
After Width: | Height: | Size: 305 B |
BIN
images/icons/f.gif
Normal file
After Width: | Height: | Size: 236 B |
BIN
images/icons/f.png
Normal file
After Width: | Height: | Size: 296 B |
BIN
images/icons/folder.gif
Normal file
After Width: | Height: | Size: 225 B |
BIN
images/icons/folder.open.gif
Normal file
After Width: | Height: | Size: 242 B |
BIN
images/icons/folder.open.png
Normal file
After Width: | Height: | Size: 332 B |
BIN
images/icons/folder.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
images/icons/folder.sec.gif
Normal file
After Width: | Height: | Size: 243 B |
BIN
images/icons/folder.sec.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
images/icons/forward.gif
Normal file
After Width: | Height: | Size: 219 B |
BIN
images/icons/forward.png
Normal file
After Width: | Height: | Size: 308 B |
BIN
images/icons/generic.gif
Normal file
After Width: | Height: | Size: 221 B |
BIN
images/icons/generic.png
Normal file
After Width: | Height: | Size: 275 B |
BIN
images/icons/generic.red.gif
Normal file
After Width: | Height: | Size: 220 B |
BIN
images/icons/generic.red.png
Normal file
After Width: | Height: | Size: 283 B |
BIN
images/icons/generic.sec.gif
Normal file
After Width: | Height: | Size: 249 B |
BIN
images/icons/generic.sec.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
images/icons/hand.right.gif
Normal file
After Width: | Height: | Size: 217 B |
BIN
images/icons/hand.right.png
Normal file
After Width: | Height: | Size: 311 B |
BIN
images/icons/hand.up.gif
Normal file
After Width: | Height: | Size: 223 B |
BIN
images/icons/hand.up.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
images/icons/icon.sheet.gif
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
images/icons/icon.sheet.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
images/icons/image1.gif
Normal file
After Width: | Height: | Size: 274 B |
BIN
images/icons/image1.png
Normal file
After Width: | Height: | Size: 325 B |
BIN
images/icons/image2.gif
Normal file
After Width: | Height: | Size: 309 B |
BIN
images/icons/image2.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
images/icons/image3.gif
Normal file
After Width: | Height: | Size: 286 B |
BIN
images/icons/image3.png
Normal file
After Width: | Height: | Size: 338 B |
BIN
images/icons/index.gif
Normal file
After Width: | Height: | Size: 268 B |
BIN
images/icons/index.png
Normal file
After Width: | Height: | Size: 332 B |
BIN
images/icons/layout.gif
Normal file
After Width: | Height: | Size: 276 B |
BIN
images/icons/layout.png
Normal file
After Width: | Height: | Size: 323 B |
BIN
images/icons/left.gif
Normal file
After Width: | Height: | Size: 172 B |
BIN
images/icons/left.png
Normal file
After Width: | Height: | Size: 257 B |
BIN
images/icons/link.gif
Normal file
After Width: | Height: | Size: 249 B |
BIN
images/icons/link.png
Normal file
After Width: | Height: | Size: 314 B |
BIN
images/icons/movie.gif
Normal file
After Width: | Height: | Size: 243 B |
BIN
images/icons/movie.png
Normal file
After Width: | Height: | Size: 272 B |
BIN
images/icons/odf6odb.png
Normal file
After Width: | Height: | Size: 1.0 KiB |