-
Notifications
You must be signed in to change notification settings - Fork 11
/
layout_company.html
107 lines (91 loc) · 3.1 KB
/
layout_company.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
{% extends "layout_common.html" %}
{% block title %}{{ company.title }}{% endblock %}
{% block css_path %}"style.css"{% endblock %}
{% block company_path %}""{% endblock %}
{% block credit_path %}"credits.html"{% endblock %}
{% block histories_history %}
{% if company.histories|length > 0 %}
<li><a href="#history">History</a></li>
{% endif %}
{% endblock %}
{% block projects_features %}
{% if get_projects()|length > 0 %}<li><a href="#projects">Projects</a></li>{% endif %}
{% endblock %}
{% block images_screenshots %}<li><a href="#images">Images</a></li>{% endblock %}
{% block header %}
{% set url = company.website|clean_url %}
<a class="nav-header" href={{ company.website }}>{{ url }}</a>
{% endblock %}
{% block foundingdate_releasedate %}
{% if company.founding_date|length > 0 %}
<p>
<strong>Founding date:</strong><br/>
{{ company.founding_date }}
</p>
{% endif %}
{% endblock %}
{% block companysite_gamesite %}
{% if company.website|length > 0 %}
<p>
<strong>Website:</strong><br/>
{% set url = company.website|clean_url %}
<a href="{{ parse_url(company.website) }}">{{ url }}</a>
</p>
{% endif %}
{% endblock %}
{% block press_regularprice %}
{% if company.press_contact|length > 0 %}
<p>
<strong>Press / Business Contact:</strong><br/>
<a href="mailto:{{ company.press_contact }}">{{ company.press_contact }}</a>
</p>
{% endif %}
{% if company.socials|length > 0 %}
<p>
<strong>Social:</strong><br/>
{% for social in company.socials.social %}
<a href="{{ parse_url(social.link) }}">{{ social.name }}</a><br/>
{% endfor %}
</p>
{% endif %}
{% if get_projects()|length > 0 %}
<p>
<strong>Releases:</strong><br />
{% for project in get_projects() %}
<a href="{{ project }}/index.html">{{ project|replace("_", " ")|title }}</a><br />
{% endfor %}
</p>
{% endif %}
<p>
{% if company.address|length > 0 %}
<strong>Address:</strong><br/>
{% for address in company.address.line %}
{{ address }}<br/>
{% endfor %}
{% endif %}
</p>
{% if company.phone|length > 0 %}
<p>
<strong>Phone:</strong><br/>
{{ company.phone }}
</p>
{% endif %}
{% endblock %}
{% block historieprojects_historyfeatures %}
{% if company.histories|length > 0 %}
<h2 id="history">History</h2>
{% for history in company.histories.history %}
<strong>{{ history.header }}</strong>
<p>{{ history.text }}</p>
{% endfor %}
{% endif %}
{% if get_projects()|length > 0 %}
<h2 id="projects">Projects</h2>
<ul>
{% for project in get_projects() %}
<li><a href="{{ project }}/index.html">{{ project|replace("_", " ")|title }}</a></li>
{% endfor %}
{% endif %}
</ul>
{% endblock %}
{% block credit_name %}Team & Repeating Collaborators{% endblock %}