Commit dad05879 authored by Carl Schwan's avatar Carl Schwan 🚴 Committed by Phu Nguyen
Browse files
parent 20c15305
_site
.jekyll-metadata
.bundle/
.sass-cache
vendor
checklist.txt
*.swp
resources
po[st]
locale
image: ruby:2.3
variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8
before_script:
- bundle install
test:
stage: test
script:
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master
source "https://rubygems.org"
ruby RUBY_VERSION
gem "jekyll"
gem "jekyll-kde-theme", :git => 'https://invent.kde.org/websites/jekyll-kde-theme.git'
# If you have any plugins, put them here!
# group :jekyll_plugins do
# gem "jekyll-github-metadata", "~> 1.0"
# end
GIT
remote: https://invent.kde.org/websites/jekyll-kde-theme.git
revision: 96ace864b4acce3f3e518138146945f25229b37d
specs:
jekyll-kde-theme (0.4.0)
jekyll (~> 4.0)
jekyll-paginate
jekyll-seo-tag
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.8)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.14.2)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.7)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.4.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.4)
rouge (3.26.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)
PLATFORMS
x86_64-linux
DEPENDENCIES
jekyll
jekyll-kde-theme!
RUBY VERSION
ruby 2.7.2p137
BUNDLED WITH
2.2.6
# Example
# Elisa Website
## Build instruction
```
gem install bundler jekyll
bundle install --path vendor/bundle
```
This website use the hugo and require additionally the go binary.
## Run development
```
bundle exec jekyll serve
hugo serve
```
## Run production
```
bundle exec jekyll build
hugo --minify
```
The configuration are located in `_config.yml`. You should also change the path to the theme in Gemfile
The configuration are located in `config.yml`.
# Site settings
title: Elisa
email: elisa@kde.org
handbook: https://docs.kde.org/stable5/en/kdemultimedia/elisa/index.html
forum: https://forum.kde.org/
description: >
A music player that is simple, reliable, and a joy to use.
baseurl: "" # the subpath of your site, e.g. /blog
# url: ##please add elisa website link here
twitter_username: kde_community
github_username: kde
# Build settings
markdown: kramdown
theme: jekyll-kde-theme
sass:
style: compressed
defaults:
- scope:
path: "assets/img"
values:
image: true
collections:
changelogs:
output: true
navigation:
top:
# - title: Blog
# url: /blog/
- title: Download
url: /download.html
- title: User support
url: /users.html
# subnav:
# - title: Hello world
# url: /users/helloworld
- title: Get Involved
url: /get-involved.html
- title: Donate
url: https://www.kde.org/donate
bottom:
- name: Community
items:
- title: KDE Community Forums
url: https://forum.kde.org/
- name: News &amp; Press
items:
- title: Announcements
url: https://www.kde.org/announcements/
- title: KDE.news
url: https://dot.kde.org/
- title: Planet KDE
url: https://planetkde.org/
paginate: 3
paginate_path: "/blog/page-:num/"
exclude:
- Gemfile
- Gemfile.lock
- vendor
#Codes contributed by Anubhav Choudhary and Nikunj Goyal
---
# Only the main Sass file needs front matter (the dashes are enough)
---
// SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
// SPDX-License-Identifier: LGPL-2.1-or-later
@charset "utf-8";
@import "home.scss";
@import "download.scss";
#kHeader {
width: 100%;
height: 400px;
background-image: url(/assets/img/Next.jpg);
background-position: center;
background-size: cover;
h1 {
font-size: 1.8em;
font-weight: bold;
}
.carousel-inner {
width: 100%;
height: 100%;
}
.carousel-item {
color: #EEE;
width: 100%;
height: 100%;
}
.carousel .carousel-item {
padding: 0;
}
.carousel-item-content {
width: 100%;
height: 90%;
display: flex;
flex-direction: column-reverse;
margin: auto;
@media(min-width: 768px) {
flex-direction: row;
align-items: center;
height: 100%;
}
@media(min-width: 1100px) {
max-width: 1140px;
width: 100%;
}
}
.slide-background {
width: 100%;
flex-grow: 2;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
@media(min-width: 768px) {
flex: 2 1 auto;
height: 100%;
}
}
.carousel-text-overlay {
flex-shrink: 2;
text-align: center;
margin: auto;
width: 100%;
padding: 30px 0 10px 0;
color: #FFF;
h1 {
font-size: 1.2em;
@media(min-width: 1100px) {
margin-bottom: 16px;
}
}
p {
line-height: 1.4em;
}
@media(min-width: 768px) {
flex: 1 3 auto;
position: unset;
border: none;
background: none;
text-align: left;
color: #FFF;
font-size: 1em;
padding: 0 10px 0 15px;
}
@media(min-width: 1100px) {
font-size: 1.3em;
padding: 0 40px 0 15px;
}
}
.learn-more {
color: #54a3d8;
}
@media(min-width: 768px) {
height: 500px;
}
@media(min-width: 1100px) {
height: 700px;
}
}
.slide-background {
background-image: url(/assets/img/screenshot.png);
......@@ -55,4 +156,4 @@
}
.dark-light h2{
margin: 25px;
}
\ No newline at end of file
}
---
layout: page
title: blog
css-include: /css/main.css
sorted: 2
---
{% assign sorted = site.changelogs | sort:'sorted' %}
{% assign reverse = sorted | reverse %}
{% if changelogs.size == 0 %}
No changelog available.
{% endif %}
{% for changelog in reverse %}
## [{{ changelog.title }}]({{ changelog.url }})
{{ changelog.content | markdownify }}
{% endfor %}
---
title : "Announcements"
layout: page
---
{% include blog.html %}
baseURL: https://elisa.kde.org/
canonifyURLs: true
defaultContentLanguage: en
enableGitInfo: true
enableRobotsTXT: true
i18n:
enabled: true
extractContent:
- files:
- content/_index.md
- content/users.md
- content/download.md
- content/get-involved.md
extractMenu: true
extractStrings: true
importContentSeparately: true
languages:
en:
languageCode: en
languageName: English
menu:
main:
- name: Donate
weight: 5
url: https://kde.org/donate
title: Elisa
weight: 1
markup:
goldmark:
renderer:
unsafe: true
highlight:
style: tango
module:
imports:
- path: invent.kde.org/websites/aether-sass
outputs:
home:
- HTML
- RSS
section:
- HTML
params:
images:
- /assets/img/screenshot.png
logo: /assets/img/app_icon.png
madeByKDE: true
repoName: elisa-kde-org
rssLimit: 4
summaryLength: 30
module:
imports:
- path: invent.kde.org/websites/aether-sass
- path: github.com/thednp/bootstrap.native
replacements: invent.kde.org/websites/aether-sass -> ../../aether-sass
---
title: Elisa
description: A music player that is simple, reliable, and a joy to use.
menu:
main:
weight: 1
---
---
title: Download
layout: download
appstream: org.kde.elisa.desktop
name: Elisa
gear: true
flatpak: true
menu:
main:
weight: 2
sources:
- name: Windows
icon: /assets/img/windows.png
description: |
* [Microsoft store](https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl)
* [Win32 executable](https://binary-factory.kde.org/view/Windows%2064-bit/job/Elisa_Release_win64/)
---
---
layout: get-involved
title: Get Involved
name: Elisa
userbase: Elisa
menu:
main:
weight: 4
getintouch: |
Most development-related discussions take place on the [Elisa mailing list](http://mail.kde.org/mailman/listinfo/).
Just join in, say hi and tell us what you would like to help us with!
---
Want to contribute to Elisa? Check out [Phabricator](https://phabricator.kde.org/tag/elisa/) for some fun task or [browse the source code](https://invent.kde.org/multimedia/elisa).
---
layout: users
title: User support
menu:
main:
weight: 3
name: Elisa
forums: https://forum.kde.org/
handbook: https://docs.kde.org/stable5/en/kdemultimedia/elisa/index.html
---
---
layout: page
title: Download
sorted: 3
sources:
- name: Linux
icon: /assets/img/tux.png
description: >
!SITE_TITLE! is already available on majority of Linux distriutions. It
can be installed directly from the <a href="appstream://org.kde.elisa.desktop">Discover</a>,<a href="appstream://org.kde.elisa.desktop"> GNOME Software</a> or your distribution's <a href="appstream://org.kde.elisa.desktop">software store</a>.
- name: Release Sources
icon: /assets/img/ark.svg
description: >
!SITE_TITLE! is released regularily as part of KDE Applications. You can
find !SITE_TITLE! latest stable realease among the
<a href="https://download.kde.org/stable/applications">tarballs from
the latest KDE Applications release</a>.
If you want to build !SITE_TITLE! from sources, we recommend checking our
<a href="get-involved.html">Getting Involved</a> page which contains
links to full guide how to compile !SITE_TITLE!.
- name: Flatpak
icon: /assets/img/flatpak.png
description: >
<b>Install flatpak using :</b><br>
<i>
flatpak remote-add --if-not-exists flathub <a href="https://flathub.org/repo/flathub.flatpakrepo">
https://flathub.org/repo/flathub.flatpakrepo</a></i><br>
<b>Install Elisa :</b><br>
<i>flatpak install flathub org.kde.elisa</i>
- name: Windows
icon: /assets/img/windows.png
description: >
<b>Microsoft store: </b><br>
<i><a href="https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl">
https://www.microsoft.com/en-us/p/elisa/9pb5md7zh8tl</a></i><br>
<b>Win32 executable :</b><br>
<i><a href="https://binary-factory.kde.org/view/Windows%2064-bit/job/Elisa_Release_win64/">https://binary-factory.kde.org/view/Windows 64-bit/job/Elisa_Release_win64/</a></i>
---
<h1>Download</h1>
<table class="distribution-table">
{% for source in page.sources %}
<tr class="title-row">
<td rowspan="2" width="100" style="text-align: center">
<img src="{{ source.icon }}" alt="{{ source.name }}">
</td>
<th style="padding: 10px">{{ source.name }}</th>
</tr>
<tr>
<td style="padding: 10px">{{ source.description | replace: '!SITE_TITLE!', site.title | replace: '!SITE_GIT!', site.git}}</td>
</tr>
{% endfor %}
</table>
---
layout: page
title: Get Involved
konqi: /assets/img/konqi-dev.png
sorted: 5
---
## Get Involved!
Want to contribute to Elisa? Check out [Phabricator](https://phabricator.kde.org/tag/elisa/) for some fun task or [browse the source code](https://invent.kde.org/multimedia/elisa).
## Build {{ site.title }} from Sources
The [community wiki](https://community.kde.org/Get_Involved/development) provides resource
about settings up your development environment.
## Get in Touch!
Most development-related discussions take place on the [{{ site.title }} mailing list](http://mail.kde.org/mailman/listinfo/{{ site.title }})
Just join in, say hi and tell us what you would like to help us with!
## Not a Programmer?
Not a problem! There's a plenty of other tasks that you can help us with to
make {{ site.title }} better even if you don't know any programming languages!
* [Bug triaging](https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging) - help us find
mis-filed, duplicated or invalid bug reports in Bugzilla
* [Localization](https://community.kde.org/Get_Involved/translation) - help to translate
{{ site.title }} into your language
* [Documentation](https://community.kde.org/Get_Involved/documentation) - help us improve user
documentation to make {{ site.title }} more friendly for newcomers
* [Promotion](https://community.kde.org/Get_Involved/promotion) - help us promote {{ site.title }}
both online and offline
* [Updating wiki](https://userbase.kde.org/{{ site.title }}) - help updating the information present in
the wiki, add new tutorials, ... - help us improve it to make it easier for others to join!
* Do you have any other idea? Get in touch!
module elisa-kde-org
go 1.15
require (
github.com/gohugoio/hugo-mod-bootstrap-scss-v4 v0.0.0-20200902213320-c9cb5e39d8c6 // indirect
github.com/thednp/bootstrap.native v0.0.0-20210208065639-9692a29f3498 // indirect
invent.kde.org/websites/aether-sass v0.0.0-20210325155219-4f31599e349d // indirect
)
---
{{/*
# SPDX-FileCopyrightText: 2020 Anubhav Choudhary
# SPDX-FileCopyrightText: 2020 Nikunj Goyal
# SPDX-LicenseIdentifier: CC-BY-SA-4.0
layout: default
css-include: /css/main.css
css-include: /css/home.css
sorted: 1
---
*/}}
{{ define "head-import" }}
{{ $style := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ end }}
{{ define "main" }}
<section id="kHeader" class="carousel">
<div class="carousel-item active">