Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE.org Applications Subsite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Websites
KDE.org Applications Subsite
Commits
08bac04c
Commit
08bac04c
authored
Jun 26, 2020
by
Carl Schwan
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add properly sized card images
parent
e2159244
Pipeline
#25116
passed with stage
in 2 minutes and 58 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
templates/base.html.twig
templates/base.html.twig
+1
-1
templates/main/category.html.twig
templates/main/category.html.twig
+1
-0
templates/main/index.html.twig
templates/main/index.html.twig
+1
-0
No files found.
templates/base.html.twig
View file @
08bac04c
...
...
@@ -22,7 +22,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<meta
property=
"og:image"
content=
"
{{
block
(
'image'
)
}}
"
/>
<!-- Twitter card configuration -->
<meta
name=
"twitter:card"
content=
"
summary_large_image
"
/>
<meta
name=
"twitter:card"
content=
"
{%
block
imageSize
%}
summary_large_image
{%
endblock
%}
"
/>
<meta
name=
"twitter:site"
content=
"@kdecommunity"
/>
<meta
name=
"twitter:title"
content=
"
{{
block
(
'title'
)
}}
"
/>
<meta
name=
"twitter:description"
content=
"
{{
block
(
'description'
)
}}
"
/>
...
...
templates/main/category.html.twig
View file @
08bac04c
...
...
@@ -10,6 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{%
block
description
%}{%
endblock
%}
{%
block
image
%}
https://kde.org/products/apps.png
{%
endblock
%}
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
~
"/"
~
path
(
'app_main_category_intl'
,
{
'_locale'
:
locale
,
'category'
:
category.name
|
lower
}
)
}}{%
endblock
%}
{%
block
imageSize
%}
summary
{%
endblock
%}
{%
block
body
%}
<main
class=
"container"
>
...
...
templates/main/index.html.twig
View file @
08bac04c
...
...
@@ -10,6 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{%
block
description
%}{%
trans
%}
KDE is a community of friendly people who create over 200 apps which run on any Linux desktop, and often other platforms too. Here is the complete list.
{%
endtrans
%}{%
endblock
%}
{%
block
image
%}
https://kde.org/products/apps.png
{%
endblock
%}
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
}}{%
endblock
%}
{%
block
imageSize
%}
summary
{%
endblock
%}
{%
block
body
%}
<main
class=
"container"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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