diff --git a/config/_default/hugo.yml b/config/_default/hugo.yml index a54e2818f04..997d4d9a52b 100644 --- a/config/_default/hugo.yml +++ b/config/_default/hugo.yml @@ -1,6 +1,7 @@ theme: devopsdays-theme baseURL: https://www.devopsdays.org/ languageCode: en-us +defaultContentLanguage: en GoogleAnalytics: UA-9713393-1 title: DevOpsDays buildDrafts: false @@ -19,35 +20,23 @@ languages: disabled: false languageCode: en-US languageDirection: ltr - languageName: Englist + languageName: English weight: 0 - -# menus: -# main: -# - name: events -# pageRef: /events -# weight: -150 -# identifier: events -# - name: blog -# pageRef: /blog -# weight: -140 -# identifier: blog -# - name: sponsor -# pageRef: /sponsor -# weight: -130 -# identifier: sponsor -# - name: speaking -# pageRef: /speaking -# weight: -120 -# identifier: speaking -# - name: organizing -# pageRef: /organizing -# weight: -110 -# identifier: organizing -# - name: about -# pageRef: /about -# weight: -100 -# identifier: about + params: + flag: ":us:" + pt-br: + disabled: false + languageCode: pt-BR + languageName: português (Brasil) + weight: 1 + params: + flag: ":brazil:" + fr: + disabled: false + languageCode: fr + languageName: Français + params: + flag: ":fr:" permalinks: page: /:filename/ diff --git a/config/_default/menus.fr.yml b/config/_default/menus.fr.yml new file mode 100644 index 00000000000..02ff4d2a039 --- /dev/null +++ b/config/_default/menus.fr.yml @@ -0,0 +1,25 @@ +main: + - name: events + pageRef: /events + weight: -150 + identifier: events + - name: blog + pageRef: /blog + weight: -140 + identifier: blog + - name: sponsor + pageRef: /sponsor + weight: -130 + identifier: sponsor + - name: speaking + pageRef: /speaking + weight: -120 + identifier: speaking + - name: organizing + pageRef: /organizing + weight: -110 + identifier: organizing + - name: about + pageRef: /about + weight: -100 + identifier: about \ No newline at end of file diff --git a/config/_default/menus.pt-BR.yml b/config/_default/menus.pt-BR.yml new file mode 100644 index 00000000000..02ff4d2a039 --- /dev/null +++ b/config/_default/menus.pt-BR.yml @@ -0,0 +1,25 @@ +main: + - name: events + pageRef: /events + weight: -150 + identifier: events + - name: blog + pageRef: /blog + weight: -140 + identifier: blog + - name: sponsor + pageRef: /sponsor + weight: -130 + identifier: sponsor + - name: speaking + pageRef: /speaking + weight: -120 + identifier: speaking + - name: organizing + pageRef: /organizing + weight: -110 + identifier: organizing + - name: about + pageRef: /about + weight: -100 + identifier: about \ No newline at end of file diff --git a/content/events/2023-chicago/conduct-fr.md b/content/events/2023-chicago/conduct.fr.md similarity index 100% rename from content/events/2023-chicago/conduct-fr.md rename to content/events/2023-chicago/conduct.fr.md diff --git a/content/events/2023-chicago/conduct-pt-br.md b/content/events/2023-chicago/conduct.pt-br.md similarity index 100% rename from content/events/2023-chicago/conduct-pt-br.md rename to content/events/2023-chicago/conduct.pt-br.md diff --git a/content/events/2023-chicago/welcome.pt-br b/content/events/2023-chicago/welcome.pt-br new file mode 100644 index 00000000000..43eca6b2fce --- /dev/null +++ b/content/events/2023-chicago/welcome.pt-br @@ -0,0 +1,69 @@ ++++ +Title = "devopsdays Chicago 2023" +Type = "welcome" +aliases = ["/events/2023-chicago/"] +Description = "DevOpsDays Chicago is coming back in 2023! The group that brought you DevOpsDays Chicago 2014-2022 is back together and planning the 2023 event. We're encouraged by the feedback from previous year's events and are determined to bring an improved experience and continue the DevOps conversation for 2023 in Chicago." ++++ +{{< youtube avEQjr4Ye1I >}} +

+or go directly to the stream on YouTube! +
+
+
+ +
+ +From fledgling startups to established industry, the Midwest is home to a large, vibrant technology community. Chicago, in particular, has been a flurry of activity in the past several years, drawing attention from around the globe. +

+DevOpsDays Chicago brings development, operations, QA, InfoSec, management, and leadership together to discuss the culture and tools to make better organizations and products. The 2023 event will be the ninth time we have held DevOpsDays Chicago, and it should be bigger and better than ever before! +

+The format of DevOpsDays Chicago includes a single track of 30 minute talks in the morning of each day, followed by Ignite talks (5 minute lightning talks). We spend the rest of the afternoon in Open Spaces, which are considered a key portion of the event. +

+The organizers of DevOpsDays Chicago believe that the community is stronger when all can participate, therefore we are dedicated to making the 2023 event as accessible as possible, including captioning for the morning talks. [Our venue](../location) is accessible as well. If you have any questions about any specific accommodation you may need in order to attend, please email chicago@devopsdays.org. +

+
+
+
+
+ + + + +
+
+
+ + + + +
+
+
+ +
+ + +
+
+
+
+ +
+
+

The DevOps Yak is Back!

+ + +
+ +
+ +

Header image By King of Hearts (Own work) [CC BY-SA 3.0 or GFDL], via Wikimedia Commons

+ Mastodon

diff --git a/content/page/about.pt-br.md b/content/page/about.pt-br.md new file mode 100644 index 00000000000..17494848f24 --- /dev/null +++ b/content/page/about.pt-br.md @@ -0,0 +1,36 @@ ++++ +Categories = [] +Description = "" +Tags = [] +date = "2024-01-19T15:11:58+02:00" +title = "sobre devopsdays" +aliases = ["/contact/"] + ++++ + +Devopsdays é uma série mundial de conferências técnicas que cobrem tópicos de desenvolvimento de software, operações de infraestrutura de TI e a interseção entre eles. Cada evento é administrado por voluntários da área local. + +A maioria dos eventos devopsdays apresenta uma combinação de palestras selecionadas (veja [chamadas para propostas](/speaking/)) e conteúdo auto-organizado [espaço aberto](/open-space-format/). Os tópicos geralmente incluem automação, testes, segurança e cultura organizacional. + +### History + +The first devopsdays was held in Ghent, Belgium in 2009. Since then, devopsdays events have multiplied, and if there isn't one in your city, [check out the information](/organizing/) about organizing one yourself! + + +### About the organization +The devopsdays global core organizer team guides local organizers in hosting their own devopsdays events worldwide. Active global core organizers onboard and guide events, answer questions, and maintain the website. Advisory global core organizers are less involved day-to-day but weigh in on important matters and assist as needed. Emeritus global core organizers are no longer involved in the core team; we thank them for their past efforts. + +**Global Core Organizers** + +{{< list_core_active >}} + +{{< list_core_advisory >}} + +{{< list_core_emeritus >}} + +If you have questions about hosting your own event or about potential future events you don't see listed, [email the active and advisory global core organizers](mailto:info@devopsdays.org). The global core organizers cannot answer questions about sponsorships or registration for individual cities. + +### Contact a specific event + +Organization is decentralized. Local events handle their own sponsorships, registration, and all other organization. For questions about a specific event you see listed on the site, contact the local organizers for that event; their email is on their contact page. + diff --git a/i18n/en.yml b/i18n/en.yml new file mode 100644 index 00000000000..430b5483cf1 --- /dev/null +++ b/i18n/en.yml @@ -0,0 +1,4 @@ +- id: languages + other: languages +- id: location + other: location \ No newline at end of file diff --git a/i18n/fr.yml b/i18n/fr.yml new file mode 100644 index 00000000000..b556475768c --- /dev/null +++ b/i18n/fr.yml @@ -0,0 +1,4 @@ +- id: languages + other: langages +- id: location + other: emplacement \ No newline at end of file diff --git a/i18n/pt-BR.yml b/i18n/pt-BR.yml new file mode 100644 index 00000000000..c479573c2ad --- /dev/null +++ b/i18n/pt-BR.yml @@ -0,0 +1,4 @@ +- id: languages + other: línguas +- id: location + other: location \ No newline at end of file diff --git a/themes/devopsdays-theme/layouts/_default/baseof.html b/themes/devopsdays-theme/layouts/_default/baseof.html index 206acad149f..5c31004e442 100644 --- a/themes/devopsdays-theme/layouts/_default/baseof.html +++ b/themes/devopsdays-theme/layouts/_default/baseof.html @@ -5,13 +5,13 @@ {{- partialCached "global_navbar.html" . -}} - {{- if and (eq (index (split (.Permalink | relURL) "/") 1) "events") (ne .Type "events") -}} + {{- if and (or (eq (index (split (.Permalink | relURL) "/") 1) "events") (eq (index (split (.Permalink | relURL) "/") 2) "events")) (ne .Type "events") -}} {{- partial "events/event_navbar.html" . -}} {{- end -}}
{{- if .IsPage -}} - {{- if or (eq (index (split (.Permalink | relURL) "/") 1) "events") (eq .Type "events") -}} + {{- if or (or (eq (index (split (.Permalink | relURL) "/") 1) "events") (eq (index (split (.Permalink | relURL) "/") 2) "events")) (eq .Type "events") -}}
{{- block "main" . }} {{- end -}} diff --git a/themes/devopsdays-theme/layouts/_default/single.html b/themes/devopsdays-theme/layouts/_default/single.html index bef12d3ffcd..2e32ea774b6 100644 --- a/themes/devopsdays-theme/layouts/_default/single.html +++ b/themes/devopsdays-theme/layouts/_default/single.html @@ -1,5 +1,15 @@ {{ define "main" }}

{{ .Title }}

+ {{ if .IsTranslated }} +

{{ i18n "translations" }}

+ +{{ end }} {{ .Content }}
diff --git a/themes/devopsdays-theme/layouts/event/single.html b/themes/devopsdays-theme/layouts/event/single.html index 64d26bf650f..64a18b81101 100644 --- a/themes/devopsdays-theme/layouts/event/single.html +++ b/themes/devopsdays-theme/layouts/event/single.html @@ -6,6 +6,19 @@ {{- partial "welcome.html" . -}} {{- else -}}

devopsdays {{ $e.city }} - {{ .Title }}

+ + + {{ if .IsTranslated }} +

{{ i18n "translations" }}

+ + {{ end }} + {{ .Content }} {{- end -}}
diff --git a/themes/devopsdays-theme/layouts/index.html b/themes/devopsdays-theme/layouts/index.html index 2e25511e5f2..5ea24a7ea07 100644 --- a/themes/devopsdays-theme/layouts/index.html +++ b/themes/devopsdays-theme/layouts/index.html @@ -5,7 +5,6 @@ {{- $upcoming := slice -}} {{- $upcoming = partial "functions/get-upcoming-events" . -}} -
{{- range sort $upcoming "startdate" -}} {{- if .startdate -}} diff --git a/themes/devopsdays-theme/layouts/partials/events/event_navbar.html b/themes/devopsdays-theme/layouts/partials/events/event_navbar.html index b884c3b38de..573b78a3175 100644 --- a/themes/devopsdays-theme/layouts/partials/events/event_navbar.html +++ b/themes/devopsdays-theme/layouts/partials/events/event_navbar.html @@ -28,7 +28,11 @@ {{- end -}} {{- end -}} {{- end -}} {{- end -}} diff --git a/themes/devopsdays-theme/layouts/partials/functions/get-event-data.html b/themes/devopsdays-theme/layouts/partials/functions/get-event-data.html index efdda991796..07349944dd9 100644 --- a/themes/devopsdays-theme/layouts/partials/functions/get-event-data.html +++ b/themes/devopsdays-theme/layouts/partials/functions/get-event-data.html @@ -1,5 +1,14 @@ -{{ $slug := (index (split ($.Page.Permalink | relURL) "/") 2) }} +{{ $slug := "" }} +{{ if eq "events" (index (split ($.Page.Permalink | relURL) "/") 1)}} + {{ $slug = (index (split ($.Page.Permalink | relURL) "/") 2) }} +{{ else }} + {{ $slug = (index (split ($.Page.Permalink | relURL) "/") 3) }} + {{ warnf "The slug is %s" $slug }} + {{ warnf "The permalink is %s" $.Page.Permalink }} +{{ end }} + + {{ $year := (index (split $slug "-" ) 0) }} {{ $city := substr $slug 5 }} {{ $e := index $.Site.Data.events $year $city "main" }} diff --git a/themes/devopsdays-theme/layouts/partials/global_navbar.html b/themes/devopsdays-theme/layouts/partials/global_navbar.html index 65ccad44611..f9533fad9bc 100644 --- a/themes/devopsdays-theme/layouts/partials/global_navbar.html +++ b/themes/devopsdays-theme/layouts/partials/global_navbar.html @@ -13,6 +13,14 @@ {{- range .Site.Menus.main -}} {{- end -}} +
diff --git a/utilities/examples/content/events/yyyy-city/conduct-fr.md b/utilities/examples/content/events/yyyy-city/conduct.fr.md similarity index 100% rename from utilities/examples/content/events/yyyy-city/conduct-fr.md rename to utilities/examples/content/events/yyyy-city/conduct.fr.md diff --git a/utilities/examples/content/events/yyyy-city/conduct-pt-br.md b/utilities/examples/content/events/yyyy-city/conduct.pt-br.md similarity index 100% rename from utilities/examples/content/events/yyyy-city/conduct-pt-br.md rename to utilities/examples/content/events/yyyy-city/conduct.pt-br.md