bulma_blog_private_server 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 26e91a764b620d43bf9611d8c5d091ab15484c7668c5e54be338266a9b592e87
4
+ data.tar.gz: 5b70334f4d0c9c041c0455b0f4186d20af8bc7a4e42a52771e52c00b0f92c5c6
5
+ SHA512:
6
+ metadata.gz: 17b4bba4ceba127df25d4ad7ce8c264bfd397d880a4a94ee01393ae019e351436fb79414c7b79a2858337e8a3aacd050fbd5d35113826b0a1a5f8fd11b3308ee
7
+ data.tar.gz: 7cd12aca8cae90aed0be973e320bfbfbd982421e9a7cd7d24a0f2ff98128387d099652430082ab3bcb8e3c52e38d771d626f3835110ae66538670595c38e401e
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 chrisrhymes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # bulma_blog_private_server
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "bulma_blog_private_server"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: bulma_blog_private_server
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install bulma_blog_private_server
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `bulma_blog_private_server.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,24 @@
1
+ {% assign base = ''
2
+ %}{% assign depth = page.url | split: '/' | size | minus: 1
3
+ %}{% if depth <= 1
4
+ %}{% assign base = '..'
5
+ %}{% elsif depth == 2
6
+ %}{% assign base = '../..'
7
+ %}{% elsif depth == 3
8
+ %}{% assign base = '../..'
9
+ %}{% elsif depth == 4
10
+ %}{% assign base = '../../..'
11
+ %}
12
+ {% elsif depth == 5 %}
13
+ {% assign base = '../../../..' %}
14
+ {% elsif depth == 6 %}
15
+ {% assign base = '../../../../..' %}
16
+ {% elsif depth == 7 %}
17
+ {% assign base = '../../../../../..' %}
18
+ {% elsif depth == 8 %}
19
+ {% assign base = '../../../../../../..' %}
20
+ {% elsif depth == 9 %}
21
+ {% assign base = '../../../../../../../..' %}
22
+ {% elsif depth == 10 %}
23
+ {% assign base = '../../../../../../../../..' %}
24
+ {% endif %}
@@ -0,0 +1,35 @@
1
+ {% if page.callouts %}
2
+ {% assign callouts=site.data.[page.callouts] %}
3
+ <section class="hero {% if callouts.height %} {{ callouts.height }} {% else %} is-medium {% endif %} {{ callouts.style }}">
4
+ <div class="hero-body">
5
+ <div class="container">
6
+ <div class="columns is-multiline is-centered">
7
+ {% for callout in callouts.items %}
8
+ <div class="column is-4 has-text-centered">
9
+ {% if callout.icon %}
10
+ <div class="icon is-large">
11
+ <i class="fas {{ callout.icon }} fa-4x"></i>
12
+ </div>
13
+ {% endif %}
14
+ <p class="title is-5">{{ callout.title }}</p>
15
+ <p class="subtitle is-5">{{ callout.subtitle }}</p>
16
+
17
+ {% if callout.description %}
18
+ <div class="content">
19
+ <p>{{ callout.description | newline_to_br }}</p>
20
+ </div>
21
+ {% endif %}
22
+
23
+ {% if callout.call_to_action_name %}
24
+ <a href="{{ callout.call_to_action_link | prepend: site.baseurl }}" class="button is-primary">
25
+ {{ callout.call_to_action_name }}
26
+ </a>
27
+ {% endif %}
28
+ </div>
29
+ {% endfor %}
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </section>
34
+ {% endif %}
35
+
@@ -0,0 +1,17 @@
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 %}
@@ -0,0 +1 @@
1
+ <!-- footer scripts -->
@@ -0,0 +1,28 @@
1
+ <footer class="footer">
2
+ <div class="container">
3
+
4
+ {% 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 | prepend: site.baseurl }}" class="link">{{ item.name }}</a>
10
+ </div>
11
+ </div>
12
+ {% endfor %}
13
+ </div>
14
+ {% endif %}
15
+
16
+ <div class="content has-text-centered">
17
+ <!-- <p class="">Theme built by <a href="https://www.csrhymes.com">C.S. Rhymes</a></p> -->
18
+ <p>
19
+ © 2020 Copyright. Desenvolvido por Prof. Dr. Anderson Chaves Carniel e Lucas Emanuel Sierota da Silva.
20
+ Marketing Digital por Regiane Lopes. <br/>
21
+ Curso vinculado à
22
+ <a href="https://coens.dv.utfpr.edu.br/site/">
23
+ Coordenação de Engenharia de Software da UTFPR-DV
24
+ </a>
25
+ </p>
26
+ </div>
27
+ </div>
28
+ </footer>
@@ -0,0 +1,8 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <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>
@@ -0,0 +1,22 @@
1
+ {% if jekyll.environment == "production" %}
2
+ <!-- Facebook Pixel Code -->
3
+ <script>
4
+ !function(f,b,e,v,n,t,s)
5
+ {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
6
+ n.callMethod.apply(n,arguments):n.queue.push(arguments)};
7
+ if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
8
+ n.queue=[];t=b.createElement(e);t.async=!0;
9
+ t.src=v;s=b.getElementsByTagName(e)[0];
10
+ s.parentNode.insertBefore(t,s)}(window,document,'script',
11
+ 'https://connect.facebook.net/en_US/fbevents.js');
12
+ fbq('init', '209938373407135');
13
+ fbq('track', 'PageView');
14
+ </script>
15
+ <noscript>
16
+ <img height="1" width="1"
17
+ src="https://www.facebook.com/tr?id=209938373407135&ev=PageView
18
+ &noscript=1"/>
19
+ </noscript>
20
+ <!-- End Facebook Pixel Code -->
21
+ {% endif %}
22
+ <!-- head scripts -->
@@ -0,0 +1,16 @@
1
+ {% include base.html %}
2
+ <head>
3
+ <meta charset="utf-8">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <title>{{ page.title }}</title>
6
+ <link rel="stylesheet" href="{{base}}/assets/css/app.css">
7
+ <link rel="shortcut icon" type="image/png"
8
+ {% if site.favicon %} href="{{ site.favicon | prepend: base }}" {% else %} href="{{ base }}/favicon.png" {% endif %}
9
+ />
10
+ <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
11
+ {% seo %}
12
+ {%- if site.google_analytics -%}
13
+ {%- include google-analytics.html -%}
14
+ {%- endif -%}
15
+ {%- include head-scripts.html -%}
16
+ </head>
@@ -0,0 +1,46 @@
1
+ {% include base.html %}
2
+ <nav class="navbar is-primary" >
3
+ <div class="container">
4
+ <div class="navbar-brand">
5
+ <a href="{{ site.url }}/blog" class="navbar-item">
6
+ {{ site.title }}
7
+ </a>
8
+ <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu">
9
+ <span aria-hidden="true"></span>
10
+ <span aria-hidden="true"></span>
11
+ <span aria-hidden="true"></span>
12
+ </a>
13
+ </div>
14
+ <div class="navbar-menu" id="navMenu">
15
+ <div class="navbar-end">
16
+ <!-- <a href="{{ site.baseurl }}/blog" class="navbar-item {% if page.url == "/blog" %}is-active{% endif %}">Home</a> -->
17
+ {% if site.data.navigation %}
18
+ {% for item in site.data.navigation %}
19
+ {% if item.dropdown %}
20
+ <div class="navbar-item has-dropdown is-hoverable">
21
+ <a href="{{ item.link | prepend: site.baseurl }}" class="navbar-link {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
22
+ <div class="navbar-dropdown">
23
+ {% for subitem in item.dropdown %}
24
+ <a href="{{ subitem.link | prepend: site.baseurl }}" class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a>
25
+ {% endfor %}
26
+ </div>
27
+ </div>
28
+ {% else %}
29
+ <a href="{{ item.link | prepend: site.baseurl }}" class="navbar-item {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
30
+ {% endif %}
31
+ {% endfor %}
32
+ {% endif %}
33
+ </div>
34
+ {% if site.gh_sponsor %}
35
+ <div class="navbar-end">
36
+
37
+ <a class="navbar-item" href="https://github.com/sponsors/{{ site.gh_sponsor }}">
38
+ <span class="icon gh-sponsor"><i class="fas fa-heart"></i></span>
39
+ <span>Sponsor</span>
40
+ </a>
41
+
42
+ </div>
43
+ {% endif %}
44
+ </div>
45
+ </div>
46
+ </nav>
@@ -0,0 +1,11 @@
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 %}>
2
+ <div class="hero-body {% if page.hero_darken %} hero-darken {% endif %}">
3
+ <div class="container">
4
+ <p class="title is-2">{{ page.title }}</p>
5
+ <p class="subtitle is-3">{{ page.subtitle }}</p>
6
+ {% if page.hero_link %}
7
+ <a href="{{ page.hero_link | prepend: site.baseurl }}" class="button is-info is-large">{{ page.hero_link_text }}</a>
8
+ {% endif %}
9
+ </div>
10
+ </div>
11
+ </section>
@@ -0,0 +1,12 @@
1
+ <p class="title is-4">Últimos Posts</p>
2
+
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>
8
+ {% endfor %}
9
+ </div>
10
+
11
+
12
+
@@ -0,0 +1,21 @@
1
+ {% assign menus = site.data.[page.menubar] %}
2
+
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 | prepend: site.baseurl }}" 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 | prepend: site.baseurl }}" 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>
@@ -0,0 +1,25 @@
1
+ {% include base.html%}
2
+
3
+ <nav class="pagination is-centered">
4
+ {% if paginator.previous_page %}
5
+ <a href="{{ base }}{{ paginator.previous_page_path }}" class="pagination-previous is-info">Anterior</a>
6
+ {% else %}
7
+ <p class="pagination-previous" disabled>Anterior</p>
8
+ {% endif %}
9
+ {% if paginator.next_page %}
10
+ <a href="{{ base }}{{ paginator.next_page_path }}" class="pagination-next is-info">Próximo</a>
11
+ {% else %}
12
+ <p class="pagination-next" disabled >Próximo</p>
13
+ {% endif %}
14
+ <ul class="pagination-list">
15
+ {% for page in (1..paginator.total_pages) %}
16
+ {% if page == paginator.page %}
17
+ <li><a class="pagination-link is-current">{{ page }}</a></li>
18
+ {% elsif page == 1 %}
19
+ <li><a href="../..{{ paginator.previous_page_path | replace: '//', '/' }}" class="pagination-link">{{ page }}</a></li>
20
+ {% else %}
21
+ <li><a href="../{{ site.paginate_path | | replace: '//', '/' | replace: ':num', page }}" class="pagination-link">{{ page }}</a></li>
22
+ {% endif %}
23
+ {% endfor %}
24
+ </ul>
25
+ </nav>
@@ -0,0 +1,31 @@
1
+ {% include base.html %}
2
+ <div class="card">
3
+ {% if post.image %}
4
+ <div class="card-image">
5
+ <img src="{{base}}{{ post.image }}" alt="{{ post.title }}">
6
+ </div>
7
+ {% else %}
8
+ <header class="card-header">
9
+ <a class="card-header-title" href="{{base}}{{ post.url }}">{{ post.title}}</a>
10
+ </header>
11
+ {% endif %}
12
+ <div class="card-content">
13
+ <div class="content">
14
+ {% if post.image %}
15
+ <a class="title is-4" href="{{base}}{{ post.url }}">{{ post.title}}</a>
16
+ {% endif %}
17
+ {% if post.description %}
18
+ <p>{{ post.description }}</p>
19
+ {% else %}
20
+ <p>{{ post.excerpt }}</p>
21
+ {% endif %}
22
+
23
+ </div>
24
+ <div class="has-text-centered">
25
+ <a href="{{base}}{{ post.url }}" class="button is-primary">Leia mais</a>
26
+ </div>
27
+ </div>
28
+ <footer class="card-footer">
29
+ <p class="card-footer-item">Publicado em {{ post.date | date: "%d/%m/%Y" }}</p>
30
+ </footer>
31
+ </div>
@@ -0,0 +1,14 @@
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>
@@ -0,0 +1,27 @@
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>