Skip to content

Commit

Permalink
Add: rework our "Contact" page (#192)
Browse files Browse the repository at this point in the history
It no longer shows email-addresses of Developers, but instead
gives a whole bunch of places people could go to for the contact
they are looking for.

This is mostly triggered by the increased amount of questions
we get at info@, which is not a place you will receive an answer
from.
  • Loading branch information
TrueBrain authored Mar 3, 2021
1 parent 1e30f14 commit 6bbcfc3
Show file tree
Hide file tree
Showing 26 changed files with 87 additions and 135 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ collections:
output: true
download-meta:
output: false
people:
contact:
output: false
posts:
permalink: /news/:year/:month/:day/:title.html
Expand Down
10 changes: 10 additions & 0 deletions _contact/abuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Abuse
sort_priority: 5
locations:
- name: Email
caption: [email protected]
link: "mailto:[email protected]"
---

Copyright infringement or other abuse-related information we should be aware of.
10 changes: 10 additions & 0 deletions _contact/bugs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Bugs and other issues
sort_priority: 2
locations:
- name: Issues
caption: GitHub
link: https://github.com/OpenTTD/OpenTTD/issues
---

Game crashed? Found a graphical glitch? Functionality not working as expected? Please report your bug!
16 changes: 16 additions & 0 deletions _contact/development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Development
sort_priority: 4
locations:
- name: IRC
caption: "OFTC / #openttd"
link: https://webchat.oftc.net/?channels=openttd
- name: Source Code
caption: GitHub
link: https://github.com/OpenTTD/OpenTTD
- name: Pull Requests / Patches
caption: GitHub
link: https://github.com/OpenTTD/OpenTTD/pulls
---

Development related questions, code improvements, etc.
10 changes: 10 additions & 0 deletions _contact/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Feature requests
sort_priority: 3
locations:
- name: Forum
caption: tt-forums.net
link: https://www.tt-forums.net/viewforum.php?f=32
---

Missing a feature? Have a cool idea?
12 changes: 12 additions & 0 deletions _contact/general.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: General contact
sort_priority: 100
locations:
- name: Email
caption: [email protected]
link: "mailto:[email protected]"
---

Any question not answered by the list above? Contact us!

(please mind: for support questions, use any of the links above. This email-address is not meant for support related questions!)
18 changes: 18 additions & 0 deletions _contact/questions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Questions and player support
sort_priority: 1
locations:
- name: Forum
caption: tt-forums.net
link: https://www.tt-forums.net/viewforum.php?f=31
- name: Discord
caption: OpenTTD's Discord
link: https://discord.gg/hKzMGUx
- name: Reddit
caption: /r/openttd/
link: https://www.reddit.com/r/openttd/
---

Generic questions about how to install and/or how to play the game, including how to setup multiplayer game, how signals work, etc.

Please note that the developers currently working on OpenTTD don't follow these communities closely. See below how best to report issues.
5 changes: 0 additions & 5 deletions _people/abuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions _people/adf88.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/alberth.md

This file was deleted.

5 changes: 0 additions & 5 deletions _people/belugas.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/frosch.md

This file was deleted.

5 changes: 0 additions & 5 deletions _people/general.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/glx.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/matthijs.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/michi_cc.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/orudge.md

This file was deleted.

5 changes: 0 additions & 5 deletions _people/peter1138.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/planetmaker.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/rubidium.md

This file was deleted.

5 changes: 0 additions & 5 deletions _people/smatz.md

This file was deleted.

5 changes: 0 additions & 5 deletions _people/terkhen.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/truebrain.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/yexo.md

This file was deleted.

6 changes: 0 additions & 6 deletions _people/zuu.md

This file was deleted.

43 changes: 10 additions & 33 deletions pages/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,22 @@
---

<div id="section-full">
{% assign contact_sorted = site.contact | where_exp: "contact", "contact.sort_priority >= 0" | sort: "sort_priority" %}
{% for contact in contact_sorted %}
<div class="section-header">
<h3>Contact Information</h3>
<h3>{{ contact.name }}</h3>
</div>
<div class="section-item">
<div class="content">
<p>Individual developers are reachable at the following addresses. Note: these are not meant for your questions about a feature, bug, can't get something to work, or want something implemented. You should direct these questions to the <a href="https://forum.openttd.org/">forums</a> or in our IRC channel.</p>
<p>Bug reports can be discussed on IRC or forums, but the best place for it to be addressed is on our <a href="{{ site.baseurl }}/development.html">bug tracker</a>.</p>
<p>Do not address support requests or general questions to individual developers. You will not get an answer this way!</p>
<p>{{ contact.content }}</p>
<ul class="section-list">
{% assign high_priority_contacts = site.people | where_exp: "person", "person.sort_priority >= 0" | sort: "sort_priority" %}
{% assign lower_priority_contacts = site.people | where_exp: "person", "person.sort_priority == nil" %}
{% assign people_sorted = high_priority_contacts | concat: lower_priority_contacts %}
{% for person in people_sorted %}
<li>
<div class="header">
{{ person.name }}
{% if person.nick %}
({{ person.nick }})
{% endif %}
</div>
<div class="content">
{% if person.email %}
<span style="display: block;">Email: <a href="mailto:{{ person.email }}">{{ person.email }}</a></span>
{% endif %}
{% if person.role %}
<span style="display: block;">Role: {{ person.role }}</span>
{% endif %}
<div>
</li>
{% for location in contact.locations %}
<li>
<b>{{ location.name }}</b>: <a href="{{ location.link }}">{{ location.caption }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class="section-header">
<h3>IRC</h3>
</div>
<div class="section-item">
<div class="content">
<p>For a more immediate form of communication you can join us in the <a href="irc://irc.oftc.net/openttd">#openttd</a> channel on <a href="https://www.oftc.net/">OFTC</a> with your favourite <a href="https://www.irchelp.org">IRC</a> client. You can use the channel for questions, problems, development or general discussion.</p>
</ul>
</div>
</div>
{% endfor %}
</div>

0 comments on commit 6bbcfc3

Please sign in to comment.