Skip to content

Commit d887bf6

Browse files
committed
[SKIP] Experimental 68k version of the site. #8
1 parent d81364c commit d887bf6

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

68k.html

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: 68k
3+
---
4+
5+
<h3>{{ site.posts | size }} articles on many different topics! :cat:</h3>
6+
7+
<!-- tag collecting. DRY plz future me... -->
8+
{% assign tags = "" | split: "," %}
9+
{% for post in site.posts %}
10+
{% assign tags = tags | concat: post.tags %}
11+
{% endfor %}
12+
{% assign tags = tags | uniq %}
13+
14+
<!-- Print tags with links
15+
TODO: link to 68k versions of pages?
16+
-->
17+
<h3>Tags:
18+
<div id="tag-links" class="tag-links">
19+
{% for tag in tags%}
20+
<a href="/tags/{{tag}}.html">{{tag}}</a>&nbsp;
21+
{% endfor %}
22+
</div>
23+
</h3>
24+
25+
<hr />
26+
27+
<!-- Posts -->
28+
{% for post in site.posts %}
29+
{% include postlisting.html title=post.title date=post.date url=post.url excerpt=post.excerpt %}
30+
<hr />
31+
{% endfor %}
32+
33+
34+
<!-- TODO:
35+
- pagination! Now it may load more slowly as the blog grows on Amiga :/
36+
- any way to get random article and similar things to work? -->

_layouts/68k.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!--
2+
Super minimal site for older machines like the ones with a Motorola 68k processor :)
3+
-->
4+
<!DOCTYPE html>
5+
<html lang="{{ site.lang | default: "en-US" }}">
6+
<head>
7+
</head>
8+
<body>
9+
<img width="320" src="{{ "/assets/img/banner_68k.jpg" | relative_url }}" alt="" />
10+
<br />
11+
<p>Experimental site for older computers :)</p>
12+
{{ content }}
13+
<br />
14+
-- links and stuff in the future maybe --
15+
</body>
16+
</html>

0 commit comments

Comments
 (0)