Skip to content

Commit 9b4b76c

Browse files
committed
Add bulk of src/ content (no posts, imgs)
1 parent 215786e commit 9b4b76c

36 files changed

Lines changed: 2082 additions & 0 deletions

src/404.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Page Not Found (404)
2+
3+
Sorry, this page is missing. If you think this is a mistake, please [open an issue] or [email us].
4+
5+
[open an issue]: https://github.com/typelevel/typelevel.github.com/issues/new?template=BLANK_ISSUE
6+
[email us]: mailto:webmaster@typelevel.org

src/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{%
2+
laika.title = Typelevel
3+
laika.html.template = templates/home.template.html
4+
%}
5+
6+
This is a placeholder for the landing page. No content from this markdown file is rendered.

src/blog/blog.template.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@:embed(/templates/main.template.html)
2+
3+
<section class="bulma-hero bulma-is-primary bulma-is-bold">
4+
<div class="bulma-hero-body bulma-container bulma-is-max-desktop">
5+
<p class="bulma-title">
6+
<span class="bulma-icon-text bulma-has-text-light">
7+
Blog
8+
<a class="bulma-icon bulma-has-text-current" href="@:target(feed.rss)">
9+
<i class="fas fa-square-rss"></i>
10+
</a>
11+
</span>
12+
</p>
13+
<p class="bulma-subtitle bulma-has-text-light">
14+
Follow our blog for announcements, events, and community-contributed posts.
15+
</p>
16+
</div>
17+
</section>
18+
19+
<div class="bulma-section bulma-container bulma-is-max-desktop bulma-columns bulma-is-multiline">
20+
<!-- custom Laika template directive for listing blog posts -->
21+
@:forBlogPosts
22+
<div class="bulma-column bulma-is-6">
23+
<div class="bulma-card">
24+
<a href="@:target(_.cursor.currentDocument.sourcePath)">
25+
<div class="bulma-card-content">
26+
<p class="bulma-is-6 bulma-has-text-right bulma-has-text-grey">@:date(_.date, "MMMM d, yyyy")</p>
27+
<h4 class="bulma-title bulma-is-5">${_.cursor.currentDocument.title}</h4>
28+
<p class="blog-post-byline bulma-subtitle bulma-is-6 bulma-has-text-grey">
29+
@:for(_.author)
30+
${_.name}<span class="delimiter">,</span><span class="last-delimiter"> &</span>
31+
@:@
32+
</p>
33+
@:for(_.tags)
34+
<span class="bulma-tag">${_}</span>
35+
@:@
36+
</div>
37+
</a>
38+
</div>
39+
</div>
40+
@:@
41+
</div>
42+
43+
@:@

src/blog/default.template.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@:embed(/templates/main.template.html)
2+
<section class="bulma-hero bulma-is-primary bulma-is-bold">
3+
<div class="bulma-hero-body bulma-container bulma-is-max-desktop">
4+
<p class="bulma-title bulma-has-text-light">${cursor.currentDocument.title}</p>
5+
<p class="blog-post-byline bulma-has-text-light bulma-subtitle">
6+
by
7+
@:for(author)
8+
${_.name}<span class="delimiter">,</span><span class="last-delimiter"> &</span>
9+
@:@
10+
on @:date(date, "MMMM d, yyyy")
11+
</p>
12+
@:for(tags)
13+
<span class="bulma-tag">${_}</span>
14+
@:@
15+
</div>
16+
</section>
17+
<div class="bulma-section bulma-container bulma-is-max-desktop">
18+
<div class="blog-post bulma-content">
19+
${cursor.currentDocument.content}
20+
</div>
21+
</div>
22+
<div class="bulma-section bulma-container bulma-is-max-desktop">
23+
<div class="bulma-columns">
24+
@:for(author)
25+
<div class="bulma-column">
26+
@:include(/templates/bio.template.html) { render-bio = true }
27+
</div>
28+
@:@
29+
</div>
30+
</div>
31+
32+
@:@

src/blog/default.template.rss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<item>
2+
<title>${cursor.currentDocument.rawTitle}</title>
3+
<pubDate>@:date(date, RFC_1123_DATE_TIME)</pubDate>
4+
@:for(author)
5+
<dc:creator>${_.name}</dc:creator>
6+
@:@
7+
<link>@:target(cursor.currentDocument.sourcePath)</link>
8+
<guid isPermaLink="true">@:target(cursor.currentDocument.sourcePath)</guid>
9+
<description><![CDATA[${cursor.currentDocument.content}]]></description>
10+
</item>

src/blog/event.template.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@:embed(/templates/main.template.html)
2+
<section class="bulma-hero bulma-is-primary bulma-is-bold">
3+
<div class="bulma-hero-body bulma-container bulma-is-max-desktop">
4+
<p class="bulma-title bulma-has-text-light">${cursor.currentDocument.title}</p>
5+
<p class="blog-post-byline bulma-has-text-light bulma-subtitle">
6+
on ${event-date} at ${event-location}
7+
</p>
8+
@:for(tags)
9+
<span class="bulma-tag">${_}</span>
10+
@:@
11+
</div>
12+
</section>
13+
<div class="bulma-section bulma-container bulma-is-max-desktop">
14+
<div class="blog-post bulma-content">
15+
${cursor.currentDocument.content}
16+
</div>
17+
</div>
18+
@:@

src/code-of-conduct/README.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# Typelevel Code of Conduct
2+
3+
The Typelevel community is made up of members from around the globe with a diverse set of skills, personalities, and experiences.
4+
It is through these differences that our community experiences great successes and continued growth.
5+
When you're working with members of the community, this Code of Conduct will help steer your interactions and keep Typelevel a positive, successful, and growing community.
6+
Whether you are new or familiar with our community, we care about making it a welcoming and safe place for you and we're here to support you.
7+
8+
9+
## Our Community
10+
11+
Members of the Typelevel community are open, considerate, and respectful.
12+
Behaviors that reinforce these values contribute to a positive environment, and include:
13+
14+
- **Being kind.** We treat our fellow community members with the empathy, respect and dignity all people deserve.
15+
- **Focusing on what is best for the community.** We're respectful of the processes set forth in the community, and we work within them.
16+
- **Showing empathy towards other community members.** We're attentive in our communications, whether in person or online, and we're tactful when approaching differing views.
17+
- **Acknowledging time and effort.** We're respectful of the volunteer efforts that permeate the Typelevel community. We're thoughtful when addressing the efforts of others, keeping in mind that often the labor was completed simply for the good of the community.
18+
- **Being respectful of differing viewpoints and experiences.** We remember that everyone was new to Scala at some point. We want to encourage newcomers to join our community and learn the Scala language and ecosystem. Always assume good intentions and a willingness to learn, just as you are willing to evolve your own opinion as you gain new insights.
19+
- **Being considerate.** Members of the community are considerate of their peers -- other Scala users.
20+
- **Being respectful.** We're respectful of others, their positions, their skills, their commitments, and their efforts.
21+
- **Gracefully accepting constructive criticism.** When we disagree, we are courteous in raising our issues.
22+
- **Using welcoming and inclusive language.** We're accepting of all who wish to take part in our activities, fostering an environment where anyone can participate and everyone can make a difference.
23+
24+
25+
## Our Standards
26+
27+
Every member of our community has the right to have their identity respected.
28+
The Typelevel community is dedicated to providing a positive experience for everyone, regardless of age, gender identity and expression, sexual orientation, disability, neurodivergence, physical appearance, body size, ethnicity, nationality, race, or religion (or lack thereof), education, or socio-economic status.
29+
30+
31+
### Inappropriate Behavior
32+
33+
Examples of unacceptable behavior by participants include:
34+
35+
- Harassment of any participants in any form
36+
- Deliberate intimidation, stalking, or following
37+
- Logging or taking screenshots of online activity for harassment purposes
38+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
39+
- Violent threats or language directed against another person
40+
- Incitement of violence or harassment towards any individual, including encouraging a person to commit suicide or to engage in self-harm
41+
- Creating additional online accounts in order to harass another person or circumvent a ban
42+
- Sexual language and imagery in online communities or in any conference venue, including talks
43+
- Insults, put downs, or jokes that are based upon stereotypes, that are exclusionary, or that hold others up for ridicule
44+
- Excessive swearing
45+
- Unwelcome sexual attention or advances
46+
- Unwelcome physical contact, including simulated physical contact (eg, textual descriptions like "hug" or "backrub") without consent or after a request to stop
47+
- Pattern of inappropriate social contact, such as requesting/assuming inappropriate levels of intimacy with others
48+
- Sustained disruption of online community discussions, in-person presentations, or other in-person events
49+
- Spamming, trolling, flaming, baiting or other attention-stealing behavior
50+
- Continued one-on-one communication after requests to cease
51+
- Other conduct that is inappropriate for a professional audience
52+
53+
Community members asked to stop any inappropriate behavior are expected to comply immediately.
54+
55+
56+
### Consequences
57+
58+
If a participant engages in behavior that violates our standards, the Typelevel Code of Conduct Committee will take any action they deem appropriate, including but not limited to: warning the offender, or expelling them from the community or current community events with no refund of event tickets.
59+
60+
The full list of consequences for inappropriate behavior is listed in the [Enforcement Procedures].
61+
62+
63+
64+
## Scope
65+
66+
The enforcement policies listed above apply to all official Typelevel channels, including but not limited to the following: mailing lists, both organization and affiliate GitHub repositories, Typelevel Discord server, and Typelevel venues and events.
67+
If unaffiliated projects adopt the Typelevel Code of Conduct, please contact the maintainers of those projects for enforcement.
68+
69+
70+
## Contact
71+
72+
For questions related to our code of conduct, or to report possible violations, please immediately [contact the Typelevel Code of Conduct Committee](mailto:coc@typelevel.org) or one of its members:
73+
74+
* [Sam Pillsworth](mailto:sam@blerf.ca)
75+
* [Andrew Valencik](mailto:andrew.valencik@gmail.com)
76+
* [Kateu Herbert](mailto:hkateu@gmail.com)
77+
* [Arman Bilge](mailto:arman@typelevel.org)
78+
* [Lucas Satabin](mailto:lucas.satabin@gnieh.org)
79+
80+
## Attribution
81+
82+
This code of conduct is a modified version of the [Python Software Foundation Code of Conduct](https://www.python.org/psf/conduct), licensed under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](https://creativecommons.org/licenses/by-sa/3.0/).
83+
84+
Additional language was incorporated from the following:
85+
86+
* [Otter Tech](https://otter.technology/code-of-conduct-training/) resources, licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/).
87+
* [Scala Code of Conduct](https://www.scala-lang.org/conduct/), licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).
88+
* [Affect Conf Code of Conduct](https://affectconf.com/coc/), licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).
89+
* [Citizen Code of Conduct](http://citizencodeofconduct.org/), licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).
90+
* [Contributor Covenant version 1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct), licensed[ Creative Commons Attribution 4.0 License](https://github.com/ContributorCovenant/contributor_covenant/blob/master/LICENSE.md).
91+
* [Django Project Code of Conduct](https://www.djangoproject.com/conduct/), licensed under a [Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/).
92+
* [LGBTQ in Tech Slack Code of Conduct](https://lgbtq.technology/coc.html), licensed under a [Creative Commons Zero License](https://creativecommons.org/publicdomain/zero/1.0/).
93+
* [PyCon 2018 Code of Conduct](https://us.pycon.org/2018/about/code-of-conduct/), licensed under a [Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/).
94+
* [Rust Code of Conduct](https://www.rust-lang.org/en-US/conduct.html)
95+
96+
[Enforcement Procedures]: enforcement.md

0 commit comments

Comments
 (0)