tema_revista 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.
- checksums.yaml +4 -4
- data/_layouts/author.html +42 -0
- data/_layouts/chronicle.html +27 -0
- data/_layouts/home.html +16 -1
- data/_layouts/post.html +5 -2
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27844532efab339b2892146b24c515efc3786a8fd48ceed90c2a788e11fd6d85
|
|
4
|
+
data.tar.gz: 0bba776f027297ddfb17332e584982546854cac57582cdfae7bfd03e6c359ed1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2417f35a3bd467e37b65086944af70a6560e96096762cfcd083b219a9744a4af37346c1ce50554e677ffed9ed34a73b31e1af10d6348a22524c95f065706cf3
|
|
7
|
+
data.tar.gz: ab43cd6a06debda2108c21252fa63806b05e9193f9b84cf05dd6999855b6d0f06b864fbac1acbea567d7cba0de739f26f9826b4a5d72e30e2c22826abcbcd80c
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/Person">
|
|
5
|
+
|
|
6
|
+
<header class="post-header">
|
|
7
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
8
|
+
{%- if page.twitter %}
|
|
9
|
+
<p class="post-meta">
|
|
10
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">Twitter: <a href="https://twitter.com/{{ page.twitter }}"><span class="p-author h-card" itemprop="name">@{{ page.twitter }}</span></a></span>
|
|
11
|
+
</p>
|
|
12
|
+
{%- endif %}
|
|
13
|
+
</header>
|
|
14
|
+
|
|
15
|
+
<div class="post-content e-content" itemprop="articleBody">
|
|
16
|
+
{{ content }}
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
{% assign author_posts = site.posts | where:"author",page.id %}
|
|
20
|
+
{%- if author_posts.size > 0 -%}
|
|
21
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Artículos" }}</h2>
|
|
22
|
+
<ul class="post-list">
|
|
23
|
+
{%- for post in author_posts -%}
|
|
24
|
+
<li>
|
|
25
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
|
26
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
|
27
|
+
<h3>
|
|
28
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
|
29
|
+
{{ post.title | escape }}
|
|
30
|
+
</a>
|
|
31
|
+
</h3>
|
|
32
|
+
{%- if site.show_excerpts -%}
|
|
33
|
+
{{ post.excerpt }}
|
|
34
|
+
{%- endif -%}
|
|
35
|
+
</li>
|
|
36
|
+
{%- endfor -%}
|
|
37
|
+
</ul>
|
|
38
|
+
|
|
39
|
+
{%- endif -%}
|
|
40
|
+
|
|
41
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
|
42
|
+
</article>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
|
5
|
+
|
|
6
|
+
<header class="post-header">
|
|
7
|
+
<h2>Crónica</h2>
|
|
8
|
+
|
|
9
|
+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
10
|
+
<p class="post-meta">
|
|
11
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
12
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
|
13
|
+
{{ page.date | date: date_format }}
|
|
14
|
+
</time>
|
|
15
|
+
|
|
16
|
+
{% assign author = site.authors | where:"id",page.author | first %}
|
|
17
|
+
{%- if author -%}
|
|
18
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><a href="{{ author.url | relative_url }}"><span class="p-author h-card" itemprop="name">{{ author.title }}</span></a></span>
|
|
19
|
+
{%- endif -%}</p>
|
|
20
|
+
</header>
|
|
21
|
+
|
|
22
|
+
<div class="post-content e-content" itemprop="articleBody">
|
|
23
|
+
{{ content }}
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
|
27
|
+
</article>
|
data/_layouts/home.html
CHANGED
|
@@ -10,7 +10,7 @@ layout: default
|
|
|
10
10
|
{{ content }}
|
|
11
11
|
|
|
12
12
|
{%- if site.posts.size > 0 -%}
|
|
13
|
-
<h2 class="post-list-heading">{{ page.list_title | default: "
|
|
13
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Artículos" }}</h2>
|
|
14
14
|
<ul class="post-list">
|
|
15
15
|
{%- for post in site.posts -%}
|
|
16
16
|
<li>
|
|
@@ -27,7 +27,22 @@ layout: default
|
|
|
27
27
|
</li>
|
|
28
28
|
{%- endfor -%}
|
|
29
29
|
</ul>
|
|
30
|
+
{%- endif -%}
|
|
30
31
|
|
|
32
|
+
{%- if site.authors.size > 0 -%}
|
|
33
|
+
<h2 class="author-list-heading">Autores</h2>
|
|
34
|
+
<ul class="author-list">
|
|
35
|
+
{%- for author in site.authors -%}
|
|
36
|
+
<li>
|
|
37
|
+
<h3>
|
|
38
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><a href="{{ author.url | relative_url }}"><span class="p-author h-card" itemprop="name">{{ author.title }}</span></a></span>
|
|
39
|
+
</h3>
|
|
40
|
+
{%- if site.show_excerpts -%}
|
|
41
|
+
{{ author.excerpt }}
|
|
42
|
+
{%- endif -%}
|
|
43
|
+
</li>
|
|
44
|
+
{%- endfor -%}
|
|
45
|
+
</ul>
|
|
31
46
|
{%- endif -%}
|
|
32
47
|
|
|
33
48
|
</div>
|
data/_layouts/post.html
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
layout: default
|
|
3
3
|
---
|
|
4
4
|
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
|
|
5
|
+
<h2>Noticia</h2>
|
|
5
6
|
|
|
6
7
|
<header class="post-header">
|
|
7
8
|
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
@@ -10,8 +11,10 @@ layout: default
|
|
|
10
11
|
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
|
11
12
|
{{ page.date | date: date_format }}
|
|
12
13
|
</time>
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
{% assign author = site.authors | where:"id",page.author | first %}
|
|
16
|
+
{%- if author -%}
|
|
17
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><a href="{{ author.url | relative_url }}"><span class="p-author h-card" itemprop="name">{{ author.title }}</span></a></span>
|
|
15
18
|
{%- endif -%}</p>
|
|
16
19
|
</header>
|
|
17
20
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tema_revista
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sylvain Lesage
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-06-
|
|
11
|
+
date: 2018-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -63,6 +63,8 @@ files:
|
|
|
63
63
|
- README.md
|
|
64
64
|
- _includes/head.html
|
|
65
65
|
- _includes/header.html
|
|
66
|
+
- _layouts/author.html
|
|
67
|
+
- _layouts/chronicle.html
|
|
66
68
|
- _layouts/default.html
|
|
67
69
|
- _layouts/home.html
|
|
68
70
|
- _layouts/page.html
|