add possibility for multilingual blog posts
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
This commit is contained in:
parent
ec81bbd0a8
commit
7988c57335
2 changed files with 5 additions and 2 deletions
|
@ -2,4 +2,6 @@
|
||||||
title: My Blog 🌸
|
title: My Blog 🌸
|
||||||
description: "Lauras Blog about random stuff :3"
|
description: "Lauras Blog about random stuff :3"
|
||||||
---
|
---
|
||||||
I'll be posting about random stuff here :3 IT, Politics, Love...
|
I'll be posting about random stuff here :3 IT, Politics, Love...
|
||||||
|
|
||||||
|
Posts will be in _English_ and in _German_!
|
|
@ -1,5 +1,6 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
{{ $language := or .Params.Language "en" }}
|
||||||
|
<html lang="{{ $language }}">
|
||||||
<head>
|
<head>
|
||||||
{{ partial "head/meta.html" . }}
|
{{ partial "head/meta.html" . }}
|
||||||
<title>{{ or .Title .Site.Title }}</title>
|
<title>{{ or .Title .Site.Title }}</title>
|
||||||
|
|
Loading…
Reference in a new issue