added a few new entries, updated some outdated links, refreshed generated content
This commit is contained in:
@ -37,15 +37,14 @@
|
||||
{% block content %}{% endblock %}
|
||||
{#- footer -#}
|
||||
<footer class="footer">
|
||||
<div class="container is-size-7">
|
||||
<div class="block">
|
||||
Follow the <a href="https://trilarion.blogspot.com/search/label/osgames">Blog</a><br>
|
||||
</div>
|
||||
<div class="block">
|
||||
Disclaimer: The content on this site is the result of voluntary work and may be outdated or incorrect.
|
||||
The content is licensed <a href="https://github.com/Trilarion/opensourcegames/blob/master/LICENSE">CC-0</a>. Icons and ... <br>
|
||||
Last updated: {{ base['creation-date'] }}
|
||||
</div>
|
||||
<div class="container content is-size-7">
|
||||
<p>The <a href="https://github.com/Trilarion/opensourcegames">Open source games list (OSGL)</a> is a collection of open source game descriptions focusing on technical aspects.
|
||||
The content on this site is the result of voluntary work and may be outdated or incorrect.<br>
|
||||
For giving feedback or improving the content see the <a href="contribute.html">contribution guidelines</a> or read the <a href="https://trilarion.blogspot.com/search/label/osgames">Blog</a>.</p>
|
||||
<p>The content (games descriptions) is licensed <a href="https://github.com/Trilarion/opensourcegames/blob/master/LICENSE">CC-0</a>.
|
||||
Used icons are licensed under CC BY-SA 3.0 (<a href="https://github.com/somerandomdude/Iconic">Iconic</a> or <a href="http://designmodo.com/linecons-free/">Linecons</a>), CC0 1.0 (<a href="https://simpleicons.org/">Simple Icons</a>),
|
||||
CC BY 4.0 (<a href="https://github.com/FortAwesome/Font-Awesome">Font Awesome</a> or <a href="https://icomoon.io/#icons-icomoon">IcoMoon Free</a>), CC BY-SA 4.0 (<a href="http://www.entypo.com/">Entypo+</a>) or Apache License 2.0 (<a href="https://material.io/resources/icons">Material Icons</a>).
|
||||
This website is built using Python, Lark, Jinja2 and Bulma. Last updated: {{ base['creation-date'] }}</p>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
@ -2,17 +2,28 @@
|
||||
{% block content %}
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="box">
|
||||
<div class="box content">
|
||||
<h1 class="title is-size-4">Contribution guide</h1>
|
||||
<p>Please help improve the content of this site. The preferred way to contribute or give feedback is:</p>
|
||||
<ul>
|
||||
<li>Open an <a href="https://github.com/Trilarion/opensourcegames/issues">issue at the Github page</a>.</li>
|
||||
<li>Fork the Github project and create a <a href="https://github.com/Trilarion/opensourcegames/pulls">pull request</a> (if you are familiar with that).</li>
|
||||
<li>Send an email to ...</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box">
|
||||
<div class="block">
|
||||
<h2 id="games">Improving games/frameworks/tools information</h2>
|
||||
<p>Entries for open source games, gaming engines and gaming tools are stored as human readable text version in a markdown format (<a href="">example</a>).
|
||||
For each entry, the database content can be seen when clicking on "Raw entry" below the entry. You can suggest corrections or updates to an entry or a list of entries in one of the following ways:</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box">
|
||||
<div class="block">
|
||||
<h2 id="developers">Improving developers information</h2>
|
||||
<p>The developer information is stored in a single big file (<a href="">developer database</a>) and relates developers to open source games they have participated in. Additionally, developer profiles on GitHub, SourceForge or BitBucket are linked on
|
||||
a developer information and again on the game entries, in the developers field, all developers are listed. The relation between developers and games is stored twice to allow for both search directions, i.e. find all developers of a game or all games of a developer.
|
||||
A consistency check will run regularly on the content and will give precedence to the developer names stored in the games entries (the games list stored in the developer information will be overwritten).</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box">
|
||||
|
@ -3,9 +3,14 @@
|
||||
{% block content %}
|
||||
<section class="hero is-info is-bold">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="container content">
|
||||
<h1 class="title">Open source games list (OSGL)</h1>
|
||||
<p class="subtitle">{{ macros.render_text(index['subtitle']) }}</p>
|
||||
<p>The content of this site is based on a collection of open source game descriptions stored on <a href="https://github.com/Trilarion/opensourcegames">Github</a>.
|
||||
The descriptions concentrate on technical and general aspects of the games. Lots of sorting options are available and a list of inspirations and developers is cross-referenced.
|
||||
This work is a best-effort based result and will surely contain inaccurate information.<br>
|
||||
Please help improve the content (see <a href="contribute.html">contribution guidelines</a>).
|
||||
</p>
|
||||
<figure class="image is-2by1">
|
||||
<img src="collage_games.jpg" alt="">
|
||||
</figure>
|
||||
|
@ -1,23 +1,4 @@
|
||||
{# A single piece of text optionally with a format class. (see https://bulma.io/documentation/helpers/typography-helpers/) #}
|
||||
{%- macro render_text(text) -%}
|
||||
{%- if 'class' in text -%} {# Enhanced text #}
|
||||
<span class="{{ text['class'] }}">{{ text['text'] }}</span>
|
||||
{%- else -%}
|
||||
{{ text['text'] }}{# <span>{{ text['text'] }}</span> #}
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# #}
|
||||
{%- macro render_icon(icon) -%}
|
||||
<span class="icon has-text-black" {% if 'title' in icon %} title="{{ icon['title'] }}"{% endif %}><i class="icon-{{ icon['class'] }}"></i></span>
|
||||
{%- endmacro -%}
|
||||
|
||||
{# Some text surrounded by a link tag #}
|
||||
{%- macro render_url(url) -%}
|
||||
<a href="{{ base['url_to'](url['href'], url) }}"{% if 'title' in url %} title="{{ url['title'] }}"{% endif %}{% if 'class' in url %} class="{{ url['class'] }}"{% endif %}>{{ render_element(url['content']) }}</a>
|
||||
{%- endmacro -%}
|
||||
|
||||
{# Renders either plain text or a link depending on the type #}
|
||||
{# Renders either as plain text or everything else depending on the type #}
|
||||
{%- macro render_element(entry) -%}
|
||||
{%- if entry is string -%}
|
||||
{{ render_text({'text': entry}) }}
|
||||
@ -33,17 +14,44 @@
|
||||
{{ render_enumeration(entry) }}
|
||||
{%- elif entry['type'] == 'tags' -%}
|
||||
{{ render_tags(entry) }}
|
||||
{%- elif entry['type'] == 'enclose' -%}
|
||||
{{ render_enclose(entry) }}
|
||||
{%- else -%}
|
||||
{{ raise('Unknown entry type: {}.'.format(entry)) }}
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# A single piece of text optionally with a format class. (see https://bulma.io/documentation/helpers/typography-helpers/) #}
|
||||
{%- macro render_text(text) -%}
|
||||
{%- if 'class' in text -%} {# Enhanced text #}
|
||||
<span class="{{ text['class'] }}">{{ text['text'] }}</span>
|
||||
{%- else -%}
|
||||
{{ text['text'] }}{# <span>{{ text['text'] }}</span> #}
|
||||
{%- endif -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# Renders an icon #}
|
||||
{%- macro render_icon(icon) -%}
|
||||
<span class="icon has-text-black" {% if 'title' in icon %} title="{{ icon['title'] }}"{% endif %}><i class="icon-{{ icon['class'] }}"></i></span>
|
||||
{%- endmacro -%}
|
||||
|
||||
{# Some text surrounded by a link tag #}
|
||||
{%- macro render_url(url) -%}
|
||||
<a href="{{ base['url_to'](url['href'], url) }}"{% if 'title' in url %} title="{{ url['title'] }}"{% endif %}{% if 'class' in url %} class="{{ url['class'] }}"{% endif %}>{{ render_element(url['content']) }}</a>
|
||||
{%- endmacro -%}
|
||||
|
||||
{# Renders a list of enumeration entries (either links or text) #}
|
||||
{%- macro render_enumeration(enumeration) -%}
|
||||
{%- set divider = joiner(enumeration['divider']) -%}
|
||||
{% for entry in enumeration['entries'] -%}{{ divider() }}{{ render_element(entry) }}{%- endfor -%}
|
||||
{%- for entry in enumeration['entries'] -%}{{ divider() }}{{ render_element(entry) }}{%- endfor -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# #}
|
||||
{%- macro render_tags(tags) -%}
|
||||
<div class="tags has-addons">{{ render_enumeration(tags['enumeration']) }}</div>
|
||||
{%- endmacro -%}
|
||||
{%- endmacro -%}
|
||||
|
||||
{# #}
|
||||
{%- macro render_enclose(enclose) -%}
|
||||
{{ enclose['left'] }}{{ render_element(enclose['entry']) }}{{ enclose['right'] }}
|
||||
{%- endmacro -%}
|
||||
|
Reference in New Issue
Block a user