forest-time-jekyll 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02abae6a83c3d606737a831ddb3c70776edf4dddb8ab10b89ce222f35b115d18
4
- data.tar.gz: c1b335eac9a42197938efee09d4fd5c42e6c3736bd1fc9ef5b34c0e5c9b25d6a
3
+ metadata.gz: 272075b791a630e3544bacdd8e3793883af34fe4684ea0dba7b6ce1722a1a4e9
4
+ data.tar.gz: 435799e879293b71da5c51aa9c50fbbb7651c888b4b6e207bb2e1e2255d77eef
5
5
  SHA512:
6
- metadata.gz: 99b015887629a8de7b36434af36e7d5e06cc3936bc25c45dd8da3f8ca667f69a2c25b7a30cb82c863c14df3b7d63f0496a2a4d6d3bcbeb04a1cc54d68482c51e
7
- data.tar.gz: 0e4af14714f09087003605b91baa0c139161701ff7d29d96cdf052dc3d957c487692ed3d6dafa3ffad5afebcddfbaf18bd50275651b242995457980ba6dc4097
6
+ metadata.gz: 3f30749cd03c9ba302d0025e651899c867519d71487660cb65a44c08bc0e8f6c630517f6093e5acf07c182a6f2571775b326955a9a97abe14ffaea49c23b416e
7
+ data.tar.gz: 5e464c5bd67363a8479929f6d5ab2fe5305955e33677dd326dd72b120adc6608687d145f2b299696fc3c6b3c0df4c3324bb1d9f5c683f5d9fcdded2e03b29d02
@@ -2,12 +2,12 @@
2
2
  <hr />
3
3
 
4
4
  <span>
5
- <a href="{{ site.baseurl }}/" class="phantom">Home</a> ・
6
- <a href="{{ site.baseurl }}{{ site.author_about }}" class="phantom">About</a> ・
7
- <a href="{{ site.baseurl }}/feed.xml" class="phantom">XML Feed</a></span>
5
+ <a href="{{ site.baseurl }}/" class="phantom">{{ site.data.ui-text.home }}</a> ・
6
+ <a href="{{ site.baseurl }}{{ site.author_about }}" class="phantom">{{ site.data.ui-text.about }}</a> ・
7
+ <a href="{{ site.baseurl }}/feed.xml" class="phantom">{{ site.data.ui-text.xml_feed }}</a></span>
8
8
  <span class="block">{{ site.title }} &copy; {{ site.time | date: '%Y' }}</span>
9
9
  <span>
10
- Powered by <a href="https://jekyllrb.com/" class="phantom">Jekyll</a>
11
- and
10
+ {{ site.data.ui-text.powered_by }} <a href="https://jekyllrb.com/" class="phantom">Jekyll</a>
11
+ {{ site.data.ui-text.and }}
12
12
  <a href="https://github.com/claudiuconstantin/forest-time-jekyll" class="phantom">Forest Time</a></span>
13
13
  </div>
@@ -1,12 +1,12 @@
1
1
  <aside class="logo">
2
2
  {% if page.url == '/index.html' or page.url == '/' %}
3
- {% assign prompt = 'Home' %}
3
+ {% assign prompt = site.data.ui-text.home %}
4
4
  {% else %}
5
- {% assign prompt = 'Back to Home' %}
5
+ {% assign prompt = site.data.ui-text.back_to_home %}
6
6
  {% endif %}
7
-
7
+
8
8
  <a href="{{ site.baseurl }}/">
9
9
  <img src="{{ site.baseurl }}{{ site.brandingFolder }}/avatar.jpg">
10
10
  </a>
11
11
  <span class="logo-prompt">{{ prompt }}</span>
12
- </aside>
12
+ </aside>
data/_layouts/home.html CHANGED
@@ -21,22 +21,22 @@ layout: default
21
21
  </section>
22
22
 
23
23
  <!-- Pagination links -->
24
- <section>
25
- <div class="pagination">
26
- {% if paginator.previous_page %}
27
- <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
28
- Previous
29
- </a>
30
- {% else %}
31
- <span class="previous">Previous</span>
32
- {% endif %}
33
- <span class="page_number ">
34
- Page: {{ paginator.page }} of {{ paginator.total_pages }}
35
- </span>
36
- {% if paginator.next_page %}
37
- <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">Next</a>
38
- {% else %}
39
- <span class="next ">Next</span>
40
- {% endif %}
41
- </div>
42
- </section>
24
+ {% if paginator.total_pages > 1 %}
25
+ <section>
26
+ <div class="pagination">
27
+ {% if paginator.previous_page %}
28
+ <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
29
+ {{ site.data.ui-text.previous }}
30
+ </a>
31
+ {% endif %}
32
+
33
+ <span class="page_number ">
34
+ {{ site.data.ui-text.page }} {{ paginator.page }} {{ site.data.ui-text.of }} {{ paginator.total_pages }}
35
+ </span>
36
+
37
+ {% if paginator.next_page %}
38
+ <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">{{ site.data.ui-text.next }}</a>
39
+ {% endif %}
40
+ </div>
41
+ </section>
42
+ {% endif %}
data/_layouts/post.html CHANGED
@@ -7,8 +7,28 @@ layout: default
7
7
  <article class="c-article--post">
8
8
  <div class="center c-post-header">
9
9
  <h1>{{ page.title }}</h1>
10
- <span class="c-article__meta">Published on <time>{{ page.date | date: '%B %-d, %Y' }}</time> by <a href="{{ site.baseurl }}{{ site.author_about }}"
11
- class="c-article__meta--link">{{ site.author_name }}</a>
10
+ <span class="c-article__meta">
11
+ {{ site.data.ui-text.published_by}}
12
+ <a href="{{ site.baseurl }}{{ site.author_about }}" class="c-article__meta--link">{{ site.author_name }}</a>
13
+ {{ site.data.ui-text.on }}
14
+ <time>{% assign m = page.date | date: "%-m" %}
15
+ {{ page.date | date: "%-d" }}
16
+ {% case m %}
17
+ {% when '1' %} {{ site.data.ui-text.months.january }}
18
+ {% when '2' %} {{ site.data.ui-text.months.february }}
19
+ {% when '3' %} {{ site.data.ui-text.months.march }}
20
+ {% when '4' %} {{ site.data.ui-text.months.april }}
21
+ {% when '5' %} {{ site.data.ui-text.months.may }}
22
+ {% when '6' %} {{ site.data.ui-text.months.june }}
23
+ {% when '7' %} {{ site.data.ui-text.months.july }}
24
+ {% when '8' %} {{ site.data.ui-text.months.august }}
25
+ {% when '9' %} {{ site.data.ui-text.months.september }}
26
+ {% when '10' %} {{ site.data.ui-text.months.october }}
27
+ {% when '11' %} {{ site.data.ui-text.months.november }}
28
+ {% when '12' %} {{ site.data.ui-text.months.december }}
29
+ {% endcase %}
30
+ {{ page.date | date: "%Y" }}
31
+ </time>
12
32
  </span>
13
33
  </div>
14
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest-time-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudiu Constantin