mgm-jekyll-bulma 0.1.1 → 0.1.2

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.
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mgm-jekyll-bulma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maria McDowell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -33,6 +33,8 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
+ - _includes/archive-listing.html
37
+ - _includes/callout_socialmedia.html
36
38
  - _includes/callouts.html
37
39
  - _includes/disqus.html
38
40
  - _includes/footer-scripts.html
@@ -44,35 +46,25 @@ files:
44
46
  - _includes/header.html
45
47
  - _includes/hero.html
46
48
  - _includes/image-modal.html
49
+ - _includes/image.html
47
50
  - _includes/latest-posts.html
48
51
  - _includes/menubar.html
49
- - _includes/notification.html
50
- - _includes/pagination.html
51
- - _includes/post-card.html
52
- - _includes/rating.html
53
- - _includes/review.html
52
+ - _includes/navbar.html
53
+ - _includes/post-list.html
54
54
  - _includes/series.html
55
55
  - _includes/share-buttons.html
56
- - _includes/showcase.html
57
- - _includes/sponsors.html
58
- - _includes/subscribe.html
59
56
  - _includes/tabs.html
60
57
  - _includes/tag.html
61
58
  - _includes/toc.html
62
59
  - _includes/vimeo.html
63
60
  - _includes/youtube.html
64
- - _layouts/blog.html
65
61
  - _layouts/default.html
66
62
  - _layouts/page.html
67
63
  - _layouts/post.html
68
- - _layouts/product-category.html
69
- - _layouts/product.html
70
- - _layouts/recipe.html
71
- - _sass/_layout.scss
72
- - _sass/_main.scss
73
- - _sass/_showcase.scss
74
- - _sass/syntax.scss
75
- - assets/css/app.scss
64
+ - assets/css/app.css
65
+ - assets/images/authorpicture.jpg
66
+ - assets/images/eisodia-theotokou-eikona.jpeg
67
+ - assets/images/hero-default.jpg
76
68
  - assets/js/app.js
77
69
  homepage: https://github.com/mariagwyn/mgm-jekyll-bulma.
78
70
  licenses:
@@ -1,17 +0,0 @@
1
- <div x-data="{visible: true}" markdown="0">
2
- <div class="notification {{ include.status | default: 'is-warning' }}" x-show.transition.duration.300ms="visible">
3
- {% if include.dismissable %}
4
- <button class="delete" x-on:click="visible = false"></button>
5
- {% endif %}
6
- <article class="media">
7
- {% if include.icon != 'false' %}
8
- <div class="media-left">
9
- <span class="icon"><i class="{{ include.icon | default: 'fas fa-exclamation-circle' }} fa-lg"></i></span>
10
- </div>
11
- {% endif %}
12
- <div class="media-content">
13
- <div class="content">{{ include.message | markdownify }}</div>
14
- </div>
15
- </article>
16
- </div>
17
- </div>
@@ -1,23 +0,0 @@
1
- <nav class="pagination is-centered">
2
- {% if paginator.previous_page %}
3
- <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="pagination-previous is-info">Previous</a>
4
- {% else %}
5
- <p class="pagination-previous" disabled>Previous</p>
6
- {% endif %}
7
- {% if paginator.next_page %}
8
- <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="pagination-next is-info">Next</a>
9
- {% else %}
10
- <p class="pagination-next" disabled >Next</p>
11
- {% endif %}
12
- <ul class="pagination-list">
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 %}
21
- {% endfor %}
22
- </ul>
23
- </nav>
@@ -1,29 +0,0 @@
1
- <div class="card">
2
- {% if post.image %}
3
- <div class="card-image">
4
- <img src="{{ post.image }}" alt="{{ post.title }}">
5
- </div>
6
- {% else %}
7
- <header class="card-header">
8
- <a class="card-header-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title}}</a>
9
- </header>
10
- {% endif %}
11
- <div class="card-content">
12
- <div class="content">
13
- {% if post.image %}
14
- <a class="title is-4" href="{{ site.baseurl }}{{ post.url }}">{{ post.title}}</a>
15
- {% endif %}
16
- {% if post.summary %}
17
- {{ post.summary | markdownify }}
18
- {% else %}
19
- <p>{{ post.excerpt }}</p>
20
- {% endif %}
21
- </div>
22
- <div class="has-text-centered">
23
- <a href="{{ site.baseurl }}{{ post.url }}" class="button is-primary">Read more</a>
24
- </div>
25
- </div>
26
- <footer class="card-footer">
27
- <p class="card-footer-item">Published: {{ post.date | date: "%b %-d, %Y" }}</p>
28
- </footer>
29
- </div>
@@ -1,14 +0,0 @@
1
-
2
- <div class="content {% if include.align %} {{ include.align }} {% else %} has-text-centered {% endif %}">
3
- {% for num in (1..include.rating) %}
4
- <span class="icon">
5
- <i class="fas fa-star"></i>
6
- </span>
7
- {% endfor %}
8
- {% assign remainder = 5 | minus: include.rating %}
9
- {% for num in (1..remainder) %}
10
- <span class="icon">
11
- <i class="far fa-star"></i>
12
- </span>
13
- {% endfor %}
14
- </div>
@@ -1,27 +0,0 @@
1
- <article class="media">
2
- <figure class="media-left">
3
- {% if review.avatar %}
4
- <p class="image is-48x48">
5
- <img src="https://bulma.io/images/placeholders/128x128.png">
6
- </p>
7
- {% else %}
8
- <div class="icon is-large">
9
- <i class="fas fa-user fa-2x"></i>
10
- </div>
11
- {% endif %}
12
- </figure>
13
- <div class="media-content">
14
- <div class="content">
15
- <p>
16
- <strong>{{ review.name }}</strong> <small>{{ review.date }}</small>
17
- <br>
18
- {{ review.title }}
19
- <br>
20
- {{ review.description }}
21
- </p>
22
- </div>
23
- {% if review.rating %}
24
- {% include rating.html rating=review.rating align="has-text-left" %}
25
- {% endif %}
26
- </div>
27
- </article>
@@ -1,64 +0,0 @@
1
- {% if page.showcase %}
2
- {% assign showcase = site.data.[page.showcase] %}
3
-
4
- <div class="content">
5
- <p>{{ showcase.intro | markdownify }}</p>
6
- </div>
7
-
8
- {% for item in showcase.items %}
9
- <section class="showcase">
10
- <figure class="image {% if item.image_ratio %} {{ item.image_ratio }} {% else %} is-16by9 {% endif %}">
11
- <img src="{{ item.image | relative_url }}" />
12
- </figure>
13
- <div class="showcase-content">
14
- <div class="columns is-centered">
15
- <div class="column is-8-desktop is-12-tablet">
16
- <p class="title">{{ item.title }}</p>
17
- <p class="subtitle">{{ item.subtitle }}</p>
18
-
19
- {% if item.github %}
20
- <div class="buttons is-centered">
21
- <a href="https://github.com/{{ item.github }}/stargazers" class="button is-white is-small">
22
- <img alt="GitHub stars" src="https://img.shields.io/github/stars/{{ item.github }}?style=social">
23
- </a>
24
- <a href="https://github.com/{{ showcase.github }}/network/members" class="button is-white is-small">
25
- <img alt="GitHub forks" src="https://img.shields.io/github/forks/{{ item.github }}?style=social">
26
- </a>
27
- <a href="https://github.com/{{ item.github }}/watchers" class="button is-white is-small">
28
- <img alt="GitHub watchers" src="https://img.shields.io/github/watchers/{{ item.github }}?style=social">
29
- </a>
30
- </div>
31
- {% endif %}
32
-
33
- <div class="content">
34
- <p>{{ item.description | markdownify }}</p>
35
- </div>
36
-
37
- {% if item.features %}
38
- <ul class="block-list {{ item.features_styles }}">
39
- {% for feature in item.features %}
40
- <li>{{ feature }}</li>
41
- {% endfor %}
42
- </ul>
43
- {% endif %}
44
-
45
-
46
- {% if item.tags %}
47
- {% assign tags = item.tags | split: "," %}
48
- <div class="tags is-centered">
49
- {% for tag in tags %}
50
- {% include tag.html tag=tag style="is-dark" %}
51
- {% endfor %}
52
- </div>
53
- {% endif %}
54
-
55
- <a href="{{ item.link }}" class="button is-primary">
56
- {{ item.link_text }}
57
- </a>
58
- </div>
59
- </div>
60
-
61
- </div>
62
- </section>
63
- {% endfor %}
64
- {% endif %}
@@ -1,42 +0,0 @@
1
- {% if page.sponsors %}
2
- {% assign tiers=site.data.[page.sponsors] %}
3
- <div class="columns is-multiline">
4
- {% for tier in tiers %}
5
- <div class="column is-12">
6
- <p class="title is-3 has-text-centered">
7
- <span>{{ tier.tier_name }}</span>
8
- </p>
9
- <p class="subtitle has-text-centered">
10
- <span class="icon is-large gh-sponsor"><i class="fas fa-heart fa-2x"></i></span>
11
- </p>
12
- <div class="columns is-centered">
13
- <div class="column is-6 content has-text-centered">
14
- <p>{{ tier.description | markdownify }}</p>
15
- </div>
16
- </div>
17
-
18
- <div class="columns is-multiline is-centered">
19
- {% for sponsor in tier.sponsors %}
20
- <div class="column {% if tier.size == 'large' %} is-4-desktop is-6-tablet {% else %} is-3-desktop is-4-tablet {% endif %}">
21
- <div class="box has-text-centered">
22
- <p class="title {% if tier.size == 'large' %} is-4 {% elsif tier.size == 'small' %} is-6 {% else %} is-5 {% endif %}">
23
- {{ sponsor.name }}
24
- </p>
25
- <p class="subtitle is-6">
26
- {% if sponsor.profile %}
27
- <a href="{{ sponsor.profile }}" class="is-link is-small">View Profile</a>
28
- {% else %}
29
- &nbsp;
30
- {% endif %}
31
- </p>
32
- </div>
33
- </div>
34
- {% endfor %}
35
- </div>
36
- </div>
37
- <div class="column is-12">
38
- <hr />
39
- </div>
40
- {% endfor %}
41
- </div>
42
- {% endif %}
@@ -1,6 +0,0 @@
1
- <div class="has-text-centered">
2
- <a href="{{ site.baseurl }}/feed.xml" class="button is-primary">
3
- <span class="icon"><i class="fas fa-rss"></i></span>
4
- <span>Subscribe</span>
5
- </a>
6
- </div>
data/_layouts/blog.html DELETED
@@ -1,22 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}
6
-
7
- <div class="columns is-multiline">
8
- <div class="column is-12">
9
- {% include pagination.html %}
10
- </div>
11
- {% for post in paginator.posts %}
12
- <div class="column is-12">
13
- {% include post-card.html %}
14
- </div>
15
- {% endfor %}
16
- <div class="column is-12">
17
- {% include pagination.html %}
18
- </div>
19
- <div class="column is-12">
20
- {% include subscribe.html %}
21
- </div>
22
- </div>
@@ -1,42 +0,0 @@
1
- ---
2
- layout: default
3
- show_sidebar: false
4
- ---
5
-
6
- <div class="columns is-multiline">
7
-
8
- <div class="column is-12">
9
- {{ page.content }}
10
- </div>
11
-
12
- {% assign sorted_products = site.products | sort:page.sort %}
13
-
14
- {% for product in sorted_products %}
15
- <div class="column is-4-desktop is-6-tablet">
16
-
17
- <a href="{{ product.url | relative_url }}">
18
-
19
- <div class="card">
20
-
21
- {% if product.image %}
22
- <div class="card-image">
23
- <figure class="image is-4by3">
24
- <img src="{{ product.image }}" alt="{{ product.title }}" />
25
- </figure>
26
- </div>
27
- {% endif %}
28
- <div class="card-content">
29
-
30
- <p class="title is-4">{{ product.title }}</h2>
31
- <p class="subtitle is-4">{{ product.subtitle }}</p>
32
- <p class="title is-5 has-text-right">{{ product.price }}</p>
33
-
34
- </div>
35
- </div>
36
-
37
- </a>
38
-
39
- </div>
40
- {% endfor %}
41
- </div>
42
-
@@ -1,61 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <div class="columns is-multiline">
6
-
7
- <div class="column is-6">
8
- <figure class="image is-4by3">
9
- <img src="{{ page.image }}" />
10
- </figure>
11
- </div>
12
-
13
- <div class="column is-6">
14
- <p class="title is-3">{{ page.title }}</p>
15
- <p class="subtitle is-3">{{ page.subtitle }}</p>
16
- <p class="title is-4 has-text-right">{{ page.price }}</p>
17
- {% if page.product_code %}
18
- <p class="subtitle is-5 has-text-right">{{ page.product_code }}</p>
19
- {% endif %}
20
-
21
- {% if page.rating %}
22
- {% include rating.html rating=page.rating %}
23
- {% endif %}
24
-
25
- {% if page.features %}
26
- <div class="content">
27
- {% for feature in page.features %}
28
- <p>
29
- <span class="icon">
30
- {% if feature.icon %}
31
- <i class="fas {{ feature.icon }}"></i>
32
- {% else %}
33
- <i class="fas fa-circle fa-xs"></i>
34
- {% endif %}
35
- </span>
36
- <span>{{ feature.label }}</span></p>
37
- {% endfor %}
38
- </div>
39
- {% endif %}
40
- </div>
41
-
42
- <div class="column is-12">
43
- <p class="title is-4">Description</p>
44
- <div class="content">
45
-
46
-
47
- {{ content }}
48
- </div>
49
- </div>
50
-
51
- {% if site.data.reviews[page.product_code] %}
52
- <div class="column is-12">
53
- <p class="title is-4">Reviews</p>
54
- {% for review in site.data.reviews[page.product_code] %}
55
- {% include review.html %}
56
- {% endfor %}
57
- </div>
58
- {% endif %}
59
-
60
- </div>
61
-
data/_layouts/recipe.html DELETED
@@ -1,98 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <script type="application/ld+json">
6
- {
7
- "@context": "https://schema.org/",
8
- "@type": "Recipe",
9
- "name": "{{ page.title }}",
10
- "image": [
11
- "{{ page.image }}"
12
- ],
13
- "author": {
14
- "@type": "Person",
15
- "name": "{{ page.author }}"
16
- },
17
- "datePublished": "{{ page.date }}",
18
- "description": "{{ page.description }}",
19
- "prepTime": "{{ page.prep_time }}",
20
- "cookTime": "{{ page.cook_time }}",
21
- "totalTime": "{{ page.total_time }}",
22
- "keywords": "{{ page.keywords }}",
23
- "recipeYield": "{{ page.recipe_yield }}",
24
- "recipeCategory": "{{ page.recipe_category }}",
25
- "recipeCuisine": "{{ page.recipe_cuisine }}",
26
- {% if page.calories %}
27
- "nutrition": {
28
- "@type": "NutritionInformation",
29
- "calories": "{{ page.calories }}"
30
- },
31
- {% endif %}
32
- "recipeIngredient":
33
- {{ page.ingredients | jsonify }},
34
- "recipeInstructions": [
35
- {% for step in page.method %}
36
- {
37
- "@type": "HowToStep",
38
- "text": "{{ step }}"
39
- {% if forloop.last == true %}
40
- }
41
- {% else %}
42
- },
43
- {% endif %}
44
- {% endfor %}
45
- ]
46
- }
47
- </script>
48
-
49
- <div class="columns is-multiline">
50
- <div class="column is-4">
51
- <div class="box has-text-centered">
52
- <strong>Serves:</strong> {{ page.recipe_yield }}
53
- </div>
54
- </div>
55
- <div class="column is-4">
56
- <div class="box has-text-centered">
57
- <strong>Prep time:</strong> {{ page.prep_time | date: "%k hours %M minutes" }}
58
- </div>
59
- </div>
60
- <div class="column is-4">
61
- <div class="box has-text-centered">
62
- <strong>Cook time:</strong> {{ page.cook_time | date: "%k hours %M minutes" }}
63
- </div>
64
- </div>
65
- <div class="column is-4">
66
- <div class="box">
67
- <p class="title is-4">Ingredients</p>
68
- <div class="content">
69
- <ul>
70
- {% for ingredient in page.ingredients %}
71
- <li>{{ ingredient }}</li>
72
- {% endfor %}
73
- </ul>
74
- </div>
75
- </div>
76
- </div>
77
- <div class="column is-8">
78
- <p class="title is-4">Method</p>
79
- <div class="content">
80
- <ol>
81
- {% for step in page.method %}
82
- <li>{{ step }}</li>
83
- {% endfor %}
84
- </ol>
85
- <div class="tags">
86
- {% assign tags = page.keywords | split: "," %}
87
- {% for tag in tags %}
88
- {% include tag.html tag=tag %}
89
- {% endfor %}
90
- </div>
91
-
92
- <p>Published: {{ page.date | date: "%b %-d, %Y" }} by {{ page.author }}</p>
93
- </div>
94
- <div class="content">
95
- {{ content }}
96
- </div>
97
- </div>
98
- </div>
data/_sass/_layout.scss DELETED
@@ -1,40 +0,0 @@
1
- div.highlight {
2
- margin-bottom: 1rem;
3
- }
4
-
5
- @include desktop {
6
- .navbar-item {
7
- &.is-hoverable:hover {
8
- .navbar-dropdown {
9
- display: block;
10
- }
11
- }
12
- }
13
- }
14
-
15
- .contents {
16
- box-shadow: $box-shadow;
17
- padding: 1.5rem;
18
- margin-bottom: 3rem;
19
- }
20
-
21
- .hero-darken {
22
- background-color: rgba($hero-darken, 0.5);
23
- }
24
-
25
- .content {
26
- figure {
27
- margin: 0;
28
- }
29
- }
30
-
31
- .callout {
32
- &-icon {
33
- width: 4rem;
34
- height: 4rem;
35
- margin-bottom: 0.75rem;
36
- }
37
- }
38
-
39
- // Alpine.js hide on initial load
40
- [x-cloak] { display: none !important; }
data/_sass/_main.scss DELETED
@@ -1,22 +0,0 @@
1
- @charset "utf-8";
2
- @import url('https://fonts.googleapis.com/css?family=Montserrat');
3
-
4
- $family-sans-serif: 'Montserrat', sans-serif;
5
- $primary: #188eac !default;
6
-
7
- $tabs-link-active-color: $primary;
8
- $tabs-link-active-border-bottom-color: $primary;
9
-
10
- $modal-content-width: 800px;
11
-
12
- @import "../node_modules/bulma/bulma.sass";
13
- $hero-darken: $dark !default;
14
-
15
- @import "layout";
16
- @import "syntax";
17
- @import "showcase";
18
- @import "../node_modules/bulma-block-list/src/block-list.scss";
19
-
20
- .gh-sponsor {
21
- color: #ea4aaa;
22
- }
data/_sass/_showcase.scss DELETED
@@ -1,13 +0,0 @@
1
- .showcase {
2
- margin-bottom: 3rem;
3
- box-shadow: $box-shadow;
4
-
5
- &-content {
6
- padding: 1.5rem;
7
- text-align: center;
8
- }
9
-
10
- .block-list {
11
- margin-bottom: 1.5rem;
12
- }
13
- }