-
Notifications
You must be signed in to change notification settings - Fork 11
/
layout_project.html
108 lines (92 loc) · 3.31 KB
/
layout_project.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{% extends "layout_common.html" %}
{% block title %}{{ project.title }}{% endblock %}
{% block css_path %}"../style.css"{% endblock %}
{% block company_path %}"../index.html"{% endblock %}
{% block credit_path %}"../credits.html"{% endblock %}
{% block histories_history %}
{% if project.history|length > 0 %}
<li><a href="#history">History</a></li>
{% endif %}
{% endblock %}
{% block projects_features %}
{% if project.features|length > 0 %}<li><a href="#features">Features</a></li>{% endif %}
{% endblock %}
{% block images_screenshots %}<li><a href="#images">Images</a></li>{% endblock %}
{% block _navpreview %}
{% if company.press_can_request_copy == 'TRUE' %}<li><a href="#preview">Request Press Copy</a></li>{% endif %}
{% endblock %}
{% block _navabout %}
<li><a href="#about">About {{ company.title }}</a></li>
{% endblock %}
{% block header %}
<a class="nav-header" href="../index.html">press kit</a>
{% endblock %}
{% block foundingdate_releasedate %}
{% if project.release_date|length > 0 %}
<p>
<strong>Release date:</strong><br/>
{{ project.release_date }}
</p>
{% endif %}
{% if project.platforms|length > 0 %}
<p>
<strong>Platforms:</strong><br/>
{% for platform in project.platforms.platform %}
<a href="{{ parse_url(platform.link) }}">{{ platform.name }}</a><br/>
{% endfor %}
</p>
{% endif %}
{% endblock %}
{% block companysite_gamesite %}
{% if project.website|length > 0 %}
<p>
<strong>Website:</strong><br/>
{% set url = project.website|clean_url %}
<a href="{{ parse_url(project.website) }}">{{ url }}</a>
</p>
{% endif %}
{% endblock %}
{% block press_regularprice %}
{% if project.prices|length > 0 %}
<p>
<strong>Regular Price:</strong><br />
<table>
{% for price in project.prices.price %}
<tr><td>{{ price.currency }}</td><td>{{ price.value }}</td></tr>
{% endfor %}
</table>
</p>
{% endif %}
{% endblock %}
{% block historieprojects_historyfeatures %}
{% if project.history|length > 0 %}
<h2 id="history">History</h2>
<p>{{ project.history }}</p>
{% endif %}
{% if project.features|length > 0 %}
<h2 id="features">Features</h2>
<ul>
{% for feature in project.features.feature %}
<li>{{ feature }}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block _preview %}
{% if company.press_can_request_copy == 'TRUE' %}
<h2 id="preview">Request Press Copy</h2>
<p>Please send us an e-mail at <a href="mailto:{{ company.press_contact }}">{{ company.press_contact }}</a> and we'll get back to you as soon as a press copy is available for you.</p>
<hr>
{% endif %}
{% endblock %}
{% block _about %}
<h2 id="about">About {{ company.title }}</h2>
<p><strong>Boilerplate</strong><br/>
{{ company.description }}
</p>
<p><strong>More information</strong><br/>
More information on {{ company.title }}, our logo & relevant media are available <a href="../index.html">here</a>.
</p>
<hr>
{% endblock %}
{% block credit_name %}{{ project.title}} Credits{% endblock %}