Skip to content

Commit

Permalink
Collection test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobpalm committed Oct 22, 2023
1 parent 3603346 commit fcea151
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion _archive/030.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: "0.3.0"
versionid: "030"
date: 202004-11-01
date: 2004-11-01
---
1 change: 1 addition & 0 deletions _archive/092.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: "0.9.2"
versionid: "092"
unreleased: true
---
26 changes: 16 additions & 10 deletions devblog.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,23 @@ <h1>The Archive</h1>
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<h4>Version {{ archiveversion.version }}</h4>
<p>Released on the {% assign day = archiveversion.date | date: "%-d" %}
{% case day %}
{% when '1' or '21' or '31' %}{{ day }}st
{% when '2' or '22' %}{{ day }}nd
{% when '3' or '23' %}{{ day }}rd
{% else %}{{ day }}th
{% endcase %}
{{ archiveversion.date | date: "of %B, %Y" }}</p>
<p><a class="btn btn-default" href="{{ site.baseURL }}/screenshots/{{ archiveversion.versionid }}.html"><span class="glyphicon glyphicon-picture" aria-hidden="true"></span> Screenshot</a>
<a class="btn btn-default" href="{{ site.baseURL }}/downloads/costa{{ archiveversion.versionid }}.zip"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span> Download</a></p>
{% if archiveversion.unreleased then %}
<p>Unreleased</p>
<p></p>
{% else %}
<p>Released on the {% assign day = archiveversion.date | date: "%-d" %}
{% case day %}
{% when '1' or '21' or '31' %}{{ day }}st
{% when '2' or '22' %}{{ day }}nd
{% when '3' or '23' %}{{ day }}rd
{% else %}{{ day }}th
{% endcase %}
{{ archiveversion.date | date: "of %B, %Y" }}</p>
<p><a class="btn btn-default" href="{{ site.baseURL }}/screenshots/{{ archiveversion.versionid }}.html"><span class="glyphicon glyphicon-picture" aria-hidden="true"></span> Screenshot</a>
<a class="btn btn-default" href="{{ site.baseURL }}/downloads/costa{{ archiveversion.versionid }}.zip"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span> Download</a></p>
{% endif %}
{{ archiveversion.content }}
Name: {{ archiveversion.name }}
<p><a href="{{ site.baseURL }}/archive.html#sitetop">Back to top</a></p>
</div>
</div>
Expand Down

0 comments on commit fcea151

Please sign in to comment.