mirror of
https://github.com/michivonah/website-v3.git
synced 2025-12-22 21:36:28 +01:00
improve i8n/translations
This commit is contained in:
parent
cd355a9eca
commit
be603e8e52
9 changed files with 46 additions and 26 deletions
|
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
title: Home
|
||||
title: "Michi von Ah"
|
||||
slogan: "Informatiker, Tech-Enthusiast & Achterbahn-Fan"
|
||||
firstname: "Michi "
|
||||
lastname: "von Ah"
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
title: Home
|
||||
title: "Michi von Ah"
|
||||
slogan: "IT guy, tech enthusiast & rollercoaster fan"
|
||||
firstname: "Michi "
|
||||
lastname: "von Ah"
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,2 +1,9 @@
|
|||
contact-me = 'Kontaktiere mich'
|
||||
legal = 'Rechtliches'
|
||||
legal = 'Rechtliches'
|
||||
home = 'Home'
|
||||
about = 'Über mich'
|
||||
projects = 'Projekte'
|
||||
blog = 'Blog'
|
||||
contact = 'Kontakt'
|
||||
logo = 'Logo'
|
||||
gotop = 'Nach oben!'
|
||||
|
|
@ -1,2 +1,9 @@
|
|||
contact-me = 'Contact me'
|
||||
legal = 'Legal'
|
||||
legal = 'Legal'
|
||||
home = 'Home'
|
||||
about = 'About me'
|
||||
projects = 'Projects'
|
||||
blog = 'Blog'
|
||||
contact = 'Contact'
|
||||
logo = 'Logo'
|
||||
gotop = 'Go to top'
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
{{ with .Site.GetPage "about" }}
|
||||
<div class="about-part">
|
||||
{{ with .Params.image }}
|
||||
<img src='{{ . | relURL }}' alt="" title="">
|
||||
<img src='{{ . | relURL }}' alt="{{ $.Params.title }}" title="{{ $.Params.title }}">
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="about-part">
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<link rel="canonical" href="{{ .Site.BaseURL }}">
|
||||
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js" async></script>
|
||||
<script src='{{ "/akar-icons-fonts/src/index.js" | relURL }}'></script>
|
||||
<script src="main.js" defer></script>
|
||||
<script src='{{ "/main.js" | absURL }}' defer></script>
|
||||
<link rel="stylesheet" type="text/css" href='{{ "/style.css" | absURL }}' media="screen"/>
|
||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/aos@2.3.1/dist/aos.css" media="screen"/>
|
||||
<meta charset="UTF-8">
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<div class="hero">
|
||||
<h1>
|
||||
<span class="name-part">
|
||||
<span>M</span>
|
||||
<span>i</span>
|
||||
<span>c</span>
|
||||
<span>h</span>
|
||||
<span>i</span>
|
||||
<span> </span>
|
||||
{{ with .Site.Home.Params.firstname }}
|
||||
{{ range split . "" }}
|
||||
<span>{{ . }}</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
<span class="name-part">
|
||||
<span>v</span>
|
||||
<span>o</span>
|
||||
<span>n</span>
|
||||
<span> </span>
|
||||
<span>A</span>
|
||||
<span>h</span>
|
||||
{{ with .Site.Home.Params.lastname }}
|
||||
{{ range split . "" }}
|
||||
<span>{{ . }}</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</h1>
|
||||
<p>Informatiker, Tech-Enthusiast & Achterbahn-Fan</p>
|
||||
{{ with .Site.Home.Params.slogan }}
|
||||
<p>{{ . }}</p>
|
||||
{{ end }}
|
||||
<a href="#about"><i class="ai-chevron-down"></i></a>
|
||||
</div>
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
<nav class=""> <!-- Class "small", "open" is possible -->
|
||||
<div class="inner-width">
|
||||
<a href="#" alt="Home"><img src='{{ "/assets/logo/logo_white.svg" | relURL }}' alt="Logo" title="Logo"></a>
|
||||
<a href="#" alt="Home"><img src='{{ "/assets/logo/logo_white.svg" | relURL }}' alt='{{ T "logo" }}' title='{{ T "logo" }}'></a>
|
||||
<div class="nav-links">
|
||||
<a href="#" alt="Home">Home</a>
|
||||
<a href="#about" alt="About">Über mich</a>
|
||||
<a href="#projects" alt="Projekte">Projekte</a>
|
||||
<a href="https://blog.michivonah.ch" alt="Blog">Blog</a>
|
||||
<a href="#contact" alt="Kontakt">Kontakt</a>
|
||||
<a href="#" alt='{{ T "home" }}'>{{ T "home" }}</a>
|
||||
<a href="#about" alt='{{ T "about" }}'>{{ T "about" }}</a>
|
||||
<a href="#projects" alt='{{ T "projects" }}'>{{ T "projects" }}</a>
|
||||
<a href="https://blog.michivonah.ch" alt='{{ T "blog" }}'>{{ T "blog" }}</a>
|
||||
<a href="#contact" alt='{{ T "contact" }}'>{{ T "contact" }}</a>
|
||||
</div>
|
||||
<div class="nav-toggle">
|
||||
<i class="ai-text-align-right"></i>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="scroll-top">
|
||||
<a href="#" alt="Go to top" title="Go to top">
|
||||
<a href="#" alt='{{ T "gotop" }}' title='{{ T "gotop" }}'>
|
||||
<i class="ai-chevron-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue