jekyll-kde-theme 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/blog.html +9 -7
- data/_includes/footer.html +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84a021c43e7bb58ae1bbc8dca82338a8131bce0352483e65de66ac0a07d68d45
|
|
4
|
+
data.tar.gz: fa3e9b152633a1533d46bb64558e439ffca32d6d34894fcf44a3ddae61122c75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4962681978d69cc7c02d3a688c3aecba4bdf459f5fda43e0737bf45ab72dc2b9d57f1c84953d134b3f1c881d187ab0707ccc19407bc91d7bfc94d4dadc2aa6c2
|
|
7
|
+
data.tar.gz: 59d35ca1bb3a16db4ee936c27d805d81cde3a2278e4ae1119e98b1654aed622995c416280f84cac9ac27f3e25a7e259acdfcdff7e1315000851da1234a5c2b34
|
data/_includes/blog.html
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
<div class="announcement-feed mb-3">
|
|
2
|
-
<h2>Announcements</h2>
|
|
2
|
+
<h2>{% if site.announcements %}{{site.announcements}}{% else %}Announcements{% endif %}</h2>
|
|
3
3
|
{% for post in paginator.posts %}
|
|
4
|
+
<div class="mb-4">
|
|
4
5
|
<h3>{{ post.title }}<i>{{ post.date | date_to_string }}</i></h3>
|
|
5
6
|
<q>{{ post.excerpt | strip_html | truncatewords:30 }}</q>
|
|
6
|
-
<a href="{{ post.url }}" class="learn-more">Read full announcement</a>
|
|
7
|
+
<a href="{{ post.url }}" class="learn-more">{% if site.read_full %}{{ site.read_full }}{% else %}Read full announcement{% endif %}</a>
|
|
8
|
+
</div>
|
|
7
9
|
{% endfor %}
|
|
8
10
|
|
|
9
11
|
{% if paginator.total_pages > 1 %}
|
|
10
12
|
<div class="pagination justify-content-center mt-3">
|
|
11
13
|
{% if paginator.previous_page %}
|
|
12
|
-
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« Prev</a>
|
|
14
|
+
<a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">« {% if site.prev %}{{site.prev}}{% else %}Prev{% endif %}</a>
|
|
13
15
|
{% else %}
|
|
14
|
-
|
|
16
|
+
<span>« {% if site.prev %}{{site.prev}}{% else %}Prev{% endif %}</span>
|
|
15
17
|
{% endif %}
|
|
16
18
|
|
|
17
19
|
{% for page in (1..paginator.total_pages) %}
|
|
18
20
|
{% if page == paginator.page %}
|
|
19
21
|
<span class="ml-1 mr-1">{{ page }}</span>
|
|
20
22
|
{% elsif page == 1 %}
|
|
21
|
-
<a class="ml-1 mr-1" href="
|
|
23
|
+
<a class="ml-1 mr-1" href="/">{{ page }}</a>
|
|
22
24
|
{% else %}
|
|
23
25
|
<a class="ml-1 mr-1" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
|
|
24
26
|
{% endif %}
|
|
25
27
|
{% endfor %}
|
|
26
28
|
|
|
27
29
|
{% if paginator.next_page %}
|
|
28
|
-
<a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next »</a>
|
|
30
|
+
<a class="ml-1 mr-1" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{% if site.next %}{{site.next}}{% else %}Next{% endif %} »</a>
|
|
29
31
|
{% else %}
|
|
30
|
-
|
|
32
|
+
<span>{% if site.next %}{{site.next}}{% else %}Next{% endif %} »</span>
|
|
31
33
|
{% endif %}
|
|
32
34
|
</div>
|
|
33
35
|
{% endif %}
|
data/_includes/footer.html
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
<footer id="kFooter" class="footer">
|
|
2
2
|
<section id="KSiteDonateForm">
|
|
3
|
-
<h3>
|
|
4
|
-
|
|
3
|
+
<h3>
|
|
4
|
+
{% if site.donate_to_kde %}{{ site.donate_to_kde }}{% else %}Dontate to KDE{% endif %}
|
|
5
|
+
<a href="https://www.kde.org/community/donations/index.php#money" target="_blank">{% if site.why_donate %}{{ site.why_donate }}{% else %}Why Donate?{% endif %}</a>
|
|
5
6
|
</h3>
|
|
6
7
|
|
|
7
8
|
<form action="https://www.paypal.com/en_US/cgi-bin/webscr" method="post" onsubmit="return amount.value >= 2 || window.confirm('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
9
|
<input type="hidden" name="cmd" value="_donations" />
|
|
9
10
|
<input type="hidden" name="lc" value="GB" />
|
|
10
11
|
<input type="hidden" name="item_name" value="Development and communication of KDE software" />
|
|
11
|
-
<input type="hidden" name="custom" value="
|
|
12
|
+
<input type="hidden" name="custom" value="/" />
|
|
12
13
|
<input type="hidden" name="currency_code" value="EUR" />
|
|
13
14
|
<input type="hidden" name="cbt" value="Return to www.kde.org" />
|
|
14
15
|
<input type="hidden" name="return" value="https://www.kde.org/community/donations/thanks_paypal.php" />
|
|
15
16
|
<input type="hidden" name="notify_url" value="https://www.kde.org/community/donations/notify.php" />
|
|
16
17
|
<input type="hidden" name="business" value="kde-ev-paypal@kde.org" />
|
|
17
18
|
<input type='text' name="amount" value="10.00" id="donateAmountField" /> €
|
|
18
|
-
<button type='submit' id="donateSubmit">Donate via PayPal</button>
|
|
19
|
+
<button type='submit' id="donateSubmit">{% if site.donate_via_paypal %}{{ site.donate_via_paypal }}{% else %}Donate via PayPal{% endif %}</button>
|
|
19
20
|
</form>
|
|
20
21
|
|
|
21
|
-
<a href="https://www.kde.org/community/donations/others.php" id="otherWaysDonate" target="_blank">Other ways to donate</a>
|
|
22
|
+
<a href="https://www.kde.org/community/donations/others.php" id="otherWaysDonate" target="_blank">{% if site.other_ways_to_donate %}{{ site.other_ways_to_donate }}{% else %}Other ways to donate{% endif %}</a>
|
|
22
23
|
</section>
|
|
23
24
|
|
|
24
25
|
<section id="kLinks">
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-kde-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carl Schwan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|