dev-blog-theme 0.2.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81b606fd8eecb56c5e8cc0d65b48ce4085f18a561ffcd0dd6e7179970b4521af
4
- data.tar.gz: c5b3c6c2a2d4d0ca5b4d0aeda94bf027706bc7420774a5e2fa78fcee50a4dbb7
3
+ metadata.gz: 66e956e46c64b3622b06e3dd759244f6a6f1a6fd6da413a5da2ca8e001ebdf45
4
+ data.tar.gz: bc37e065c96d9fb9298d2bf750822090b3a38bb63de7e2bd801e38b50d823809
5
5
  SHA512:
6
- metadata.gz: fe278f2ffcb9d5229fd4cc11cb592d14834ad71558fff0bd3824a6d4dd57d239fdf63bc64f3a7d30e4cf84c00265f44effd2707067c1d1c360d63e3b9d6a3ac9
7
- data.tar.gz: c550d12adcbc379e3074066ef202de9d3c8968205c7d12636817a252501e38868eac68b4932a22be1cb929363afd64958269d9833e66bf2cb370793e23d16c11
6
+ metadata.gz: d70bc59668005f88cafff0b8f67bb6ed2e166783113e49997a5fd7e6e44d775890364caf347dd85b464fa1b0512bc75a98ccc5f2e69a3c95080e18217b9d8e7d
7
+ data.tar.gz: 61906518a8739686785d08df85162aaaf598051a2f5334fe652b2bdf24ec9407f361a91a522c3fb30afef6c20bc7303a427b4560bbc2b7dd3d3ecaefd5a69c32
data/_includes/head.html CHANGED
@@ -3,7 +3,7 @@
3
3
  {%- seo -%}
4
4
  <link href="https://fonts.googleapis.com/css?family=Pacifico|Roboto"
5
5
  rel="stylesheet">
6
- <link rel="stylesheet" href="{{ "/css/main.css" | relative_url }}">
6
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
7
7
  {%- feed_meta -%}
8
8
  {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
9
  {%- include google-analytics.html -%}
@@ -9,15 +9,11 @@
9
9
  <textarea name="message" id="message" class="textarea" placeholder="Escreva algum comentario."></textarea>
10
10
  </div>
11
11
  </div>
12
- <div id="comment-author">
13
- <div class="control-group">
14
- <input type="hidden" name="avatar" id="avatarInput" />
15
- <input type="text" name="name" id="name" placeholder="Nome de exibição" title="Nome que ficará visivel nos comentarios" data-required="true" />
16
- <input type="email" name="email" id="email" placeholder="email" data-required="true" value="" />
17
- <input type="url" name="url" id="url" placeholder="https://mywebsite.com" />
18
- <span class="info-circle" title="Identity is used to generate an avatar image only. It is not submitted with the form."></span>
19
- <button type="button" onclick="setupForm()" id="commentbutton">Comentar</button>
20
- </div>
21
- </div>
12
+ <input type="hidden" name="avatar" id="avatarInput" />
13
+ <input type="text" name="name" id="name" placeholder="Nome de exibição" title="Nome que ficará visivel nos comentarios" data-required="true" />
14
+ <input type="email" name="email" id="email" placeholder="email" data-required="true" value="" />
15
+ <input type="url" name="url" id="url" placeholder="https://teste.com" />
16
+ <span class="info-circle" title="Identity is used to generate an avatar image only. It is not submitted with the form."></span>
17
+ <button type="button" onclick="setupForm()" id="commentbutton">Comentar</button>
22
18
  </form>
23
19
  <div id="commentstatus" style="clear:both" class="status"></div>
data/_layouts/home.html CHANGED
@@ -10,18 +10,18 @@ layout: default
10
10
  <div class="post-list">
11
11
  {%- for post in paginator.posts -%}
12
12
  <div class="post-item">
13
- <span class="post-item-title">
14
- <h2>
15
- <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
16
- </h2>
17
- </span>
18
- {%- assign date_format = site.devblog.date_format | default: "%b %-d, %Y" -%}
19
- <span class="post-item-date">
20
- {{ post.date | date: date_format }}
21
- </span>
22
- <p class="post-item-summary">
23
- {{ post.excerpt }}
24
- </p>
13
+ <span class="post-item-title">
14
+ <h2>
15
+ <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
16
+ </h2>
17
+ </span>
18
+ {%- assign date_format = site.devblog.date_format | default: "%b %-d, %Y" -%}
19
+ <span class="post-item-date">
20
+ {{ post.date | date: date_format }}
21
+ </span>
22
+ <p class="post-item-summary">
23
+ {{ post.excerpt }}
24
+ </p>
25
25
  </div>
26
26
  {%- endfor -%}
27
27
  </div>
data/_layouts/post.html CHANGED
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <article itemscope itemtype="http://schema.org/BlogPosting">
4
+ <article class="post-item" itemscope itemtype="http://schema.org/BlogPosting">
5
5
  <header>
6
- <h1 itemprop="name headline">{{ page.title | escape }}</h1>
7
- <p class="post__subtitle">
6
+ <h1 itemprop="name headline" class="post-item-title">{{ page.title | escape }}</h1>
7
+ <p class="post-item-date">
8
8
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
9
9
  {%- assign date_format = site.devblog.date_format | default: "%b %-d, %Y" -%}
10
10
  {{ page.date | date: date_format }}
@@ -13,7 +13,7 @@ layout: default
13
13
  • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author | escape }}</span></span>
14
14
  {%- endif -%}</p>
15
15
  </header>
16
- <div class="post">
16
+ <div class="post-item-summary">
17
17
  {{ content }}
18
18
  </div>
19
19
  <hr>
@@ -0,0 +1,12 @@
1
+ ---
2
+ # Front matter comment to ensure Jekyll properly reads file.
3
+ ---
4
+ @charset "utf-8";
5
+ $primary-color: #FF8984;
6
+ $secundary-color: #005F97;
7
+
8
+ @import "header";
9
+ @import "body";
10
+ @import "footer";
11
+ @import "common";
12
+ @import "comments";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Tarzia
@@ -101,6 +101,7 @@ files:
101
101
  - _layouts/home.html
102
102
  - _layouts/page.html
103
103
  - _layouts/post.html
104
+ - assets/css/main.scss
104
105
  homepage: https://github.com/nicolastarzia/dev-blog-theme.
105
106
  licenses:
106
107
  - MIT