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
7df61e80
Commit
7df61e80
authored
Jun 28, 2020
by
Carl Schwan
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix canonical url
parent
59c8da23
Pipeline
#25225
passed with stage
in 3 minutes and 20 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
templates/base.html.twig
templates/base.html.twig
+1
-1
templates/main/application.html.twig
templates/main/application.html.twig
+1
-1
templates/main/applicationDevelopment.html.twig
templates/main/applicationDevelopment.html.twig
+1
-1
templates/main/category.html.twig
templates/main/category.html.twig
+1
-1
templates/main/index.html.twig
templates/main/index.html.twig
+1
-1
No files found.
templates/base.html.twig
View file @
7df61e80
...
...
@@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<title>
{%
block
title
%}{%
trans
%}
KDE's Applications
{%
endtrans
%}{%
endblock
%}
</title>
<meta
name=
"description"
content=
"
{{
block
(
'description'
)
}}
"
/>
<meta
name=
"author"
content=
"KDE Community"
/>
<link
rel=
"canonical"
href=
"
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
}}{%
endblock
%}
"
/>
<link
rel=
"canonical"
href=
"
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
}}
/applications
{%
endblock
%}
"
/>
<!-- Facebook open graph configuration -->
<meta
property=
"og:title"
content=
"
{{
block
(
'title'
)
}}
"
/>
...
...
templates/main/application.html.twig
View file @
7df61e80
...
...
@@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{%
block
title
%}{{
name
}}{%
endblock
%}
{%
block
description
%}{{
application.summary
|
l10n
(
locale
)
}}{%
endblock
%}
{%
block
image
%}{%
if
application.screenshots
|
length
>
0
%}{{
application.screenshots
[
0
]
.
sourceImage
}}{%
else
%}
https://kde.org/products/apps.png
{%
endif
%}{%
endblock
%}
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
~
path
(
'app_main_application_intl'
,
{
'_locale'
:
locale
,
'category'
:
category
,
'application'
:
application.id
}
)
}}{%
endblock
%}
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
~
"/applications"
~
path
(
'app_main_application_intl'
,
{
'_locale'
:
locale
,
'category'
:
category
,
'application'
:
application.id
}
)
}}{%
endblock
%}
{%
block
body
%}
<main
itemscope
itemtype=
"http://schema.org/SoftwareApplication"
>
...
...
templates/main/applicationDevelopment.html.twig
View file @
7df61e80
...
...
@@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{%
block
title
%}{{
name
}}
- Developmnt information
{%
endblock
%}
{%
block
description
%}{{
application.summary
|
l10n
(
locale
)
}}{%
endblock
%}
{%
block
image
%}{%
if
application.screenshots
|
length
>
0
%}{{
application.screenshots
[
0
]
.
sourceImage
}}{%
else
%}
https://kde.org/products/apps.png
{%
endif
%}{%
endblock
%}
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
~
path
(
'app_main_application_dev_intl'
,
{
'_locale'
:
locale
,
'category'
:
category
,
'application'
:
application.id
}
)
}}{%
endblock
%}
{%
block
canonical
%}{{
app.request.getSchemeAndHttpHost
~
"/applications"
~
path
(
'app_main_application_dev_intl'
,
{
'_locale'
:
locale
,
'category'
:
category
,
'application'
:
application.id
}
)
}}{%
endblock
%}
{%
block
body
%}
<main>
...
...
templates/main/category.html.twig
View file @
7df61e80
...
...
@@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{%
block
title
%}{{
category.name
}}{%
endblock
%}
{%
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
canonical
%}{{
app.request.getSchemeAndHttpHost
~
"/
applications
"
~
path
(
'app_main_category_intl'
,
{
'_locale'
:
locale
,
'category'
:
category.name
|
lower
}
)
}}{%
endblock
%}
{%
block
imageSize
%}
summary
{%
endblock
%}
{%
block
body
%}
...
...
templates/main/index.html.twig
View file @
7df61e80
...
...
@@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
{%
block
title
%}{%
trans
%}
KDE's Applications
{%
endtrans
%}{%
endblock
%}
{%
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
canonical
%}{{
app.request.getSchemeAndHttpHost
}}
/applications/
{%
endblock
%}
{%
block
imageSize
%}
summary
{%
endblock
%}
{%
block
body
%}
...
...
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