Commit 4df01015 authored by Phu Nguyen's avatar Phu Nguyen
Browse files

Put the frameworks annc. intro into layout

parent a99db445
......@@ -6,7 +6,7 @@ description: KDE Ships First Release of Frameworks 5.
layout: framework
qtversion: 5.2
title: First release of KDE Frameworks 5
version: 5.0
customIntro: true
---
July 7th, 2014. The KDE Community is proud to announce KDE Frameworks 5.0. Frameworks 5 is the next generation of KDE libraries, modularized and optimized for easy integration in Qt applications. The Frameworks offer a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. There are over 50 different Frameworks as part of this release providing solutions including hardware integration, file format support, additional widgets, plotting functions, spell checking and more. Many of the Frameworks are cross platform and have minimal or no extra dependencies making them easy to build and add to any Qt application.
......@@ -35,4 +35,4 @@ The <strong>Tiers</strong> refer to compile-time dependencies on other Framework
<strong>Solid</strong> offers hardware detection and can inform an application about storage devices and volumes, CPU, battery status, power management, network status and interfaces, and Bluetooth. For encrypted partitions, power and networking, running daemons are required.
<strong>KI18n</strong> adds Gettext support to applications, making it easier to integrate the translation workflow of Qt applications in the general translation infrastructure of many projects.
\ No newline at end of file
<strong>KI18n</strong> adds Gettext support to applications, making it easier to integrate the translation workflow of Qt applications in the general translation infrastructure of many projects.
......@@ -3,19 +3,10 @@ aliases:
- ../../kde-frameworks-5.50.0
date: 2018-09-08
layout: framework
version: 5.50.0
libCount: 70
figure: /announcements/frameworks/5-tp/KDE_QT.jpg
---
{{<figure src="/announcements/frameworks/5-tp/KDE_QT.jpg" >}}
September 08, 2018. KDE today announces the release of KDE Frameworks 5.50.0.
KDE Frameworks are 70 addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see <a href='http://kde.org/announcements/kde-frameworks-5.0.php'>the Frameworks 5.0 release announcement</a>.
This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner.
## New in this Version
### Attica
- Add support for proposed tags addition in OCS 1.7
......
---
version: 5.79.0
qtversion: 5.14
date: 2021-02-13
layout: framework
directory: 5.79
libCount: 83
---
{{% i18n_date %}}
{{% i18n_var "KDE today announces the release of KDE Frameworks %[1]s." "5.79.0" %}}
{{% i18n_var "KDE Frameworks are %[1]s addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see [the KDE Frameworks release announcement](%[2]s)." "83" "/announcements/frameworks/5/5.0" %}}
This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner.
## New in this Version
### Attica
* Port from QNetworkRequest::FollowRedirectsAttribute to QNetworkRequest::RedirectPolicyAttribute
......
......@@ -15,3 +15,11 @@ annc-frameworks-desc-pre-5-76:
other: 'KDE Ships Frameworks %ver.'
annc-frameworks-desc:
other: 'KDE today announces the release of KDE Frameworks %ver.'
annc-frameworks-text:
other: 'KDE today announces the release of KDE Frameworks {{ .Get "version" }}.'
annc-frameworks-intro:
other: 'KDE Frameworks are {{ .Get "libCount" }} addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see [the KDE Frameworks release announcement]({{ .Get "firstAnncLink" }}).'
annc-frameworks-intro-2:
other: 'This release is part of a series of planned monthly releases making improvements available to developers in a quick and predictable manner.'
annc-frameworks-new:
other: 'New in this version'
......@@ -23,22 +23,38 @@
</style>
{{ $scratch := newScratch }}
{{ $scratch.Set "url" "https://kdesrc-build.kde.org/" }}
{{ $scratch.Set "version" .Params.version }}
{{ $scratch.Set "version2" (delimit (first 2 (split .Params.version ".")) ".") }}
{{ $scratch.Set "version" .File.TranslationBaseName }}
{{ $scratch.Set "version2" (delimit (first 2 (split .File.TranslationBaseName ".")) ".") }}
{{ $scratch.Set "qtversion" .Params.qtversion }}
{{ $scratch.Set "inqlude" "https://inqlude.org" }}
{{ $scratch.Set "apiurl" "https://api.kde.org/frameworks" }}
{{ $scratch.Set "frameworkurl" "https://invent.kde.org/frameworks" }}
{{ $scratch.Set "frameworkmail" "https://mail.kde.org/mailman/listinfo/kde-frameworks-devel" }}
{{ $scratch.Set "wiki" "https://community.kde.org/Get_KDE_Software_on_Your_Linux_Distro" }}
{{ $scratch.Set "libCount" .Params.libCount }}
{{ $major := index (split .File.TranslationBaseName ".") 0 }}
{{ $scratch.Set "firstAnncLink" (printf "/announcements/frameworks/%s/%s.0" $major $major) }}
<header class="release-framework-heading pt-5 mb-5">
<div class="container text-center">
<span class="kde-logo-big">K</span>
<h2 class="mt-0"><a href="/announcements/">{{ i18n "release-announcements" }}</a><h2>
<h1>{{ i18n "kde-framework" . }}</h1>
<h1>{{ i18n "kde-framework" $scratch }}</h1>
</div>
</header>
<main class="releaseAnnouncment container">
{{ with .Params.figure }}
<figure><img src="{{ . }}"></figure>
{{ end }}
{{ if not .Params.customIntro }}
<p>{{ partial "i18n_date.html" . }}</p>
<p>{{ i18n "annc-frameworks-text" $scratch }}</p>
<p>{{ i18n "annc-frameworks-intro" $scratch | markdownify }}</p>
<p>{{ i18n "annc-frameworks-intro-2" }}</p>
<h2 id="new-in-this-version">{{ i18n "annc-frameworks-new" }}</h2>
{{ end }}
{{ .Content }}
<h2>{{ i18n "binary-package" }}</h2>
<p>{{ i18n "binary-package-text" $scratch | markdownify }}</p>
......@@ -48,7 +64,7 @@
<p>{{ i18n "sources-instructions" $scratch | markdownify }}</p>
<p>{{ i18n "source-details" $scratch | markdownify }}</p>
<h2>{{ i18n "get-involved" }}</h2>
<p>{{ i18n "get-involed-framework" $scratch | markdownify }}
<p>{{ i18n "get-involved-framework" $scratch | markdownify }}
<h2>{{ i18n "supporting-kde" }}</h2>
<p>{{ i18n "whatiskde" | markdownify }}</p>
......
......@@ -49,7 +49,7 @@ def webpage_list() -> tp.Dict[str, tp.List[str]]:
}
excluded_keys = ['layout', 'date', 'type', 'publishDate', 'version', 'release', 'qtversion', 'changelog', 'sassFiles', 'link', 'image', 'externi18n', 'draft', 'color', 'sassFile', 'aliases', 'laptop', 'images', 'class', 'logo', 'src', 'libCount', 'figure']
excluded_keys = ['layout', 'date', 'type', 'publishDate', 'version', 'release', 'qtversion', 'changelog', 'sassFiles', 'link', 'image', 'externi18n', 'draft', 'color', 'sassFile', 'aliases', 'laptop', 'images', 'class', 'logo', 'src', 'libCount', 'figure', 'customIntro']
def import_frontmatter(data, _):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment