-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SKIP] Experimental 68k version of the site. #8
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
{% 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? --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |