Skip to content

Commit

Permalink
Improved pt
Browse files Browse the repository at this point in the history
  • Loading branch information
José Gabriel Gruber committed Oct 30, 2023
1 parent 8e30229 commit 5b46fef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
5 changes: 3 additions & 2 deletions _config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ const redirectBasedOnLanguage = async (request: any, next: any) => {
}
};

var languages = ["en", "pt"];
var defaultLanguage = "en";

const site = lume({
server: {
middlewares: [
Expand Down Expand Up @@ -79,8 +82,6 @@ site.use(
site.use(postcss());
site.use(attributes());
site.use(basePath()); // modify url
var languages = ["en", "pt-BR"];
var defaultLanguage = "en";
site.use(multilanguage({
extensions: [".njk", ".md"],
languages: languages, // Available languages
Expand Down
13 changes: 11 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
---
lang: [en, pt-BR]
lang: [en, pt]
id: index
layout: home.njk
title: José Gabriel Gruber - Software Engineer from Brazil
title.pt-BR: Engenheiro de Software
title.pt: José Gabriel Gruber - Engenheiro de Software
url.en: /
main_title: José Gabriel Gruber
description:
content: Software Engineer with a huge passion in software projects
content.pt: Engenheiro de Software com uma grande paixão em projeto de software
keywords:
content: software engineer, developer
content.pt: engheiro de software, desenvolvedor, programador
author:
content: José Gabriel Gruber
about:
title: Software Engineer
title.pt: Engenheiro de Software
phrase: Obsessed with Software Projects
phrase.pt: Obcecado com Projetos de Software
description: Hello World! My name is José Gabriel Gruber and I love Software Projects. If you want some proofs, take a look at my projects!
description.pt: Olá Mundo! Meu nomé é José Gabriel Gruebr e eu amo Projetos de Software. Se você quer algumas provas, dê uma olhada nos meus projetos!
works:
- title: Personal website
title.pt: Site pessoal
description: Using Deno, Lume, TailwindCSS, GitHub and Netifly
description.pt: Usando Deno, Lume, TailwindCSS, GitHub e Netifly
- title: External blog content
title.pt: Conteúdo de blog externo
description: A dynamic blog content generator for templates using a js lib
description.pt: Um gerador de conteúdo dinâmico de blog para templates usando uma biblioteca js
projects:
- title: Identity Access and Management
description: Using Django, KeyCloack, Sentry, UML, PostgreSQL, Grafana and Rancher
Expand Down

0 comments on commit 5b46fef

Please sign in to comment.