jekyll-kde-theme 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +662 -0
  3. data/README.md +64 -0
  4. data/_includes/footer.html +75 -0
  5. data/_includes/head.html +22 -0
  6. data/_includes/header.html +36 -0
  7. data/_layouts/changelog.html +11 -0
  8. data/_layouts/default.html +15 -0
  9. data/_layouts/page.html +13 -0
  10. data/_layouts/post.html +5 -0
  11. data/_sass/aetherCore.scss +479 -0
  12. data/_sass/base.scss +546 -0
  13. data/_sass/download.scss +30 -0
  14. data/_sass/glyphs.scss +136 -0
  15. data/_sass/home.scss +185 -0
  16. data/_sass/social.scss +50 -0
  17. data/assets/Noto-Sans-700/LICENSE.txt +94 -0
  18. data/assets/Noto-Sans-700/Noto-Sans-700.eot +0 -0
  19. data/assets/Noto-Sans-700/Noto-Sans-700.svg +336 -0
  20. data/assets/Noto-Sans-700/Noto-Sans-700.ttf +0 -0
  21. data/assets/Noto-Sans-700/Noto-Sans-700.woff +0 -0
  22. data/assets/Noto-Sans-700/Noto-Sans-700.woff2 +0 -0
  23. data/assets/Noto-Sans-regular/LICENSE.txt +94 -0
  24. data/assets/Noto-Sans-regular/Noto-Sans-regular.eot +0 -0
  25. data/assets/Noto-Sans-regular/Noto-Sans-regular.svg +335 -0
  26. data/assets/Noto-Sans-regular/Noto-Sans-regular.ttf +0 -0
  27. data/assets/Noto-Sans-regular/Noto-Sans-regular.woff +0 -0
  28. data/assets/Noto-Sans-regular/Noto-Sans-regular.woff2 +0 -0
  29. data/assets/aether/media/128x128.svg +80 -0
  30. data/assets/aether/media/16x16.svg +80 -0
  31. data/assets/aether/media/180x180.png +0 -0
  32. data/assets/aether/media/192x192.png +0 -0
  33. data/assets/aether/media/24x24.svg +80 -0
  34. data/assets/aether/media/32x32.svg +80 -0
  35. data/assets/aether/media/64x64.svg +80 -0
  36. data/assets/glyph/glyph.eot +0 -0
  37. data/assets/glyph/glyph.svg +47 -0
  38. data/assets/glyph/glyph.ttf +0 -0
  39. data/assets/glyph/glyph.woff +0 -0
  40. data/assets/img/Next.jpg +0 -0
  41. data/assets/img/ark.svg +46 -0
  42. data/assets/img/flatpak.png +0 -0
  43. data/assets/img/git.svg +24 -0
  44. data/assets/img/konqi-dev.png +0 -0
  45. data/assets/img/konqi-docbook.png +0 -0
  46. data/assets/img/konqi-mail.png +0 -0
  47. data/assets/img/tux.png +0 -0
  48. data/assets/nav.js +7 -0
  49. data/assets/preview.js +5 -0
  50. data/changelog.md +22 -0
  51. metadata +134 -0
data/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # jekyll-kde-theme
2
+
3
+ This is a jekyll theme for a unified layout across the kde websites.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "jekyll-kde-theme", :git => 'https://invent.kde.org/websites/jekyll-kde-theme.git'
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: jekyll-kde-theme
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ ## Usage
24
+
25
+ ### Collections:
26
+
27
+ * Changelogs (optional): put the software changelog in \_changelogs. Example metadata:
28
+ ```
29
+ ---
30
+ layout: changelog
31
+ title: Konsole 1.1.1 / KDE 3.0.1
32
+ sorted: 3001 # version for sorting
33
+ css-include: /css/main.css
34
+ ---
35
+
36
+ * Feature 1
37
+ * Feature 2
38
+ ```
39
+ * Components (at least one): if your application contains multiple component (e.g Kontact) create a new file for each component (e.g KMail → kmail.md). Otherwise create only one component (e.g konsole.md) in \_components.
40
+
41
+ ## Build example
42
+
43
+ ```bash
44
+ cd example/simple
45
+ bundle install --path vendor/bundle
46
+ bundle exec jekyll serve
47
+ ```
48
+
49
+ ## Contributing
50
+
51
+ Bug reports and pull requests are welcome on the KDE Gitlab at https://invent.kde.org/websites/jekyll-kde-theme.
52
+
53
+ ## Development
54
+
55
+ To set up your environment to develop this theme, run `bundle install`.
56
+
57
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
58
+
59
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
60
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-kde-theme.gemspec` accordingly.
61
+
62
+ ## License
63
+
64
+ This program is licensed under the GNU AGPL. See [KDE Licensing policy](https://community.kde.org/Policies/Licensing_Policy).
@@ -0,0 +1,75 @@
1
+ <footer id="kFooter" class="footer">
2
+ <section id="KSiteDonateForm">
3
+ <h3>{% t "Donate to KDE" %}
4
+ <a href="https://www.kde.org/community/donations/index.php#money" target="_blank">{% t "Why Donate?" %}</a>
5
+ </h3>
6
+
7
+ <form action="https://www.paypal.com/en_US/cgi-bin/webscr" method="post" onsubmit="return amount.value >= 2 || window.confirm('{% t "Your donation is smaller than 2€. This means that most of your donation\nwill end up in processing fees. Do you want to continue?" %}');">
8
+ <input type="hidden" name="cmd" value="_donations" />
9
+ <input type="hidden" name="lc" value="GB" />
10
+ <input type="hidden" name="item_name" value="{% t "Development and communication of KDE software" %}" />
11
+ <input type="hidden" name="custom" value="//neon.kde.org//neon_donation_footer_index.php" />
12
+ <input type="hidden" name="currency_code" value="EUR" />
13
+ <input type="hidden" name="cbt" value="Return to www.kde.org" />
14
+ <input type="hidden" name="return" value="https://www.kde.org/community/donations/thanks_paypal.php" />
15
+ <input type="hidden" name="notify_url" value="https://www.kde.org/community/donations/notify.php" />
16
+ <input type="hidden" name="business" value="kde-ev-paypal@kde.org" />
17
+ <input type='text' name="amount" value="10.00" id="donateAmountField" /> €
18
+ <button type='submit' id="donateSubmit">{% t "Donate via PayPal" %}</button>
19
+ </form>
20
+
21
+ <a href="https://www.kde.org/community/donations/others.php" id="otherWaysDonate" target="_blank">Other ways to donate</a>
22
+ </section>
23
+
24
+ <section id="kLinks">
25
+ <nav>
26
+ <h3>Community</h3>
27
+ <a href="https://forum.kde.org">Forums</a>
28
+ </nav>
29
+
30
+ <nav>
31
+ <h3>News &amp; Press</h3>
32
+ <a href="https://www.kde.org/announcements/">Announcements</a>
33
+ <a href="https://dot.kde.org/">KDE.news</a>
34
+ <a href="https://planetkde.org/">Planet KDE</a>
35
+ </nav>
36
+ </div>
37
+ </section>
38
+
39
+ <section id="KGlobalContributorLinks">
40
+ <nav>
41
+ <a href="https://community.kde.org/Get_Involved" target="_blank">Get Involved in KDE</a>
42
+ <aside class="kSocialLinks" style="position: absolute; right: 0px; top: 0px">
43
+ <a class="shareFacebook" href="https://www.facebook.com/kde/" rel="nofollow" target="_blank">KDE on Facebook</a>
44
+ <a class="shareGoogle" href="https://twitter.com/kdecommunity" rel="nofollow" target="_blank">KDE on Twitter</a>
45
+ <a class="shareTwitter" href="https://plus.google.com/105126786256705328374/posts" rel="nofollow" target="_blank">KDE on Google+</a>
46
+ </aside>
47
+ </nav>
48
+ </section>
49
+
50
+ <section id="KGlobalLegalInfo" class="container">
51
+ <small>
52
+ KDE
53
+ <sup>&copy;</sup> a the K Desktop Environment
54
+ <sup>&copy;</sup> logo (
55
+ <figure style="font-family: glyph">K</figure>) are registered trademarks of
56
+ <a href="https://ev.kde.org" title="Homepage of the KDE non-profit Organization">KDE e.V.</a>
57
+ </small>
58
+ <small>
59
+ <a href="https://www.kde.org/community/whatiskde/impressum.php">Legal</a>
60
+ </small>
61
+ </section>
62
+ </footer>
63
+
64
+ <div id="kImagePreview" class="modal" tabindex="-1" role="dialog" aria-hidden="true">
65
+ <div id="kImagePreviewContainer">
66
+ <img src="">
67
+ </div>
68
+ </div>
69
+
70
+ <!-- Standard JS Files, bootstrap Async -->
71
+ <script src="{{ "/assets/nav.js" | relative_url }}" defer></script>
72
+ <script src="{{ "/assets/preview.js" | relative_url }}" defer></script>
73
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
74
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
75
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
@@ -0,0 +1,22 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{{ site.title }}</title>
7
+
8
+ <!-- Icons -->
9
+ <link href="/assets/aether/media/192x192.png" rel="icon" sizes="192x192" />
10
+ <link href="/assets/aether/media/180x180.png" rel="apple-touch-icon" sizes="180x180" />
11
+ <link href="/assets/aether/media/128x128.svg" rel="icon" sizes="128x128" />
12
+ <link href="/assets/aether/media/64x64.svg" rel="icon" sizes="64x64" />
13
+ <link href="/assets/aether/media/32x32.svg" rel="icon" sizes="32x32" />
14
+ <link href="/assets/aether/media/24x24.svg" rel="icon" sizes="24x24" />
15
+ <link href="/assets/aether/media/16x16.svg" rel="icon" sizes="16x16" />
16
+
17
+ <!-- Bootstrap core CSS -->
18
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
19
+
20
+ <link rel="stylesheet" href="/css/main.css">
21
+ </head>
22
+
@@ -0,0 +1,36 @@
1
+ <header class="header clearfix">
2
+ <nav id="kHeaderNav" class="navbar navbar-expand-md container-fluid">
3
+ <a class="navbar-brand {% if page.url == '/' %}navbar-brand-active{% endif %}" href="/index.html" id="KontactGlobalLogo">
4
+ <img src="/assets/img/app_icon.png">
5
+ </a>
6
+ <button class="navbar-toggler" type="button" data-toggle="collapse"
7
+ data-target="#kMainNavbar" aria-controls="kMainNavbar"
8
+ aria-expanded="false" aria-label="Toggle navigation">
9
+ <span class="navbar-toggler-icon"></span>
10
+ </button>
11
+ <div id="KMadeByKDE">
12
+ <a class="navbar-brand" id="KGlobalLogo" href="https://www.kde.org"></a>
13
+ <span>Made by KDE</span>
14
+ </div>
15
+ <div class="collapse navbar-collapse" id="kMainNavbar">
16
+ <ul class="navbar-nav mr-auto">
17
+ <li class="nav-item">
18
+ <a class="nav-link {% if page.url == '/' %}active{% endif %}"
19
+ href="/" aria-haspopup="true" aria-expanded="false">{{ site.title }}</a>
20
+ </li>
21
+ {% assign sorted = site.pages | sort: "sorted" %}
22
+ {% for nav in sorted %}
23
+ {% if nav.title and (nav.title != "Changelog" or (site.changelogs | size) != 0) %}
24
+ <li class="nav-item">
25
+ <a class="nav-link {% if page.url == nav.url %}active{% endif %}" href="{{ nav.url }}">{{ nav.title }}</a>
26
+ </li>
27
+ {% endif %}
28
+ {% endfor %}
29
+ <li class="nav-item">
30
+ <a class="nav-link" href="https://www.kde.org/donate">Donate</a>
31
+ </li>
32
+ </ul>
33
+ </div>
34
+ </nav>
35
+ </header>
36
+
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="container navfix" aria-label="Content">
6
+
7
+ <h2>{{ page.title }}</h2>
8
+
9
+ {{ content }}
10
+
11
+ </main>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ {% include head.html %}
5
+
6
+ <body data-spy="scroll" data-target="#kHeaderCarousel" data-offset="50">
7
+
8
+ {% include header.html %}
9
+
10
+ {{ content }}
11
+
12
+ {% include footer.html %}
13
+
14
+ </body>
15
+ </html>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="navfix container" aria-label="Content">
6
+
7
+ {% if page.konqi %}
8
+ <img src="{{ page.konqi }}" alt="Konqi, the KDE mascot" class="konqi">
9
+ {% endif %}
10
+
11
+ {{ content }}
12
+
13
+ </main>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}