Skip to content

Commit

Permalink
[SKIP] Experimental 68k version of the site. #8
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Jul 31, 2024
1 parent d81364c commit d887bf6
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
36 changes: 36 additions & 0 deletions 68k.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
layout: 68k
---

<h3>{{ site.posts | size }} articles on many different topics! :cat:</h3>

<!-- tag collecting. DRY plz future me... -->
{% assign tags = "" | split: "," %}
{% for post in site.posts %}
{% assign tags = tags | concat: post.tags %}
{% endfor %}
{% assign tags = tags | uniq %}

<!-- Print tags with links
TODO: link to 68k versions of pages?
-->
<h3>Tags:
<div id="tag-links" class="tag-links">
{% for tag in tags%}
<a href="/tags/{{tag}}.html">{{tag}}</a>&nbsp;
{% endfor %}
</div>
</h3>

<hr />

<!-- Posts -->
{% for post in site.posts %}
{% include postlisting.html title=post.title date=post.date url=post.url excerpt=post.excerpt %}
<hr />
{% endfor %}


<!-- TODO:
- pagination! Now it may load more slowly as the blog grows on Amiga :/
- any way to get random article and similar things to work? -->
16 changes: 16 additions & 0 deletions _layouts/68k.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--
Super minimal site for older machines like the ones with a Motorola 68k processor :)
-->
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
</head>
<body>
<img width="320" src="{{ "/assets/img/banner_68k.jpg" | relative_url }}" alt="" />
<br />
<p>Experimental site for older computers :)</p>
{{ content }}
<br />
-- links and stuff in the future maybe --
</body>
</html>

0 comments on commit d887bf6

Please sign in to comment.