morel-theme 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +23 -7
- data/_includes/actions-h.html +17 -0
- data/_includes/actions-v.html +12 -0
- data/_includes/book-list-metadata.html +9 -0
- data/_includes/book-metadata.html +24 -0
- data/_includes/chriteria.html +2 -4
- data/_includes/lista-relacionadas-autora.html +10 -10
- data/_includes/lista-relacionadas-ciudad.html +3 -11
- data/_includes/lista-relacionadas-editorial.html +3 -11
- data/_includes/lista-relacionadas-libro.html +4 -20
- data/_includes/lista-relacionadas-repositorio.html +3 -13
- data/_includes/lista-todas-sample.html +2 -10
- data/_includes/lista-todas.html +1 -9
- data/_layouts/book.html +3 -24
- data/assets/---copy-content-to-main-folder---/_authors/csv-to-md.py +21 -0
- data/assets/---copy-content-to-main-folder---/_authors/horacio-quiroga.md +3 -0
- data/assets/---copy-content-to-main-folder---/_authors/vicente-huidobro.md +3 -0
- data/assets/---copy-content-to-main-folder---/_books/altazor-vicente-huidobro-1931.md +13 -0
- data/assets/---copy-content-to-main-folder---/_books/csv-to-md.py +40 -0
- data/assets/---copy-content-to-main-folder---/_books/cuentos-horacio-quiroga-2004.md +7 -0
- data/assets/---copy-content-to-main-folder---/_cities/csv-to-md.py +18 -0
- data/assets/---copy-content-to-main-folder---/_data/.~lock.books.csv# +1 -0
- data/assets/---copy-content-to-main-folder---/_data/books.csv +9 -0
- data/assets/---copy-content-to-main-folder---/_publishers/csv-to-md.py +18 -0
- data/assets/---copy-content-to-main-folder---/_repositories/csv-to-md.py +18 -0
- data/assets/css/main.css +2 -1
- metadata +17 -3
- data/_includes/lista-relacionadas-periodo.html +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a21607c7ed3f28503ef452005232910d524af42c140159beab2960532de62cde
|
4
|
+
data.tar.gz: 11565bde74e1dcc86de6a5577a47472c6ee429f5d5000fc1717ed18da7bcea62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b0d40ba7b1c03fbde8f6919bfeb6b1c960de6218173a1282eda53f50b0a0a191b9012255cf2ac82b58a87ed25071f04f8c15193b42d39db3122b6348c1574e4
|
7
|
+
data.tar.gz: fe8de7c5b6beb6effb63efd1595834ba3ffef763b0450f42ff00cd1bd53045439a38aca0344170dfb130139c394ee26e5eee63455e2f6a74e78f124ccb05e94d
|
data/_config.yml
CHANGED
@@ -1,11 +1,7 @@
|
|
1
|
-
url:
|
2
|
-
baseurl:
|
3
1
|
title: MOREL
|
4
2
|
description: obras latinoamericanas de dominio público
|
5
3
|
permalink: /:categories/:year/:month/:day/:title:output_ext
|
6
|
-
BASE_PATH :
|
7
4
|
img: logo.png
|
8
|
-
post_limit:
|
9
5
|
background: trama.png
|
10
6
|
|
11
7
|
author :
|
@@ -18,8 +14,6 @@ author :
|
|
18
14
|
twitter :
|
19
15
|
instagram: morelrep
|
20
16
|
|
21
|
-
|
22
|
-
#Collections
|
23
17
|
collections:
|
24
18
|
cities:
|
25
19
|
output: true
|
@@ -49,8 +43,30 @@ defaults:
|
|
49
43
|
type: "authors"
|
50
44
|
values:
|
51
45
|
layout: "author"
|
46
|
+
- scope:
|
47
|
+
path: ""
|
48
|
+
type: "books"
|
49
|
+
values:
|
50
|
+
layout: "book"
|
51
|
+
- scope:
|
52
|
+
path: ""
|
53
|
+
type: "cities"
|
54
|
+
values:
|
55
|
+
layout: "city"
|
52
56
|
- scope:
|
53
57
|
path: ""
|
54
58
|
type: "posts"
|
55
59
|
values:
|
56
|
-
layout: "post"
|
60
|
+
layout: "post"
|
61
|
+
- scope:
|
62
|
+
path: ""
|
63
|
+
type: "publishers"
|
64
|
+
values:
|
65
|
+
layout: "publisher"
|
66
|
+
- scope:
|
67
|
+
path: ""
|
68
|
+
type: "repositories"
|
69
|
+
values:
|
70
|
+
layout: "repository"
|
71
|
+
|
72
|
+
#theme: morel-theme
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="img-frame">
|
2
|
+
{% for book in site.data.books %}
|
3
|
+
{% if book.title == page.title and book.author == page.author %}
|
4
|
+
<a href="{{ book.download }}" target="_blank" download><img src="{{ BASE_PATH }}/img/{{ book.cover }}" class="responsive" alt="{{ book.title }}"></a>
|
5
|
+
<div class="actions-h">
|
6
|
+
<!-- AddToAny BEGIN -->
|
7
|
+
<a class="morel" href="{{ book.download }}" target="_blank" download><i class="fa fa-file-pdf-o"></i></a>
|
8
|
+
{% if page.epub %}
|
9
|
+
<a class="morel" href="{{ book.epub }}"><i class="fa fa-tablet"></i></a>
|
10
|
+
{% endif %}
|
11
|
+
{% if book.library %}
|
12
|
+
<a class="morel" href="{{ book.library }}"><i class="fa fa-book"></i></a>
|
13
|
+
{% endif %}
|
14
|
+
</div>
|
15
|
+
{% endif %}
|
16
|
+
{% endfor %}
|
17
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{% for book in site.data.books %}
|
2
|
+
{% if book.title == page.title and book.author == page.author %}
|
3
|
+
<a class="morel" href="{{ book.download }}" target="_blank" download>
|
4
|
+
<i class="fa fa-file-pdf-o" style="padding: 1em 0em"></i></a><br>
|
5
|
+
{% if book.epub %}
|
6
|
+
<a class="morel" href="{{page.epub}}"><i class="fa-file-text-o" style="padding: 1em 0em"></i></a>
|
7
|
+
{% endif %}
|
8
|
+
{% if book.library %}
|
9
|
+
<a class="morel" href="{{book.library}}"><i class="fa fa-book" style="padding: 1em 0em"></i></a>
|
10
|
+
{% endif %}
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<a href="{{ BASE_PATH }}{{ book.url }}"><p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
|
2
|
+
<hr class="overlay-text-inside"></a>
|
3
|
+
<a href="{{ BASE_PATH }}{{ book.title | slugify }}">
|
4
|
+
<i class="fa fa-eye see-and-download morel"></i>
|
5
|
+
</a>
|
6
|
+
<i class="fa fa-download clear"></i>
|
7
|
+
<a href="{{ book.descarga }}">
|
8
|
+
<i class="fa fa-download see-and-download morel"></i>
|
9
|
+
</a>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{% for book in site.data.books %}
|
2
|
+
{% if book.title == page.title and book.author == page.author %}
|
3
|
+
Escrita por
|
4
|
+
{% for author in site.authors %}{% if author.title == book.author %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.author }}</a>
|
5
|
+
|
6
|
+
{% if book.author2 %} +
|
7
|
+
{% for author in site.authors %}{% if author.title == book.author2 %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %}
|
8
|
+
{{ book.author2 }}</a>
|
9
|
+
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
{% if book.author3 %} +
|
13
|
+
{% for author in site.authors %}{% if author.title == book.author %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %}
|
14
|
+
{{ book.author3 }}</a>
|
15
|
+
|
16
|
+
{% endif %}
|
17
|
+
//
|
18
|
+
Publicada en {% if book.city %}{% for city in site.cities %}{% if city.title == book.city %}<a href="{{ city.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.city }}{% endif %}</a>
|
19
|
+
por {% for publisher in site.publishers %}{% if publisher.title == book.publisher %}<a href="{{ publisher.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.publisher }}</a>
|
20
|
+
en {{ book.edition }}{% if book.1edition %} // Publicada por primera vez en {{ book.1edition }}{% endif %} //
|
21
|
+
Recuperada por {% for repository in site.repositories %}{% if repository.title == book.repository %}<a href="{{ repository.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.repository }}</a>{% if book.rep2 %} + {% for repository in site.repositories %}{% if repository.title == book.rep2 %}<a href="{{ repository.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.rep2 }}</a>{% endif %}
|
22
|
+
|
23
|
+
{% endif %}
|
24
|
+
{% endfor %}
|
data/_includes/chriteria.html
CHANGED
@@ -4,14 +4,12 @@
|
|
4
4
|
{% for chriteria in site.data.chriterias %}
|
5
5
|
<div class="basis">
|
6
6
|
<div class="container">
|
7
|
-
<img src="{{ BASE_PATH }}/assets/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria"
|
8
|
-
<div>
|
7
|
+
<a href="{{ BASE_PATH }}/criterios/{{ chriteria.filename }}"><img src="{{ BASE_PATH }}/assets/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria">
|
8
|
+
<div></a>
|
9
9
|
<div class="text">
|
10
10
|
<p class="overlay-text-inside">{{ chriteria.title }}</p>
|
11
11
|
<hr class=".overlay-text-inside">
|
12
|
-
<a href="{{ BASE_PATH }}/criterios/{{ chriteria.filename }}">
|
13
12
|
<i class="fa fa-eye see-and-download morel"></i>
|
14
|
-
</a>
|
15
13
|
</div>
|
16
14
|
</div>
|
17
15
|
</div>
|
@@ -4,20 +4,20 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="row">
|
6
6
|
<!--LOOP DE LISTA 1-->
|
7
|
-
{% for book in site.books %}
|
7
|
+
{% for book in site.data.books %}
|
8
8
|
{% if book.author == page.title %}
|
9
9
|
<div class="basis">
|
10
10
|
<div class="container">
|
11
|
-
<
|
11
|
+
<img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra">
|
12
12
|
<div class="overlay">
|
13
13
|
<div class="text">
|
14
|
-
<p class="overlay-text-inside">Edición publicada en {{ book.
|
15
|
-
<hr class="
|
16
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
14
|
+
<a href="{{ BASE_PATH }}/obras/{{ book.url }}"><p class="overlay-text-inside">Edición publicada en {{ book.city }} por {{ book.publisher }} en {{ book.edition }}</p></a>
|
15
|
+
<hr class="overlay-text-inside">
|
16
|
+
<a href="{{ BASE_PATH }}/obras/{{ book.url }}">
|
17
17
|
<i class="fa fa-eye see-and-download morel"></i>
|
18
18
|
</a>
|
19
19
|
<i class="fa fa-download clear"></i>
|
20
|
-
<a href="{{ book.
|
20
|
+
<a href="{{ book.download }}">
|
21
21
|
<i class="fa fa-download see-and-download morel"></i>
|
22
22
|
</a>
|
23
23
|
</div>
|
@@ -54,16 +54,16 @@
|
|
54
54
|
{% elsif book.author3 == page.title %}
|
55
55
|
<div class="basis">
|
56
56
|
<div class="container">
|
57
|
-
<
|
57
|
+
<img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra">
|
58
58
|
<div class="overlay">
|
59
59
|
<div class="text">
|
60
|
-
<p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
|
61
|
-
<hr class="
|
60
|
+
<a href="{{ BASE_PATH }}{{ book.url }}"><p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
|
61
|
+
<hr class="overlay-text-inside"></a>
|
62
62
|
<a href="{{ BASE_PATH }}{{ book.url }}">
|
63
63
|
<i class="fa fa-eye see-and-download morel"></i>
|
64
64
|
</a>
|
65
65
|
<i class="fa fa-download clear"></i>
|
66
|
-
<a heref="{{ book.
|
66
|
+
<a heref="{{ book.download }}">
|
67
67
|
<i class="fa fa-download see-and-download morel"></i>
|
68
68
|
</a>
|
69
69
|
</div>
|
@@ -4,22 +4,14 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="row">
|
6
6
|
<!--LOOP DE LISTA 1-->
|
7
|
-
{% for book in site.books %}
|
8
|
-
{% if book.
|
7
|
+
{% for book in site.data.books %}
|
8
|
+
{% if book.city == page.title %}
|
9
9
|
<div class="basis">
|
10
10
|
<div class="container">
|
11
11
|
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
12
12
|
<div class="overlay">
|
13
13
|
<div class="text">
|
14
|
-
|
15
|
-
<hr class=".overlay-text-inside">
|
16
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
17
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
18
|
-
</a>
|
19
|
-
<i class="fa fa-download clear"></i>
|
20
|
-
<a href="{{ book.descarga }}">
|
21
|
-
<i class="fa fa-download see-and-download morel"></i>
|
22
|
-
</a>
|
14
|
+
{% include book-list-metadata.html %}
|
23
15
|
</div>
|
24
16
|
</div>
|
25
17
|
</div>
|
@@ -4,22 +4,14 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="row">
|
6
6
|
<!--LOOP DE LISTA 1-->
|
7
|
-
{% for book in site.books %}
|
8
|
-
{% if book.
|
7
|
+
{% for book in site.data.books %}
|
8
|
+
{% if book.publisher == page.title %}
|
9
9
|
<div class="basis">
|
10
10
|
<div class="container">
|
11
11
|
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
12
12
|
<div class="overlay">
|
13
13
|
<div class="text">
|
14
|
-
|
15
|
-
<hr class=".overlay-text-inside">
|
16
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
17
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
18
|
-
</a>
|
19
|
-
<i class="fa fa-download clear"></i>
|
20
|
-
<a href="{{ book.descarga }}">
|
21
|
-
<i class="fa fa-download see-and-download morel"></i>
|
22
|
-
</a>
|
14
|
+
{% include book-list-metadata.html %}
|
23
15
|
</div>
|
24
16
|
</div>
|
25
17
|
</div>
|
@@ -4,22 +4,14 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="row">
|
6
6
|
<!--LOOP DE LISTA 1-->
|
7
|
-
{% for book in site.books %}
|
7
|
+
{% for book in site.data.books %}
|
8
8
|
{% if book.author == page.author %}
|
9
9
|
<div class="basis">
|
10
10
|
<div class="container">
|
11
11
|
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
12
12
|
<div class="overlay">
|
13
13
|
<div class="text">
|
14
|
-
|
15
|
-
<hr class=".overlay-text-inside">
|
16
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
17
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
18
|
-
</a>
|
19
|
-
<i class="fa fa-download clear"></i>
|
20
|
-
<a href="{{ book.descarga }}">
|
21
|
-
<i class="fa fa-download see-and-download morel"></i>
|
22
|
-
</a>
|
14
|
+
{% include book-list-metadata.html %}
|
23
15
|
</div>
|
24
16
|
</div>
|
25
17
|
</div>
|
@@ -28,20 +20,12 @@
|
|
28
20
|
<div class="autor">{{ book.author }}{% if book.author2 %}, {{ book.author2 }}{% endif %}{% if book.author3 %}, {{ book.author3 }}{% endif %}</div>
|
29
21
|
</div>
|
30
22
|
</div>
|
31
|
-
{% elsif book.author2 == page.
|
23
|
+
{% elsif book.author2 == page.author %}
|
32
24
|
<div class="container">
|
33
25
|
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
34
26
|
<div class="overlay">
|
35
27
|
<div class="text">
|
36
|
-
|
37
|
-
<hr class=".overlay-text-inside">
|
38
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
39
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
40
|
-
</a>
|
41
|
-
<i class="fa fa-download clear"></i>
|
42
|
-
<a heref="{{ book.descarga }}">
|
43
|
-
<i class="fa fa-download see-and-download morel"></i>
|
44
|
-
</a>
|
28
|
+
{% include book-list-metadata.html %}
|
45
29
|
</div>
|
46
30
|
</div>
|
47
31
|
</div>
|
@@ -4,23 +4,13 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="row">
|
6
6
|
<!--LOOP DE LISTA 1-->
|
7
|
-
{% for book in site.books %}
|
8
|
-
{% if book.
|
7
|
+
{% for book in site.data.books %}
|
8
|
+
{% if book.repository == page.title %}
|
9
9
|
<div class="basis">
|
10
10
|
<div class="container">
|
11
11
|
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
12
12
|
<div class="overlay">
|
13
|
-
|
14
|
-
<p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
|
15
|
-
<hr class=".overlay-text-inside">
|
16
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
17
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
18
|
-
</a>
|
19
|
-
<i class="fa fa-download clear"></i>
|
20
|
-
<a href="{{ book.descarga }}">
|
21
|
-
<i class="fa fa-download see-and-download morel"></i>
|
22
|
-
</a>
|
23
|
-
</div>
|
13
|
+
{% include book-list-metadata.html %}
|
24
14
|
</div>
|
25
15
|
</div>
|
26
16
|
<div class="price">
|
@@ -5,18 +5,10 @@
|
|
5
5
|
{% for book in books %}
|
6
6
|
<div class="basis">
|
7
7
|
<div class="container">
|
8
|
-
<
|
8
|
+
<img src="{{ BASE_PATH }}/assets/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra">
|
9
9
|
<div class="overlay">
|
10
10
|
<div class="text">
|
11
|
-
|
12
|
-
<hr class=".overlay-text-inside">
|
13
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
14
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
15
|
-
</a>
|
16
|
-
<i class="fa fa-download clear"></i>
|
17
|
-
<a href="{{ book.descarga }}">
|
18
|
-
<i class="fa fa-download see-and-download morel"></i>
|
19
|
-
</a>
|
11
|
+
{% include book-list-metadata.html %}
|
20
12
|
</div>
|
21
13
|
</div>
|
22
14
|
</div>
|
data/_includes/lista-todas.html
CHANGED
@@ -7,15 +7,7 @@
|
|
7
7
|
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
8
8
|
<div class="overlay">
|
9
9
|
<div class="text">
|
10
|
-
|
11
|
-
<hr class=".overlay-text-inside">
|
12
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
13
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
14
|
-
</a>
|
15
|
-
<i class="fa fa-download clear"></i>
|
16
|
-
<a href="{{ book.descarga }}">
|
17
|
-
<i class="fa fa-download see-and-download morel"></i>
|
18
|
-
</a>
|
10
|
+
{% include book-list-metadata.html %}
|
19
11
|
</div>
|
20
12
|
</div>
|
21
13
|
</div>
|
data/_layouts/book.html
CHANGED
@@ -20,35 +20,14 @@ layout: default
|
|
20
20
|
</p>
|
21
21
|
</div>
|
22
22
|
<div class="ficha-metadata">
|
23
|
-
|
23
|
+
{% include book-metadata.html %}
|
24
24
|
</div>
|
25
25
|
</div>
|
26
26
|
<div class="portada" style="">
|
27
|
-
|
28
|
-
<a href="{{ page.descarga }}" target="_blank" download><img src="{{ BASE_PATH }}/img/{{ page.img }}" class="responsive" alt="{{ page.title }}"></a>
|
29
|
-
<div class="actions-h">
|
30
|
-
<!-- AddToAny BEGIN -->
|
31
|
-
<a class="morel" href="{{ page.descarga }}" target="_blank" download><i class="fa fa-file-pdf-o"></i></a>
|
32
|
-
{% if page.epub %}
|
33
|
-
<a href="{{page.epub}}"><i class="fa fa-tablet"></i></a>
|
34
|
-
{% endif %}
|
35
|
-
{% if page.biblioteca %}
|
36
|
-
<a href="{{page.biblioteca}}"><i class="fa fa-book"></i></a>
|
37
|
-
{% endif %}
|
38
|
-
|
39
|
-
</div>
|
40
|
-
</div>
|
27
|
+
{% include actions-h.html %}
|
41
28
|
</div>
|
42
29
|
<div class="actions-v">
|
43
|
-
|
44
|
-
<a class="morel" href="{{ page.descarga }}" target="_blank" download>
|
45
|
-
<i class="fa fa-file-pdf-o" style="padding: 1em 0em"></i></a><br>
|
46
|
-
{% if page.epub %}
|
47
|
-
<a href="{{page.epub}}"><i class="fa-file-text-o" style="padding: 1em 0em"></i></a>
|
48
|
-
{% endif %}
|
49
|
-
{% if page.biblioteca %}
|
50
|
-
<a href="{{page.biblioteca}}"><i class="fa fa-book" style="padding: 1em 0em"></i></a>
|
51
|
-
{% endif %}
|
30
|
+
{% include actions-v.html %}
|
52
31
|
</div>
|
53
32
|
</div>
|
54
33
|
<!--Obras-->
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
|
3
|
+
from slugify import slugify
|
4
|
+
|
5
|
+
# Create a dataFrame from csv file
|
6
|
+
data = pd.read_csv("../_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
|
7
|
+
|
8
|
+
# Set the titles column to a list
|
9
|
+
titles = data.values.tolist()
|
10
|
+
|
11
|
+
# Loop through each name, create .md file, set contents to string
|
12
|
+
for title in titles:
|
13
|
+
fname = str(title[14])
|
14
|
+
url = slugify(fname)
|
15
|
+
file_name = f'{url}.md'
|
16
|
+
ttl = str(title[14])
|
17
|
+
|
18
|
+
with open(file_name, 'w', encoding="utf-8") as f:
|
19
|
+
f.write(f'---\ntitle: {ttl}\n---')
|
20
|
+
f.close()
|
21
|
+
print(f'{file_name} saved')
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
title: Altazor
|
3
|
+
author: Vicente Huidobro
|
4
|
+
author2: Vicente Huidobro
|
5
|
+
author3: Vicente Huidobro
|
6
|
+
---
|
7
|
+
Nací a los treinta y tres años, el día de la muerte de Cristo; nací en el Equinoccio, bajo las hortensias y los aeroplanos del calor.
|
8
|
+
Tenía yo un profundo mirar de pichón, de túnel y de automóvil sentimental. Lanzaba suspiros de acróbata.
|
9
|
+
Mi padre era ciego y sus manos eran más admirables que la noche.
|
10
|
+
Amo la noche, sombrero de todos los días.
|
11
|
+
La noche, la noche del día, del día al día siguiente.
|
12
|
+
Mi madre hablaba como la aurora y como los dirigibles que van a caer. Tenía cabellos color de bandera y ojos llenos de navíos lejanos.
|
13
|
+
Una tarde, cogí mi paracaídas y dije: «Entre una estrella y dos golondrinas.» He aquí la muerte que se acerca como la tierra al globo que cae.
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
|
3
|
+
from slugify import slugify
|
4
|
+
|
5
|
+
# Create a dataFrame from csv file
|
6
|
+
data = pd.read_csv("../_data/books.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
|
7
|
+
|
8
|
+
# Set the titles column to a list
|
9
|
+
books = data.values.tolist()
|
10
|
+
|
11
|
+
# Loop through each name, create .md file, set contents to string
|
12
|
+
for book in books:
|
13
|
+
author2 =str(book[18])# str is a function
|
14
|
+
author3 =str(book[22])
|
15
|
+
# the next lines create the different components of the url for the main author
|
16
|
+
author_raw = str(book[14])
|
17
|
+
author_split = author_raw.split(" ") # split is a built-in method, we are transforming the full name of the author into a list
|
18
|
+
author_short = (author_split[-3:])
|
19
|
+
author = "-".join(author_short)
|
20
|
+
# the next lines create the different components of the url for the title
|
21
|
+
title_raw = str(book[0])
|
22
|
+
title_split = title_raw.split(" ")
|
23
|
+
title_short = (title_split[:4])
|
24
|
+
title = "-".join(title_short)
|
25
|
+
|
26
|
+
year = str(book[3])
|
27
|
+
|
28
|
+
url_raw = title+"-"+author+"-"+year
|
29
|
+
|
30
|
+
url = slugify(url_raw) # slugify is an imported app
|
31
|
+
|
32
|
+
|
33
|
+
file_name = f'{url}.md'
|
34
|
+
xcrpt = str(book[9])
|
35
|
+
|
36
|
+
|
37
|
+
with open(file_name, 'w', encoding="utf-8") as f:
|
38
|
+
f.write(f'---\ntitle: {title_raw}\nauthor: {author_raw}\nauthor2: {author2}\nauthor3: {author3}\n---\n{xcrpt}')
|
39
|
+
f.close()
|
40
|
+
print(f'{file_name} saved')
|
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
title: Cuentos
|
3
|
+
author: Horacio Quiroga
|
4
|
+
author2: Horacio Quiroga
|
5
|
+
author3: Horacio Quiroga
|
6
|
+
---
|
7
|
+
Alicia fue extinguiéndose en su delirio de anemia, agravado de tarde, pero que remitía siempre en las primeras horas. Durante el día no avanzaba su enfermedad, pero cada mañana amanecía lívida, en síncope casi. Parecía que únicamente de noche se le fuera la vida en nuevas olas de sangre. Tenía siempre al despertar la sensación de estar desplomada en la cama con un millón de kilos encima. Desde el tercer día este hundimiento no la abandonó más.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
|
3
|
+
# Create a dataFrame from csv file
|
4
|
+
data = pd.read_csv("../_data/chriterias.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
|
5
|
+
|
6
|
+
# Set the titles column to a list
|
7
|
+
titles = data.values.tolist()
|
8
|
+
|
9
|
+
# Loop through each name, create .md file, set contents to string
|
10
|
+
for title in titles:
|
11
|
+
fname = str(title[3])
|
12
|
+
file_name = f'{fname}.md'
|
13
|
+
ttl = str(title[0])
|
14
|
+
|
15
|
+
with open(file_name, 'w', encoding="utf-8") as f:
|
16
|
+
f.write(f'---\ntitle: {ttl}\n---')
|
17
|
+
f.close()
|
18
|
+
print(f'{file_name} saved')
|
@@ -0,0 +1 @@
|
|
1
|
+
,febres,febres,26.02.2022 20:51,file:///home/febres/.config/libreoffice/4;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
title,publisher,city,edition,1edition,download,library,genre,cover,excerpt,url,repository,repurl,rep2,author,author-nationality,author-born,author-death,author2,author2-nationality,author2-born,author2-death,author3,author3-nationality,author3-born,author3-death
|
2
|
+
Altazor,Compañía Iberoamericana de Publicaciones,Madrid,1931,1931,https://ia800703.us.archive.org/30/items/huidobro-altazor/huidobro-altazor.pdf,http://www.worldcat.org/oclc/3271136, ,Vicente_Huidobro_Altazor_Morel.jpg,"Nací a los treinta y tres años, el día de la muerte de Cristo; nací en el Equinoccio, bajo las hortensias y los aeroplanos del calor.
|
3
|
+
Tenía yo un profundo mirar de pichón, de túnel y de automóvil sentimental. Lanzaba suspiros de acróbata.
|
4
|
+
Mi padre era ciego y sus manos eran más admirables que la noche.
|
5
|
+
Amo la noche, sombrero de todos los días.
|
6
|
+
La noche, la noche del día, del día al día siguiente.
|
7
|
+
Mi madre hablaba como la aurora y como los dirigibles que van a caer. Tenía cabellos color de bandera y ojos llenos de navíos lejanos.
|
8
|
+
Una tarde, cogí mi paracaídas y dije: «Entre una estrella y dos golondrinas.» He aquí la muerte que se acerca como la tierra al globo que cae. ",altazor-huidobro,Archivo Rialta,https://archive.org/details/@archivo_rialta,Archivo Rialta,Vicente Huidobro,chilena, ,,Vicente Huidobro,Chile, ,,Vicente Huidobro,Chile, ,
|
9
|
+
Cuentos,Fundación Biblioteca Ayacucho,Caracas,2004,1981,https://ia800705.us.archive.org/4/items/CuentosQuirogaHoracio/Cuentos%20-%20Quiroga%2C%20Horacio.pdf,http://www.worldcat.org/oclc/803310868, ,Horacio_Quiroga_Cuentos_Morel.jpg,"Alicia fue extinguiéndose en su delirio de anemia, agravado de tarde, pero que remitía siempre en las primeras horas. Durante el día no avanzaba su enfermedad, pero cada mañana amanecía lívida, en síncope casi. Parecía que únicamente de noche se le fuera la vida en nuevas olas de sangre. Tenía siempre al despertar la sensación de estar desplomada en la cama con un millón de kilos encima. Desde el tercer día este hundimiento no la abandonó más.",cuentos-quiroga,Consejo Latinoamericano de Ciencias Sociales,https://www.clacso.org.ar/biblioteca_ayacucho/,,Horacio Quiroga,uruguaya, ,,Horacio Quiroga,Uruguay, ,,Horacio Quiroga,Uruguay, ,
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
|
3
|
+
# Create a dataFrame from csv file
|
4
|
+
data = pd.read_csv("../_data/chriterias.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
|
5
|
+
|
6
|
+
# Set the titles column to a list
|
7
|
+
titles = data.values.tolist()
|
8
|
+
|
9
|
+
# Loop through each name, create .md file, set contents to string
|
10
|
+
for title in titles:
|
11
|
+
fname = str(title[3])
|
12
|
+
file_name = f'{fname}.md'
|
13
|
+
ttl = str(title[0])
|
14
|
+
|
15
|
+
with open(file_name, 'w', encoding="utf-8") as f:
|
16
|
+
f.write(f'---\ntitle: {ttl}\n---')
|
17
|
+
f.close()
|
18
|
+
print(f'{file_name} saved')
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import pandas as pd
|
2
|
+
|
3
|
+
# Create a dataFrame from csv file
|
4
|
+
data = pd.read_csv("../_data/chriterias.csv", sep=',', engine ='python', encoding="utf-8").fillna('')
|
5
|
+
|
6
|
+
# Set the titles column to a list
|
7
|
+
titles = data.values.tolist()
|
8
|
+
|
9
|
+
# Loop through each name, create .md file, set contents to string
|
10
|
+
for title in titles:
|
11
|
+
fname = str(title[3])
|
12
|
+
file_name = f'{fname}.md'
|
13
|
+
ttl = str(title[0])
|
14
|
+
|
15
|
+
with open(file_name, 'w', encoding="utf-8") as f:
|
16
|
+
f.write(f'---\ntitle: {ttl}\n---')
|
17
|
+
f.close()
|
18
|
+
print(f'{file_name} saved')
|
data/assets/css/main.css
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morel-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- febr3s
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -34,6 +34,10 @@ files:
|
|
34
34
|
- LICENSE.txt
|
35
35
|
- README.md
|
36
36
|
- _config.yml
|
37
|
+
- _includes/actions-h.html
|
38
|
+
- _includes/actions-v.html
|
39
|
+
- _includes/book-list-metadata.html
|
40
|
+
- _includes/book-metadata.html
|
37
41
|
- _includes/book-sample.html
|
38
42
|
- _includes/chriteria.html
|
39
43
|
- _includes/default.html
|
@@ -43,7 +47,6 @@ files:
|
|
43
47
|
- _includes/lista-relacionadas-ciudad.html
|
44
48
|
- _includes/lista-relacionadas-editorial.html
|
45
49
|
- _includes/lista-relacionadas-libro.html
|
46
|
-
- _includes/lista-relacionadas-periodo.html
|
47
50
|
- _includes/lista-relacionadas-repositorio.html
|
48
51
|
- _includes/lista-todas-sample.html
|
49
52
|
- _includes/lista-todas.html
|
@@ -74,12 +77,23 @@ files:
|
|
74
77
|
- _layouts/post.html
|
75
78
|
- _layouts/publisher.html
|
76
79
|
- _layouts/repository.html
|
80
|
+
- assets/---copy-content-to-main-folder---/_authors/csv-to-md.py
|
81
|
+
- assets/---copy-content-to-main-folder---/_authors/horacio-quiroga.md
|
82
|
+
- assets/---copy-content-to-main-folder---/_authors/vicente-huidobro.md
|
83
|
+
- assets/---copy-content-to-main-folder---/_books/altazor-vicente-huidobro-1931.md
|
84
|
+
- assets/---copy-content-to-main-folder---/_books/csv-to-md.py
|
85
|
+
- assets/---copy-content-to-main-folder---/_books/cuentos-horacio-quiroga-2004.md
|
77
86
|
- assets/---copy-content-to-main-folder---/_chriterias/author.md
|
78
87
|
- assets/---copy-content-to-main-folder---/_chriterias/city.md
|
79
88
|
- assets/---copy-content-to-main-folder---/_chriterias/edition.md
|
80
89
|
- assets/---copy-content-to-main-folder---/_chriterias/publisher.md
|
81
90
|
- assets/---copy-content-to-main-folder---/_chriterias/repository.md
|
91
|
+
- assets/---copy-content-to-main-folder---/_cities/csv-to-md.py
|
92
|
+
- assets/---copy-content-to-main-folder---/_data/.~lock.books.csv#
|
93
|
+
- assets/---copy-content-to-main-folder---/_data/books.csv
|
82
94
|
- assets/---copy-content-to-main-folder---/_data/chriterias.csv
|
95
|
+
- assets/---copy-content-to-main-folder---/_publishers/csv-to-md.py
|
96
|
+
- assets/---copy-content-to-main-folder---/_repositories/csv-to-md.py
|
83
97
|
- assets/---copy-content-to-main-folder---/about.md
|
84
98
|
- assets/---copy-content-to-main-folder---/agregar.md
|
85
99
|
- assets/---copy-content-to-main-folder---/blog.md
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<!--lista 1 -->
|
2
|
-
<div class="row obras">
|
3
|
-
<h2 class="index">Obras del período {{ page.title }} en {{ site.title }}</h2>
|
4
|
-
</div>
|
5
|
-
<div class="row">
|
6
|
-
<!--LOOP DE LISTA 1-->
|
7
|
-
{% for book in site.books %}
|
8
|
-
{% if book.periodo == page.title %}
|
9
|
-
<div class="basis">
|
10
|
-
<div class="container">
|
11
|
-
<a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
|
12
|
-
<div class="overlay">
|
13
|
-
<div class="text">
|
14
|
-
<p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
|
15
|
-
<hr class=".overlay-text-inside">
|
16
|
-
<a href="{{ BASE_PATH }}{{ book.url }}">
|
17
|
-
<i class="fa fa-eye see-and-download morel"></i>
|
18
|
-
</a>
|
19
|
-
<i class="fa fa-download clear"></i>
|
20
|
-
<a href="{{ book.descarga }}">
|
21
|
-
<i class="fa fa-download see-and-download morel"></i>
|
22
|
-
</a>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
<div class="price">
|
27
|
-
<div class="title">{{ book.title }}<br></div>
|
28
|
-
<div class="autor">{{ book.author }}{% if book.author2 %}, {{ book.author2 }}{% endif %}{% if book.author3 %}, {{ book.author3 }}{% endif %}</div>
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
{% endif %}
|
32
|
-
{% endfor %}
|
33
|
-
|
34
|
-
</div>
|