bulma-clean-theme 0.13.3 → 0.14.0

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: d64a43e068e9f991dc30207691eb4bf221c40bad17d05dffb2062571de76990a
4
- data.tar.gz: f9a2fb508ec6f1617a41d623ddafaff5d982657e890768a62f05d1d38705c8e2
3
+ metadata.gz: 6ee2c200e9a0fcf1fc20182dcc907a20b87aab5f7faddb7b332cceaf03a1d537
4
+ data.tar.gz: 1e5da6fa3bd166ebca0bff7c1b7ff81d0d5ae781fcc6be25809cad5c07c8ae63
5
5
  SHA512:
6
- metadata.gz: 91c2043b3e7cafdd3b5e73cb05f219e605c7bdf0ab46318fbf0a93e5af2ce79dbdb46dd902a79106d1e2d3246eb29b15a13a61cb0772e30f5b70857a5b11748b
7
- data.tar.gz: cd4605e72ad39e9a0a2cab4623fa99754b351ca257cf0f0bb78ad56b8d79aeb3f9a1434590ae2ef8e3c7718a05da34d05ad5e3dcbfb658f070b0c9c5bce5cdfc
6
+ metadata.gz: 148735fb9e0485a36b267e805b59d4e97086668ad7b7522698eb641537922f3acc6cb5f4fbad6f8e4cf341190cd81ca95fb3c2e1d52bf40cee1de19dade62ee4
7
+ data.tar.gz: c67de5acd9ff350fb38ef312d6f9f3d39ef7be7e8c3ec44af5603c23eb997ed99b2904909853a2a07d493cd3294e0bfefc39f4f297d14fffe5c10dc8f2719ae7
@@ -7,27 +7,27 @@
7
7
  {% for callout in callouts.items %}
8
8
  <div class="column is-4 has-text-centered">
9
9
  {% if callout.icon %}
10
- <div class="icon callout-icon">
11
- {% if callout.icon_brand %}
12
- <i class="fab {{ callout.icon }} fa-4x"></i>
13
- {% else %}
14
- <i class="fas {{ callout.icon }} fa-4x"></i>
15
- {% endif %}
16
- </div>
10
+ <div class="icon callout-icon">
11
+ {% if callout.icon_brand %}
12
+ <i class="fab {{ callout.icon }} fa-4x"></i>
13
+ {% else %}
14
+ <i class="fas {{ callout.icon }} fa-4x"></i>
15
+ {% endif %}
16
+ </div>
17
17
  {% endif %}
18
18
  <p class="title is-5">{{ callout.title }}</p>
19
19
  <p class="subtitle is-5">{{ callout.subtitle }}</p>
20
-
20
+
21
21
  {% if callout.description %}
22
- <div class="content">
23
- <p>{{ callout.description | newline_to_br }}</p>
24
- </div>
22
+ <div class="content">
23
+ <p>{{ callout.description | newline_to_br }}</p>
24
+ </div>
25
25
  {% endif %}
26
26
 
27
27
  {% if callout.call_to_action_name %}
28
- <a href="{{ callout.call_to_action_link | relative_url }}" class="button is-primary">
29
- {{ callout.call_to_action_name }}
30
- </a>
28
+ <a href="{{ callout.call_to_action_link | relative_url }}" class="button is-primary">
29
+ {{ callout.call_to_action_name }}
30
+ </a>
31
31
  {% endif %}
32
32
  </div>
33
33
  {% endfor %}
@@ -36,4 +36,3 @@
36
36
  </div>
37
37
  </section>
38
38
  {% endif %}
39
-
@@ -0,0 +1,53 @@
1
+ <div class="">
2
+ <script
3
+ src="https://cdn.jsdelivr.net/npm/js-cookie@3.0.5/dist/js.cookie.min.js"
4
+ ></script>
5
+
6
+ <div class="container py-6 px-4" id="cookieBanner">
7
+ <div class="columns">
8
+ <div class="column is-fullwidth ">
9
+ <div class="content">
10
+ <p>We use cookies on this site to enhance your user experience</p>
11
+ <p>
12
+ By clicking the Accept button, you agree to us doing so.
13
+ <a href="{{ site.cookie_policy | relative_url }}">More info on our cookie policy</a>
14
+ </p>
15
+ </div>
16
+
17
+ <div class="buttons">
18
+ <button class="button is-primary" onclick="acceptCookies()">Accept all cookies</button>
19
+ <button class="button is-primary" onclick="rejectCookies()">Reject all cookies</button>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ </div>
24
+
25
+ <script>
26
+ function acceptCookies() {
27
+ {% if site.google_analytics %}
28
+ consentGrantedAdStorage();
29
+ {% endif %}
30
+ Cookies.set('showCookieBanner', 'false', { expires: 7, path: '/' });
31
+ Cookies.set('cookiesAccepted', 'true', {expires: 7, path: '/'});
32
+ toggleCookieBanner();
33
+ }
34
+
35
+ function rejectCookies() {
36
+ Cookies.set('showCookieBanner', 'false', { expires: 7, path: '/' });
37
+ toggleCookieBanner();
38
+ }
39
+
40
+ function toggleCookieBanner() {
41
+ var showBanner = Cookies.get('showCookieBanner');
42
+ var banner = document.getElementById('cookieBanner');
43
+
44
+ if (showBanner === 'false') {
45
+ banner.setAttribute('style', 'display: none;');
46
+ } else {
47
+ banner.setAttribute('style', 'display: block;');
48
+ }
49
+ }
50
+
51
+ toggleCookieBanner();
52
+ </script>
53
+ </div>
@@ -1,17 +1,20 @@
1
- {% if page.comments != false and jekyll.environment == "production" %}
2
-
3
- <div id="disqus_thread"></div>
4
- <script>
5
- var disqus_config = function () {
6
- this.page.url = '{{ page.url | absolute_url }}';
7
- this.page.identifier = '{{ page.url | absolute_url }}';
8
- };
9
- (function() {
10
- var d = document, s = d.createElement('script');
11
- s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
12
- s.setAttribute('data-timestamp', +new Date());
13
- (d.head || d.body).appendChild(s);
14
- })();
15
- </script>
16
- <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
17
- {% endif %}
1
+ {% if page.comments != false and jekyll.environment == 'production' %}
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = '{{ page.url | absolute_url }}';
6
+ this.page.identifier = '{{ page.url | absolute_url }}';
7
+ };
8
+ (function () {
9
+ var d = document,
10
+ s = d.createElement('script');
11
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
12
+ s.setAttribute('data-timestamp', +new Date());
13
+ (d.head || d.body).appendChild(s);
14
+ })();
15
+ </script>
16
+ <noscript
17
+ >Please enable JavaScript to view the
18
+ <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript
19
+ >
20
+ {% endif %}
@@ -1 +1 @@
1
- <!-- footer scripts -->
1
+ <!-- footer scripts -->
@@ -1,16 +1,15 @@
1
1
  <footer class="footer">
2
2
  <div class="container">
3
-
4
3
  {% if site.footer_menu %}
5
- <div class="columns is-multiline">
6
- {% for item in site.data[site.footer_menu] %}
7
- <div class="column has-text-centered">
8
- <div>
9
- <a href="{{ item.link | relative_url }}" class="link">{{ item.name }}</a>
10
- </div>
4
+ <div class="columns is-multiline">
5
+ {% for item in site.data[site.footer_menu] %}
6
+ <div class="column has-text-centered">
7
+ <div>
8
+ <a href="{{ item.link | relative_url }}" class="link">{{ item.name }}</a>
9
+ </div>
10
+ </div>
11
+ {% endfor %}
11
12
  </div>
12
- {% endfor %}
13
- </div>
14
13
  {% endif %}
15
14
 
16
15
  <div class="content is-small has-text-centered">
@@ -1,25 +1,24 @@
1
1
  {% if page.gallery %}
2
2
  {% assign galleries=site.data.[page.gallery] %}
3
3
  {% for gallery in galleries %}
4
- <div class="columns is-multiline">
5
- <div class="column is-12">
6
- <p class="title is-3 has-text-centered">{{ gallery.title }}</p>
7
- </div>
8
- {% for image in gallery.images %}
9
- <div class="column is-4-desktop is-6-tablet">
10
- <div class="card">
11
- <div class="card-image">
12
- {% include image-modal.html ratio=image.ratio link=image.link alt=image.alt large_link=image.large_link %}
13
- </div>
14
- <div class="card-content">
15
- <div class="content">
16
- {{ image.description | markdownify }}
4
+ <div class="columns is-multiline">
5
+ <div class="column is-12">
6
+ <p class="title is-3 has-text-centered">{{ gallery.title }}</p>
7
+ </div>
8
+ {% for image in gallery.images %}
9
+ <div class="column is-4-desktop is-6-tablet">
10
+ <div class="card">
11
+ <div class="card-image">
12
+ {% include image-modal.html ratio=image.ratio link=image.link alt=image.alt large_link=image.large_link %}
13
+ </div>
14
+ <div class="card-content">
15
+ <div class="content">
16
+ {{ image.description | markdownify }}
17
+ </div>
18
+ </div>
17
19
  </div>
18
-
19
20
  </div>
20
- </div>
21
+ {% endfor %}
21
22
  </div>
22
- {% endfor %}
23
- </div>
24
23
  {% endfor %}
25
- {% endif %}
24
+ {% endif %}
@@ -1,8 +1,38 @@
1
+ <script>
2
+ // Define dataLayer and the gtag function.
3
+ window.dataLayer = window.dataLayer || [];
4
+ function gtag() {
5
+ dataLayer.push(arguments);
6
+ }
7
+
8
+ // Set default consent to 'denied' as a placeholder
9
+ // Determine actual values based on your own requirements
10
+ gtag('consent', 'default', {
11
+ ad_storage: 'denied',
12
+ ad_user_data: 'denied',
13
+ ad_personalization: 'denied',
14
+ analytics_storage: 'denied',
15
+ });
16
+ </script>
17
+ <!-- Google tag (gtag.js) -->
1
18
  <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
19
  <script>
3
- window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
- window.dataLayer = window.dataLayer || [];
5
- function gtag(){dataLayer.push(arguments);}
6
- gtag('js', new Date());
7
- gtag('config', '{{ site.google_analytics }}');
8
- </script>
20
+ window.dataLayer = window.dataLayer || [];
21
+ function gtag() {
22
+ dataLayer.push(arguments);
23
+ }
24
+
25
+ gtag('js', new Date());
26
+ gtag('config', '{{ site.google_analytics }}');
27
+ </script>
28
+
29
+ <script>
30
+ function consentGrantedAdStorage() {
31
+ gtag('consent', 'update', {
32
+ ad_storage: 'granted',
33
+ ad_user_data: 'granted',
34
+ ad_personalization: 'granted',
35
+ analytics_storage: 'granted',
36
+ });
37
+ }
38
+ </script>
@@ -1 +1 @@
1
- <!-- head scripts -->
1
+ <!-- head scripts -->
data/_includes/head.html CHANGED
@@ -1,11 +1,17 @@
1
1
  <head>
2
2
  <meta charset="utf-8">
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1">
4
- <meta name="theme-color" content={{ site.theme_color | default: '#ffffff' }}>
4
+ <meta name="theme-color" content="{{ site.theme_color | default: '#ffffff' }}">
5
5
  <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/app.css">
6
- <link rel="shortcut icon" type="image/png"
7
- {% if site.favicon %} href="{{ site.favicon | relative_url }}" {% else %} href="{{ site.baseurl }}/favicon.png" {% endif %}
8
- />
6
+ <link
7
+ rel="shortcut icon"
8
+ type="image/png"
9
+ {% if site.favicon %}
10
+ href="{{ site.favicon | relative_url }}"
11
+ {% else %}
12
+ href="{{ site.baseurl }}/favicon.png"
13
+ {% endif %}
14
+ >
9
15
  <script defer src="https://unpkg.com/alpinejs@3.9.0/dist/cdn.min.js"></script>
10
16
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
11
17
  {% unless site.hide_share_buttons %}
@@ -13,10 +19,10 @@
13
19
  {% endunless %}
14
20
  {% seo %}
15
21
  {% if site.feed %}
16
- {% feed_meta %}
22
+ {% feed_meta %}
17
23
  {% endif %}
18
24
  {%- if site.google_analytics -%}
19
- {%- include google-analytics.html -%}
25
+ {%- include google-analytics.html -%}
20
26
  {%- endif -%}
21
27
  {%- include head-scripts.html -%}
22
28
  </head>
@@ -1,10 +1,21 @@
1
- <nav class="navbar is-primary {% if site.fixed_navbar %} is-fixed-{{ site.fixed_navbar }} {% endif %}" x-data="{ openNav: false }">
1
+ <nav
2
+ class="navbar is-primary {% if site.fixed_navbar %} is-fixed-{{ site.fixed_navbar }} {% endif %}"
3
+ x-data="{ openNav: false }"
4
+ >
2
5
  <div class="container">
3
6
  <div class="navbar-brand">
4
7
  <a href="{{ site.baseurl }}/" class="navbar-item">
5
8
  {{ site.title }}
6
9
  </a>
7
- <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu" :class="{ 'is-active': openNav }" x-on:click="openNav = !openNav">
10
+ <a
11
+ role="button"
12
+ class="navbar-burger burger"
13
+ aria-label="menu"
14
+ aria-expanded="false"
15
+ data-target="navMenu"
16
+ :class="{ 'is-active': openNav }"
17
+ x-on:click="openNav = !openNav"
18
+ >
8
19
  <span aria-hidden="true"></span>
9
20
  <span aria-hidden="true"></span>
10
21
  <span aria-hidden="true"></span>
@@ -14,32 +25,46 @@
14
25
  <div class="navbar-start">
15
26
  <a href="{{ site.baseurl }}/" class="navbar-item {% if page.url == "/" %}is-active{% endif %}">Home</a>
16
27
  {% if site.data.navigation %}
17
- {% for item in site.data.navigation %}
18
- {% if item.dropdown %}
19
- <div class="navbar-item has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %}">
20
- <a href="{{ item.link | relative_url }}" class="navbar-link {% if page.url contains item.link %}is-active{% endif %}">{{ item.name }}</a>
21
- <div class="navbar-dropdown">
22
- {% for subitem in item.dropdown %}
23
- <a href="{{ subitem.link | relative_url }}" class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a>
24
- {% endfor %}
25
- </div>
26
- </div>
27
- {% else %}
28
- <a href="{{ item.link | relative_url }}" class="navbar-item {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
29
- {% endif %}
30
- {% endfor %}
28
+ {% for item in site.data.navigation %}
29
+ {% if item.dropdown %}
30
+ <div class="navbar-item has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %}">
31
+ <a
32
+ href="{{ item.link | relative_url }}"
33
+ class="navbar-link {% if page.url contains item.link %}is-active{% endif %}"
34
+ >
35
+ {{- item.name -}}
36
+ </a>
37
+ <div class="navbar-dropdown">
38
+ {% for subitem in item.dropdown %}
39
+ <a
40
+ href="{{ subitem.link | relative_url }}"
41
+ class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}"
42
+ >
43
+ {{- subitem.name -}}
44
+ </a>
45
+ {% endfor %}
46
+ </div>
47
+ </div>
48
+ {% else %}
49
+ <a
50
+ href="{{ item.link | relative_url }}"
51
+ class="navbar-item {% if item.link == page.url %}is-active{% endif %}"
52
+ >
53
+ {{- item.name -}}
54
+ </a>
55
+ {% endif %}
56
+ {% endfor %}
31
57
  {% endif %}
32
58
  </div>
33
59
 
34
60
  <div class="navbar-end">
35
61
  {% if site.gh_sponsor %}
36
- <a class="navbar-item" href="https://github.com/sponsors/{{ site.gh_sponsor }}">
37
- <span class="icon gh-sponsor"><i class="fas fa-heart"></i></span>
38
- <span>Sponsor</span>
39
- </a>
62
+ <a class="navbar-item" href="https://github.com/sponsors/{{ site.gh_sponsor }}">
63
+ <span class="icon gh-sponsor"><i class="fas fa-heart"></i></span>
64
+ <span>Sponsor</span>
65
+ </a>
40
66
  {% endif %}
41
67
  </div>
42
-
43
68
  </div>
44
69
  </div>
45
70
  </nav>
data/_includes/hero.html CHANGED
@@ -1,11 +1,18 @@
1
- <section class="hero {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} is-bold is-primary" {% if page.hero_image %} style="background: url('{{ page.hero_image }}') no-repeat center center; background-size: cover;" {% endif %}>
1
+ <section
2
+ class="hero {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} is-bold is-primary"
3
+ {% if page.hero_image %}
4
+ style="background: url('{{ page.hero_image }}') no-repeat center center; background-size: cover;"
5
+ {% endif %}
6
+ >
2
7
  <div class="hero-body {% if page.hero_darken %} hero-darken {% endif %}">
3
8
  <div class="container">
4
9
  <h1 class="title is-2">{{ page.title }}</h1>
5
10
  <p class="subtitle is-3">{{ page.subtitle }}</p>
6
11
  {% if page.hero_link %}
7
- <a href="{{ page.hero_link | relative_url }}" class="button is-info is-large">{{ page.hero_link_text }}</a>
12
+ <a href="{{ page.hero_link | relative_url }}" class="button is-info is-large">
13
+ {{- page.hero_link_text -}}
14
+ </a>
8
15
  {% endif %}
9
16
  </div>
10
17
  </div>
11
- </section>
18
+ </section>
@@ -1,12 +1,9 @@
1
1
  <p class="title is-4">Latest Posts</p>
2
2
 
3
3
  <div class="columns is-multiline">
4
- {% for post in site.posts limit:3 %}
5
- <div class="column is-12">
6
- {% include post-card.html %}
7
- </div>
4
+ {% for post in site.posts limit: 3 %}
5
+ <div class="column is-12">
6
+ {% include post-card.html %}
7
+ </div>
8
8
  {% endfor %}
9
9
  </div>
10
-
11
-
12
-
@@ -1,21 +1,30 @@
1
1
  {% assign menus = site.data.[page.menubar] %}
2
2
 
3
3
  <aside class="menu">
4
- {% for menu in menus %}
5
- <p class="menu-label">{{ menu.label }}</p>
6
- <ul class="menu-list">
7
- {% for item in menu.items %}
8
- <li>
9
- <a href="{{ item.link | relative_url }}" class="{% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
10
- {% if item.items %}
11
- <ul>
12
- {% for subitem in item.items %}
13
- <li><a href="{{ subitem.link | relative_url }}" class="{% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a></li>
14
- {% endfor %}
15
- </ul>
16
- {% endif %}
17
- </li>
18
- {% endfor %}
19
- </ul>
20
- {% endfor %}
21
- </aside>
4
+ {% for menu in menus %}
5
+ <p class="menu-label">{{ menu.label }}</p>
6
+ <ul class="menu-list">
7
+ {% for item in menu.items %}
8
+ <li>
9
+ <a href="{{ item.link | relative_url }}" class="{% if item.link == page.url %}is-active{% endif %}">
10
+ {{- item.name -}}
11
+ </a>
12
+ {% if item.items %}
13
+ <ul>
14
+ {% for subitem in item.items %}
15
+ <li>
16
+ <a
17
+ href="{{ subitem.link | relative_url }}"
18
+ class="{% if subitem.link == page.url %}is-active{% endif %}"
19
+ >
20
+ {{- subitem.name -}}
21
+ </a>
22
+ </li>
23
+ {% endfor %}
24
+ </ul>
25
+ {% endif %}
26
+ </li>
27
+ {% endfor %}
28
+ </ul>
29
+ {% endfor %}
30
+ </aside>
@@ -6,7 +6,9 @@
6
6
  <article class="media">
7
7
  {% if include.icon != 'false' %}
8
8
  <div class="media-left">
9
- <span class="icon"><i class="{{ include.icon | default: 'fas fa-exclamation-circle' }} fa-lg"></i></span>
9
+ <span class="icon">
10
+ <i class="{{ include.icon | default: 'fas fa-exclamation-circle' }} fa-lg"></i>
11
+ </span>
10
12
  </div>
11
13
  {% endif %}
12
14
  <div class="media-content">
@@ -14,4 +16,4 @@
14
16
  </div>
15
17
  </article>
16
18
  </div>
17
- </div>
19
+ </div>
@@ -1,23 +1,39 @@
1
1
  <nav class="pagination is-centered">
2
2
  {% if paginator.previous_page %}
3
- <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="pagination-previous is-info">Previous</a>
3
+ <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="pagination-previous is-info">Previous</a>
4
4
  {% else %}
5
- <p class="pagination-previous" disabled>Previous</p>
5
+ <p class="pagination-previous" disabled>Previous</p>
6
6
  {% endif %}
7
7
  {% if paginator.next_page %}
8
- <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="pagination-next is-info">Next</a>
8
+ <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="pagination-next is-info">Next</a>
9
9
  {% else %}
10
- <p class="pagination-next" disabled >Next</p>
10
+ <p class="pagination-next" disabled>Next</p>
11
11
  {% endif %}
12
12
  <ul class="pagination-list">
13
13
  {% for page in (1..paginator.total_pages) %}
14
- {% if page == paginator.page %}
15
- <li><a class="pagination-link is-current">{{ page }}</a></li>
16
- {% elsif page == 1 %}
17
- <li><a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | split: '/' | pop | join: '/' }}" class="pagination-link">{{ page }}</a></li>
18
- {% else %}
19
- <li><a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}" class="pagination-link">{{ page }}</a></li>
20
- {% endif %}
14
+ {% if page == paginator.page %}
15
+ <li>
16
+ <a class="pagination-link is-current">{{ page }}</a>
17
+ </li>
18
+ {% elsif page == 1 %}
19
+ <li>
20
+ <a
21
+ href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | split: '/' | pop | join: '/' }}"
22
+ class="pagination-link"
23
+ >
24
+ {{- page -}}
25
+ </a>
26
+ </li>
27
+ {% else %}
28
+ <li>
29
+ <a
30
+ href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}"
31
+ class="pagination-link"
32
+ >
33
+ {{- page -}}
34
+ </a>
35
+ </li>
36
+ {% endif %}
21
37
  {% endfor %}
22
38
  </ul>
23
39
  </nav>
@@ -1,17 +1,17 @@
1
1
  <div class="card">
2
2
  {% if post.image %}
3
- <div class="card-image">
4
- <img src="{{ post.image }}" alt="{{ post.title }}">
5
- </div>
3
+ <div class="card-image">
4
+ <img src="{{ post.image }}" alt="{{ post.title }}">
5
+ </div>
6
6
  {% else %}
7
- <header class="card-header">
8
- <a class="card-header-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title}}</a>
9
- </header>
7
+ <header class="card-header">
8
+ <a class="card-header-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
9
+ </header>
10
10
  {% endif %}
11
11
  <div class="card-content">
12
12
  <div class="content">
13
13
  {% if post.image %}
14
- <a class="title is-4" href="{{ site.baseurl }}{{ post.url }}">{{ post.title}}</a>
14
+ <a class="title is-4" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
15
15
  {% endif %}
16
16
  {% if post.summary %}
17
17
  {{ post.summary | markdownify }}
@@ -24,6 +24,6 @@
24
24
  </div>
25
25
  </div>
26
26
  <footer class="card-footer">
27
- <p class="card-footer-item">Published: {{ post.date | date: "%b %-d, %Y" }}</p>
27
+ <p class="card-footer-item">Published: {{ post.date | date: '%b %-d, %Y' }}</p>
28
28
  </footer>
29
- </div>
29
+ </div>
@@ -1,14 +1,13 @@
1
-
2
- <div class="content {% if include.align %} {{ include.align }} {% else %} has-text-centered {% endif %}">
3
- {% for num in (1..include.rating) %}
1
+ <div class="content {% if include.align %} {{ include.align }} {% else %} has-text-centered {% endif %}">
2
+ {% for num in (1..include.rating) %}
4
3
  <span class="icon">
5
4
  <i class="fas fa-star"></i>
6
5
  </span>
7
- {% endfor %}
8
- {% assign remainder = 5 | minus: include.rating %}
9
- {% for num in (1..remainder) %}
6
+ {% endfor %}
7
+ {% assign remainder = 5 | minus: include.rating %}
8
+ {% for num in (1..remainder) %}
10
9
  <span class="icon">
11
10
  <i class="far fa-star"></i>
12
11
  </span>
13
- {% endfor %}
14
- </div>
12
+ {% endfor %}
13
+ </div>