-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into resources
- Loading branch information
Showing
16 changed files
with
93 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Biweekly Planning Meeting | ||
date: 2024-11-04 18:00 | ||
locations: | ||
- The Netherlands | ||
hide_form: false | ||
--- | ||
Our biweekly action planning meeting, hosted from the TWC Slack. | ||
|
||
We hope to open this beyond slack one day! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Biweekly Planning Meeting | ||
date: 2024-11-18 18:00 | ||
locations: | ||
- The Netherlands | ||
hide_form: false | ||
--- | ||
Our biweekly action planning meeting, hosted from the TWC Slack. | ||
|
||
We hope to open this beyond slack one day! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
--- | ||
layout: page | ||
permalink: /welcome | ||
permalink_nl: /welkom | ||
namespace: welcome | ||
hide_form: true | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
# All redirects in this file are parsed down from top to bottom | ||
|
||
# Redirect default Netlify subdomain to primary domain | ||
https://techwerkers.netlify.com/* https://techwerkers.nl/:splat 301! | ||
|
||
# Root domain redirects | ||
/ /nl/ 301! Language=nl | ||
/ /en/ 301! Language=en | ||
/ /en/ 301! | ||
|
||
# Locale specific redirects | ||
/over_ons /nl/over_ons 301! | ||
/activiteiten/* /nl/activitieten/:splat 301! | ||
/activiteiten /nl/activitieten 301! | ||
/about /en/about 301! | ||
/events/* /en/events/:splat 301! | ||
/events /en/events 301! | ||
|
||
# Note: do not include /* redirects, because you are likely to end up in a loop | ||
# unless they're in the localised list above |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# I18n | ||
|
||
Accessibility is important. Reading things in your own language is also important. | ||
|
||
## Default locales | ||
|
||
The fallback locale is `en`. Apart from that, landing on techwerkers.nl should redirect to techwerkers.nl/en/. Otherwise there is no special treatment of the `en` locale. | ||
|
||
## Translation keys | ||
|
||
`_i18n/` contains all the things you should need for translation keys. In | ||
general, it is better to use a translation key than it is to switch between languages. | ||
|
||
❌ `<h1>Something</h1>` | ||
|
||
✅ `<h1>{{ t 'something' }}</h1>` | ||
|
||
✅ `<h1>{{ translate 'something' }}</h1>` | ||
|
||
👆 The above assumes a key of `something` exists in locale file in `_i18n/`. | ||
|
||
## Links | ||
|
||
Use `namespace` frontmatter attribute on pages, and the `translate_link` or `tl` tag in the `href`. | ||
|
||
❌ `<a href="/something">Something</a>` | ||
|
||
✅ `<a href="{% tl something %}">Something</a>` | ||
|
||
✅ `<a href="{% translate_link something %}">Something</a>` |