Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Websites
Plasma Mobile Website
Commits
7de1a3f3
Commit
7de1a3f3
authored
Apr 06, 2021
by
Carl Schwan
🚴
Browse files
Fix theming on translated webpages
parent
4b896a03
Changes
2
Hide whitespace changes
Inline
Side-by-side
content/_index.md
View file @
7de1a3f3
...
...
@@ -3,7 +3,5 @@ title: Plasma Mobile
menu
:
main
:
weight
:
1
sassFiles
:
-
scss/index.scss
---
layouts/index.html
View file @
7de1a3f3
{{ define "head-import" }}
{{ $style := resources.Get "scss/index.scss" | toCSS | minify | fingerprint }}
<link
rel=
"stylesheet"
href=
"{{ $style.Permalink }}"
>
{{ end }}
{{ define "main" }}
<section
class=
"home"
style=
"background-image:url(https://kde.org/announcements/plasma/5/5.21.0/mk.webp);background-size:cover;color:#fff"
>
<div
class=
"container align-items-center"
>
...
...
@@ -27,11 +31,11 @@
<div
class=
"app text-center col-4 col-lg-3 p-2"
>
<div
class=
"p-3 h-100"
>
<div
aria-hidden=
"true"
>
<a
href=
"https://apps.kde.org
/
{{ $
.Site.Language.Lang }}/{{ $namePart
}}"
>
<a
href=
"https://apps.kde.org{{ $
namePart | relLangURL
}}"
>
<img
src=
"https://apps.kde.org/app-icons/{{ $id }}.svg"
loading=
"lazy"
alt=
"{{ $localizedName }}"
width=
"48"
height=
"48"
>
</a>
</div>
<a
href=
"https://apps.kde.org
/
{{ $
.Site.Language.Lang }}/{{ $namePart
}}"
>
<a
href=
"https://apps.kde.org{{ $
namePart | relLangURL
}}"
>
{{ $localizedName }}
</a>
<p
class=
"d-none d-md-block"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment