Skip to content

Commit 24013fa

Browse files
author
doomy
committed
added community page
1 parent 6078ed6 commit 24013fa

File tree

4 files changed

+73
-31
lines changed

4 files changed

+73
-31
lines changed

content/community/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
+++
2+
template = "page.html"
3+
+++
4+
5+
## Join the conversation
6+
7+
Join Rust Audio on Discord to keep up with audio development within the Rust ecosystem, get help with DSP, collaborate on projects, and everything in-between.
8+
9+
<a class="button" style="margin-top: 1em" href={{config.extra.discord_invite}} target="_blank">Join Discord</a>
10+
11+
---
12+
13+
## Community rules
14+
15+
### Expected Behavior
16+
17+
- Exercise consideration and respect in your speech and actions.
18+
- Attempt collaboration before conflict.
19+
- Refrain from demeaning, discriminatory, or harassing behavior and speech.
20+
21+
### Unacceptable Behavior
22+
23+
- Unacceptable behaviors include: intimidating, harassing, abusive, discriminatory, derogatory or demeaning speech or actions by any participant in our community.
24+
- Harassment includes: harmful or prejudicial verbal or written comments related to gender, sexual orientation, race, religion, disability; inappropriate use of nudity and/or sexual images; inappropriate depictions of violence; deliberate intimidation or stalking; and unwelcome sexual attention.
25+
26+
### Consequences of Unacceptable Behavior
27+
28+
- Unacceptable behavior from any community member will not be tolerated. Anyone asked to stop unacceptable behavior is expected to comply immediately.
29+
- If a community member engages in unacceptable behavior, the moderators may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning.
30+
31+
More detail on expected behavior in the Rust Audio community can be found in the Berlin Code of Conduct: [https://berlincodeofconduct.org/](https://berlincodeofconduct.org/) [(Mirror)](https://web.archive.org/web/20251004120400/https://berlincodeofconduct.org/en)
32+
33+
We appreciate your efforts to keep this a safe and welcoming community, and again, welcome!

templates/index.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33

44
{% block content %}
55

6-
{# Header #}
7-
<nav>
8-
<a href="/">{% if config.extra.logo %}
9-
<img src={{config.extra.logo}} />
10-
{% endif %}
11-
<h3>{{ config.title }}</h3>
12-
</a>
13-
</nav>
14-
156
{# About #}
167
<section class="container">
178
<h2>About</h2>
@@ -263,4 +254,4 @@ <h2>{{group | capitalize}}</h2>
263254
})();
264255
</script>
265256

266-
{% endblock content %}
257+
{% endblock content %}

templates/layout.html

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,35 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
7+
<title>{{ config.title }}</title>
8+
<link rel="stylesheet" href="/main.css" />
9+
<link
10+
href="https://fonts.googleapis.com/css?family=Barlow:400,600,700|PT+Serif:400,400i,700|Inconsolata:400,700"
11+
rel="stylesheet"
12+
/>
13+
<link
14+
href="https://fonts.googleapis.com/icon?family=Material+Icons"
15+
rel="stylesheet"
16+
/>
17+
{# In case we need some specific script or something #} {% block
18+
extra_head %} {% endblock extra_head %}
19+
</head>
320

4-
<head>
5-
<meta charset="UTF-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8-
<title>{{ config.title }}</title>
9-
<link rel="stylesheet" href="/main.css">
10-
<link href="https://fonts.googleapis.com/css?family=Barlow:400,600,700|PT+Serif:400,400i,700|Inconsolata:400,700"
11-
rel="stylesheet">
12-
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
13-
{# In case we need some specific script or something #}
14-
{% block extra_head %}
15-
{% endblock extra_head %}
16-
</head>
21+
<body>
22+
<nav>
23+
<a href="/"
24+
>{% if config.extra.logo %}
25+
<img src="{{config.extra.logo}}" />
26+
{% endif %}
27+
<h3>{{ config.title }}</h3>
28+
</a>
1729

18-
<body>
19-
{% block content %}{% endblock content %}
20-
{% block extra_body %}{% endblock extra_body %}
21-
{% block footer %}{% endblock footer %}
22-
</body>
23-
24-
</html>
30+
<a href="/community"> Community </a>
31+
</nav>
32+
{% block content %}{% endblock content %} {% block extra_body %}{%
33+
endblock extra_body %} {% block footer %}{% endblock footer %}
34+
</body>
35+
</html>

templates/page.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% extends "layout.html" %}
2+
{% import "macros.html" as m %}
3+
{% block content %}
4+
<div class="container">
5+
{{ page.content | safe }}
6+
</div>
7+
{% endblock content %}

0 commit comments

Comments
 (0)