Gameserver/website/index.html

46 lines
2.1 KiB
HTML

---
layout: default
nav_pill: home
---
<h1>About onFOSS</h1>
<p>
onFOSS-LAN is a online, "Free (as Freedom) and Open Source" LAN-Party.
</p>
<p>
See the main <a href="https://onfoss.org">onfoss.org</a> website for more information.
You will find our communication channels there as well.
</p>
<h1>Event</h1>
{% assign sitetime = site.time | date: "%FT%T" %}
{% assign event = site.data.events | where_exp: "item", "item.date >= sitetime" | last %}
{% if event %}
<p>Start at <strong>{{ event.date | date: "%A %e %B %Y, %R" }} UTC</strong>
<script>var zone = new Date().toLocaleTimeString('en-ca',{timeZoneName:'short'}).split(' ')[2];d=new Date("{{ event.date | date_to_rfc822 }}");document.writeln(" (Local time: "+d.toTimeString()+")")</script></p>
<p>Hosted by <strong>{{ site.content.hosted_by_name }}</strong></p>
<h2>Schedule</h2>
{% include event.html %}
{% else %}
<p>No event planned</p>
{% endif %}
<h1>Games</h1>
<p>There are a few game servers running. To connect, simply start the game and connect to this domain. See also the <a href="help.html">Help</a> section for more information.</p>
<table class="table">
<tbody>
{% assign sorted_games = site.data.games | sort: "title" %}
{% for game in sorted_games %}
<tr>
<td><a href="help_{{ game.name }}.html"><img src="assets/img/{{ game.name }}.png" height="64" alt="Tiny screenshot of {{ game.title }}"></a></td>
<td>{{ game.title }}</td>
<td>
{{ game.description }}
{% if game.warning %}
<br><mark>Warning:</mark> {{ game.warning }}
{% endif %}
</td>
<td><a href="help_{{ game.name }}.html">More info</a></td>
</tr>
{% endfor %}
</tbody>
</table>
<p>Enjoy!</p>