add possibility for multilingual blog posts
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2023-09-06 07:56:25 +02:00
parent ec81bbd0a8
commit 7988c57335
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056
2 changed files with 5 additions and 2 deletions

View file

@ -3,3 +3,5 @@ title: My Blog 🌸
description: "Lauras Blog about random stuff :3"
---
I'll be posting about random stuff here :3 IT, Politics, Love...
Posts will be in _English_ and in _German_!

View file

@ -1,5 +1,6 @@
<!doctype html>
<html lang="en">
{{ $language := or .Params.Language "en" }}
<html lang="{{ $language }}">
<head>
{{ partial "head/meta.html" . }}
<title>{{ or .Title .Site.Title }}</title>