Multi-language, i18n (#177)

* language menu
* allow for subdir in baseURL
* Update netlify.toml and github actions to use Hugo 0.121.1
* Documented i18n approaches in exampleSite
* Attempted & Abandoned images from assets as recommended approach in content pages- it seems Hugo expects to access those only programmatically, not via markdown.

---------

Co-authored-by: Zdenek K <zdenek.kedaj@gmail.com>
This commit is contained in:
Ilja 2024-05-19 22:41:12 +02:00 committed by GitHub
parent a1772f49e4
commit 4191af692f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 337 additions and 32 deletions

View file

@ -66,7 +66,35 @@ body {
text-shadow: var(--cover-title-text-shadow);
}
#site-languages {
text-align: right;
}
#site-languages .btn-lang {
text-decoration: none;
background-color: var(--highlight);
color: var(--highlight-contrast);
border-radius: 5px;
-webkit-border-radius: 5px;
display: inline-block;
font-size: 70%;
margin: 0 0 0 0.7rem;
padding: 0.3rem 0.7rem;
position: relative;
text-transform: uppercase;
&.active,
&:hover {
color: var(--highlight-inverse-contrast);
background-color: var(--highlight-inverse);
}
}
// Landing screen menu
a.btn, #site-languages .btn-lang {
font-family: "Oswald", sans-serif;
}
a.btn {
text-decoration: none;
background-color: var(--highlight);
@ -82,7 +110,6 @@ body {
position: relative;
margin-top: 2rem;
cursor: pointer;
font-family: "Oswald", sans-serif;
text-transform: uppercase;
font-weight: lighter;