Commit 1a80d19f authored by Phu Nguyen's avatar Phu Nguyen
Browse files

Stop including assets for 'screenshots' shortcode in frontmatter

parent c6fd8c60
......@@ -26,14 +26,6 @@ itinerary:
hero_image: hero.png
images:
- /announcements/gear/21.04/hero.png
cssFiles:
- css/swiper-bundle.min.css
scssFiles:
- scss/components/swiper.scss
minJsFiles:
- js/swiper-bundle.min.js
jsFiles:
- js/swiper-init.js
layout: gear
---
......
......@@ -36,8 +36,6 @@ screenshots:
name: VVave, a music player
custom_about: true
custom_contact: true
cdnCssFiles:
- "kde-org/applications.css"
images:
- /announcements/plasma-mobile/pinephone-plasma-mobile-edition/preview.png
hide_title: true
......@@ -91,10 +89,8 @@ If you are interested in developing, you will be getting early access to an ambi
To find out more on how to order your PinePhone - KDE Community edition, visit [Pine64's site](https://www.pine64.org/).
{{< gallery >}}
{{< screenshots name="screenshots" >}}
### Press Contact
For more information, high resolution photographs and detailed specifications, please get in touch emailing [press@kde.org](mailto:press@kde.org) or [info@pine64.org](mailto:info@pine64.org).
<script src="https://cdn.kde.org/aether-devel/version/kde-org/applications.3e16ae06.js"></script>
......@@ -2,4 +2,4 @@ module kde-org
go 1.14
require invent.kde.org/websites/aether-sass v0.0.0-20220620140107-30fea215a48b // indirect
require invent.kde.org/websites/aether-sass v0.0.0-20220710204243-9c8011f64659 // indirect
<section class="swiper-container d-flex swiper-container-initialized swiper-container-horizontal mb-5" aria-label="Screenshots role=" list="">
<div class="swiper-wrapper d-flex my-3" role="listitem">
{{ $first := true }}
{{ range $.Page.Params.screenshots }}
<div class="swiper-slide {{ if $first }}{{ $first = false }}swiper-slide-active{{ end }}">
<figure class="text-center">
{{ if (in .url "/") }}
<img src="{{ .url }}" alt="{{ .name }}" style="max-height: 400px">
{{ else }}
<img src="{{ $.Page.Permalink }}{{ .url }}" alt="{{ .name }}" style="max-height: 400px">
{{ end }}
<figcaption class="mt-0">{{ .name }}</figcaption>
</figure>
</div>
{{ end }}
</div>
<div class="swiper-pagination swiper-pagination-bullets"><span class="swiper-pagination-bullet swiper-pagination-bullet-active"></span><span class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span><span class="swiper-pagination-bullet"></span></div>
<div class="swiper-button-prev swiper-button-disabled" tabindex="0" role="button" aria-label="{{ i18n "prev-slide" }}" aria-disabled="true"></div>
<div class="swiper-button-next" tabindex="0" role="button" aria-label="{{ i18n "next-slide" }}" aria-disabled="false"></div>
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
</section>
Supports Markdown
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