Skip to content

Commit 3f09633

Browse files
committed
add prettier to suggested extensions since there is already a config
1 parent 1388c22 commit 3f09633

14 files changed

+75
-8
lines changed

.vscode/extensions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"recommendations": [
3-
"sissel.shopify-liquid"
3+
"sissel.shopify-liquid",
4+
"esbenp.prettier-vscode"
45
]
56
}

_i18n/de.yml

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ home:
2222
news:
2323
title: Artikel
2424

25+
label: Startseite
26+
2527
connect:
2628
info: Mitmachen
2729
description: Um bei uns mitzumachen, kommt am besten einfach an einem der kommenden <a href="/de/events" >events</a> vorbei. Wenn ihr euch für unseren Newsletter und Slack-Kanal registrieren möchtet, füllt bitte das Formular unten aus. Diese werden individuell bearbeitet, so dass es etwas dauern kann. Für Slack ist es notwendig, einen Link zu einem öffentlichen Profil (Website, Blog, LinkedIn, Github, etc.) bereitzustellen. Falls das für euch nicht möglich ist, schreibt uns unter <a rel="noopener noreferrer" target="_blank" href="mailto:[email protected]">[email protected]</a>.
@@ -102,5 +104,12 @@ de:
102104
- Dezember
103105

104106
press:
107+
label: Presse
105108
mentions: Pressespiegel
106109
inquiry: Bitte kontaktieren Sie uns für Presseanfragen hier
110+
111+
events:
112+
label: Vergangenen
113+
114+
news:
115+
label: Zeitungen

_i18n/en.yml

+32
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,25 @@ home:
2525
news:
2626
title: Recent articles
2727

28+
label: Home
29+
30+
header_themes:
31+
about:
32+
url: /about
33+
text: about
34+
news:
35+
url: /news
36+
text: articles
37+
press:
38+
url: /press
39+
text: Press
40+
events:
41+
url: /events
42+
text: events
43+
works-councils:
44+
url: /works-councils
45+
text: Works Councils
46+
2847
connect:
2948
info: Get involved
3049
description: The easiest way to get involved is to attend one of our upcoming <a href="/events" >events</a>. If you like to join our Newsletter and Slack, please fill out the registration form below. Please note that registrations are reviewed individually and might take some time. For Slack, it is mandatory to submit a link to a public profile (Website, Blog, LinkedIn, Github, etc.) for review. If this is not possible for you, please contact us at <a rel="noopener noreferrer" target="_blank" href="mailto:[email protected]">[email protected]</a>.
@@ -107,3 +126,16 @@ en:
107126
press:
108127
mentions: Press mentions
109128
inquiry: For Press inquiries contact us at
129+
130+
works_councils:
131+
label: Works Councils
132+
caption: "{{worksCouncil}} coworkers will represent you and your {{employeeCount}} co-workers in your future Works Council.
133+
Candidate list proposal: {{listName}} ideally has {{candidates}} candidates.
134+
{{isExample}} supporting signature(s) are also necessary, once all the candidates for {{listName}} list are finalized.
135+
"
136+
137+
news:
138+
label: News
139+
140+
about:
141+
label: About

_i18n/pl.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ home:
1111
title: Nadchodzące wydarzenia
1212
summary: Zerknij, co planujemy w najbliższym czasie—albo przejrzyj całe [archiwum wydarzeń](/pl/events).
1313

14+
label: Stronę startowej
15+
16+
1417
connect:
1518
info: informacje kontaktowe
1619
title: Dołącz do naszej społeczności

_i18n/ru.yml

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ home:
2222
news:
2323
title: Статьи
2424

25+
label: главной странице
26+
2527
connect:
2628
info: Присоединиться
2729
description: Чтобы присоединиться к нам, лучше всего загляните на наши <a href="/ru/events" >мероприятия</a>. Если вы хотите подписаться на нашу рассылку или канал в Slack-Kanal, заполните формуляр ниже. Данные будут обработаны индивидуально, что займёт некоторое время. Для Slack обязательна ссылка на открытый профиль (Сайт, Блог, LinkedIn, Github, и т.п.). Если для вас это не представляется возможным, напишите нам на адрес <a rel="noopener noreferrer" target="_blank" href="mailto:[email protected]">[email protected]</a>.

_includes/all_posts.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<li>
77
<div>
88
{% if post.layout == "event" %}
9-
<a href="{{ post.url }}">{{ post.title }}</a>
9+
<a href="{% unless site.lang == 'en' %}/{{site.lang}}{% endunless %}{{ post.url }}">{{ post.title }}</a>
1010
<b>{{ post.date | localize: site.lang }}</b>
1111
{% elsif post.layout == "news" %}
12-
📝<a href="{{ post.url }}">{{ post.title }}</a>
12+
📝<a href="{% unless site.lang == 'en' %}/{{site.lang}}{% endunless %}{{ post.url }}">{{ post.title }}</a>
1313
<b>{{ post.date | date: '%d %B, %Y' }}</b>
1414
{% endif %}
1515
</div>

_includes/events.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
datetime="{{ post.date }}"
3232
>{{ post.date | localize: site.lang }}</time>
3333
{% if limit %}<h3{% else %}<h2{% endif %} class="event-card__title ">
34-
<a href="{{ post.url }}" class="event-card__link">{{ post.title }}</a>
34+
<a href="{{site.baseurl}}{{ post.url }}" class="event-card__link">{{ post.title }}</a>
3535
{% if limit %}</h3>{% else %}</h2>{% endif %}
3636
</div>
3737
</article>

_includes/header.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ <h1 class="logo">{{ site.title }}</h1>
1010
<div id="navBtn">menu</div>
1111
<ul id="nav" class="dropdown__menu hide">
1212
{% for link in site.header_themes %}
13-
<li><a href="{{link.url}}">{{link.text}}</a></li>
13+
{% assign link_key = link.key %}
14+
<li><a href="{{ link.url }}">{% t link_key %}</a></li>
1415
{% endfor %}
1516
</ul>
1617
</li>

_includes/news.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
class="event-card__title"
3535
id="news-{{ post.title | slugify }}"
3636
>
37-
<a href="{{ post.url }}" class="event-card__link">{{ post.title }}</a>
37+
<a href="{{site.baseurl}}{{post.url}}" class="event-card__link">{{ post.title }}</a>
3838
{% if limit %}</h3>{% else %}</h2>{% endif %}
3939
</article>
4040
</li>

_layouts/news.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- Output author details if some exist. -->
77
<article class="post">
88
<header class="post-header">
9-
<a href="/events">Read more articles</a>
9+
<a href="{% if site.lang != 'en' %}/{{site.lang}}{% endif %}/events">Read more articles</a>
1010
<h1 class="post-title">{{ page.title | escape }}</h1>
1111
{% assign author = site.data.authors[page.author] | default: site.data.authors['techworkersber'] %}
1212
<section class="l-stack -horizontal -space-large">

events.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
33
permalink: /events
4+
title: Berlin Tech Worker Events
45
---
56
<h1>Berlin Tech Worker Events</h1>
67
{% include events.html %}

news.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
33
permalink: /news
4+
title: News
45
---
5-
<h1>Articles</h1>
6+
<h1>{% t news.label %}</h1>
67
{% include news.html %}

themes.md

+15
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,21 @@ permalink: /directory
5353
</h2>
5454
</div>
5555
</article>
56+
</li>
57+
<li>
58+
<article class="event-card">
59+
<img
60+
class="event-card__icon"
61+
src="/assets/icons/news.svg"
62+
alt="Newspaper">
63+
<div
64+
class="event-card__info-column l-stack -vertical"
65+
style="--stack-spacing: 0.25rem">
66+
<h2 class="event-card__title ">
67+
<a href="{% translate_link works_councils %}" class="event-card__link">{% t works_councils.label %}</a>
68+
</h2>
69+
</div>
70+
</article>
5671
</li>
5772
<li>
5873
<article class="event-card">

works-councils/works-councils.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
layout: page
33
permalink: /works-councils
44
tags: works-councils
5+
title: Works Councils
6+
namespace: works_councils
57
---
68
# Works Councils
79

0 commit comments

Comments
 (0)