jekyll-kde-theme 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ee9a54a4ebfd76b1edeae13cee4c4705f883bf71707cc1fe82179d71042ab29
4
- data.tar.gz: c35c8e38ead72a523a85cc30dc91ce4e6f1fd4d3af0115a1cd106e8065977245
3
+ metadata.gz: 84a021c43e7bb58ae1bbc8dca82338a8131bce0352483e65de66ac0a07d68d45
4
+ data.tar.gz: fa3e9b152633a1533d46bb64558e439ffca32d6d34894fcf44a3ddae61122c75
5
5
  SHA512:
6
- metadata.gz: 8fb1a0048ed1b5ad12aff04bbc32774a0481ac92dddebbb1fb4b7678987490c855ed818c12e8d86a54b5330ab2abe7bc56112a3d75a8ce2830e0e5a12c83d728
7
- data.tar.gz: 47025a5951e37aced8dee5e3916d2b199875da3f184f0582018205b0ae582933ba6fc77527f2b8b51414eaff9b6ed7547c0045e20ab08b2f1695345081fd87d0
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: '//', '/' }}">&laquo; Prev</a>
14
+ <a class="ml-1 mr-1" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; {% if site.prev %}{{site.prev}}{% else %}Prev{% endif %}</a>
13
15
  {% else %}
14
- <span>&laquo; Prev</span>
16
+ <span>&laquo; {% 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="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
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 &raquo;</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 %} &raquo;</a>
29
31
  {% else %}
30
- <span>Next &raquo;</span>
32
+ <span>{% if site.next %}{{site.next}}{% else %}Next{% endif %} &raquo;</span>
31
33
  {% endif %}
32
34
  </div>
33
35
  {% endif %}
@@ -1,24 +1,25 @@
1
1
  <footer id="kFooter" class="footer">
2
2
  <section id="KSiteDonateForm">
3
- <h3>Donate to KDE
4
- <a href="https://www.kde.org/community/donations/index.php#money" target="_blank"> Why Donate?</a>
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="//neon.kde.org//neon_donation_footer_index.php" />
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.0
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-18 00:00:00.000000000 Z
11
+ date: 2019-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll