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 +4 -4
- data/_includes/head.html +1 -1
- data/_includes/new-comment.html +6 -10
- data/_layouts/home.html +12 -12
- data/_layouts/post.html +4 -4
- data/assets/css/main.scss +12 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66e956e46c64b3622b06e3dd759244f6a6f1a6fd6da413a5da2ca8e001ebdf45
|
4
|
+
data.tar.gz: bc37e065c96d9fb9298d2bf750822090b3a38bb63de7e2bd801e38b50d823809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 -%}
|
data/_includes/new-comment.html
CHANGED
@@ -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
|
-
<
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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="
|
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>
|
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.
|
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
|