fix(website): proper lang handling

This commit is contained in:
Gabriel Fontes
2026-09-01 16:45:28 -03:00
parent 85a73b7711
commit 0d4b8df02e
3 changed files with 4 additions and 9 deletions
+1
View File
@@ -1,6 +1,7 @@
name: "Gabriel Fontes"
description: Gabriel Fontes is a Brazilian software engineer and researcher working on reproducible infrastructure, open-source software, and distributed systems.
url: "https://gsfontes.com"
lang: en
default_scheme: atlas
@@ -1,18 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<html lang="{{ page.language | default: site.language }}">
<head>
<meta charset="utf-8" />
<title>{{ page.title }}{% unless page.citation %} | Gabriel Fontes{% endunless %}</title>
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="
{%- if page.description -%}
{{ page.description }}
{%- else -%}
{{ site.description }}
{%- endif -%}"
/>
<meta name="description" content="{{ page.description | default: site.description }}"/>
{% if page.noindex == true -%}
<meta name="robots" content="noindex">
{%- endif %}
@@ -1,7 +1,7 @@
---
title: Servidor de Factorio declarativo com NixOS+Terraform no Magalu Cloud
description: Aprenda como usar Terraform e NixOS para facilmente subir VMs com suas aplicações no Magalu Cloud.
language: pt
language: pt-BR
---
> **This blog post was originally published on [dev.to](https://dev.to/magalucloud/servidor-de-factorio-100-declarativo-com-nixos-e-terraform-no-magalu-cloud-3f37) as a guide for Magalu Cloud (my employer) hackathon's participants.**