morel-theme 0.2.1 → 0.2.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +2 -8
  3. data/_includes/book-list-download.html +1 -1
  4. data/_includes/book-list-no-download.html +1 -1
  5. data/_includes/book-list-seeall.html +1 -1
  6. data/_includes/book-list-seemore.html +1 -1
  7. data/_includes/book-list-translations.html +1 -1
  8. data/_includes/book-list-url-img.html +1 -1
  9. data/_includes/book-list-url-img_obra-suerte.html +1 -1
  10. data/_includes/book-list-url-page.html +1 -1
  11. data/_includes/book-metadata-index.html +4 -4
  12. data/_includes/book-metadata-noequal.html +3 -3
  13. data/_includes/book-metadata.html +3 -3
  14. data/_includes/chriteria.html +2 -2
  15. data/_includes/default.html +2 -2
  16. data/_includes/es/book-list-translations_.html +1 -1
  17. data/_includes/es/book-metadata copy.html +3 -3
  18. data/_includes/es/book-metadata-index.html +3 -3
  19. data/_includes/es/book-metadata.html +3 -3
  20. data/_includes/es/lista-relacionadas-libro.html +2 -2
  21. data/_includes/es/promotion.html +1 -1
  22. data/_includes/es/ver-mas-prom.html +1 -1
  23. data/_includes/footer.html +2 -2
  24. data/_includes/lista-relacionadas-libro.html +2 -2
  25. data/_includes/lista-todas-sample.html +2 -2
  26. data/_includes/lista-todas.html +1 -1
  27. data/_includes/nav-bar.html +3 -1
  28. data/_includes/obras-por-imprenta-y-editorial.html +2 -2
  29. data/_includes/obras-por-repositorio.html +2 -2
  30. data/_includes/promotion.html +5 -3
  31. data/_includes/site-description.html +115 -7
  32. data/_includes/ultima-vitrina.html +3 -3
  33. data/_includes/ver-mas-prom.html +1 -1
  34. data/_includes/ver-mas.html +1 -1
  35. data/_layouts/about.html +1 -1
  36. data/_layouts/agregar.html +2 -2
  37. data/_layouts/author.html +1 -1
  38. data/_layouts/books-download.html +1 -0
  39. data/_layouts/books-no-download.html +1 -0
  40. data/_layouts/books-translation.html +1 -0
  41. data/_layouts/default-blog.html +2 -2
  42. data/_layouts/default.html +2 -2
  43. data/_layouts/post.html +1 -1
  44. data/_sass/base/_typography.scss +12 -2
  45. data/_sass/pages/_blog.scss +2 -2
  46. data/assets/js/search.js +1 -1
  47. data/assets/source/_abouts/site-description.md +8 -8
  48. data/assets/source/_abouts/site-description_es.md +17 -0
  49. data/assets/source/_abouts/site-description_template.md +3 -3
  50. data/assets/source/_data/books.csv +82 -0
  51. data/assets/source/_data/chriterias.csv +7 -0
  52. data/assets/source/add.md +1 -1
  53. data/assets/source/favicon.ico +0 -0
  54. data/assets/source/search.html +2 -2
  55. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2972a5e7bdd927a875ab98c5859bd460dae4092475955899d466e4388b499ce0
4
- data.tar.gz: ba80aec26cc69088e5dd671eae4df99e674544bdedd0c1b1dee3d37fa42d2a35
3
+ metadata.gz: f8a42e562226cdba740bd3048c2a016e57c11cf5ce7d32504d28b8136144ea5e
4
+ data.tar.gz: 69f4799a974dc1ac50dd4e2ce2c12b979a51f8856f557b2a8985a495ceaa03a6
5
5
  SHA512:
6
- metadata.gz: 1219b6c47697f2f8d2f937d4ecf0c8b51755eaa3092e49a791938f31683c91f9b8af72af891c8e9a681420faba9fba9e50875eba7d9ae9851bcfffffc48baf15
7
- data.tar.gz: 4c8e705d1b038ae4462092d325c574dff6bcd6f2a0cfc33ea72efed98748eee18679fd397822472128f005cd75a41e61845f9d724f604c5aecf84c3807d136a4
6
+ metadata.gz: 6ff3a82b3bf98aff7a310db272f8583600bfea5e33283758f090ca5b180879063c565ca56b5553f5dda73b2f258cacf828ab4e9a2c050dfc2b1f3c7def954195
7
+ data.tar.gz: 2dcd1e3240689b80d485c842c75030182ded4fcb2410cb571bcedf0a568c63dfbdef8f6fbbdab22b423f56305cc4361c6a49110892bec1e0156bcb9fa414f353
data/_config.yml CHANGED
@@ -8,15 +8,9 @@ github :
8
8
  twitter :
9
9
  instagram:
10
10
  # theme: morel-theme
11
+ jotform: https://form.jotform.com/211904785426056
12
+ podcast: false
11
13
 
12
- template :
13
- name : MOREL
14
- site: https://morel.la
15
- image : avatar.png
16
- email : proyectomorel@gmail.com
17
- github :
18
- twitter :
19
- instagram:
20
14
 
21
15
  # Do not edit bellow unless you are an advanced user
22
16
 
@@ -13,7 +13,7 @@
13
13
  {% endfor %}
14
14
  <div class="basis masobras">
15
15
  <div class="container">
16
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
16
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
17
17
  <div>
18
18
  {% assign target = "downloads" %}
19
19
  {% include ver-mas.html %}
@@ -13,7 +13,7 @@
13
13
  {% endfor %}
14
14
  <div class="basis masobras">
15
15
  <div class="container">
16
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
16
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
17
17
  <div>
18
18
  {% assign target = "no-downloads" %}
19
19
  {% include ver-mas.html %}
@@ -1,6 +1,6 @@
1
1
  <div class="basis masobras">
2
2
  <div class="container">
3
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
3
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
4
4
  <div>
5
5
  <a href="books"><div class="text"><label class="button" for="lista-obras">&nbsp;VER ∀</label></div></a>
6
6
  </div>
@@ -1,6 +1,6 @@
1
1
  <div class="basis masobras">
2
2
  <div class="container">
3
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
3
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
4
4
  <div>
5
5
  {% include ver-mas.html %}
6
6
  </div>
@@ -7,7 +7,7 @@
7
7
  {% endfor %}
8
8
  <div class="basis masobras">
9
9
  <div class="container">
10
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
10
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
11
11
  <div>
12
12
  {% assign target = "translations" %}
13
13
  {% include ver-mas.html %}
@@ -4,5 +4,5 @@
4
4
  {% assign title_raw = book.Title | remove: "=" | remove: ":" | split: ' ' %}
5
5
 
6
6
  {% capture img-url %}
7
- {{BASE_PATH}}/assets/img/{{ title_raw[0] | slugify:"latin" }}{% if title_raw[1] %}-{{ title_raw[1] | slugify:"latin" }}{% endif %}{% if title_raw[2] %}-{{ title_raw[2] | slugify:"latin" }}{% endif %}{% if title_raw[3] %}-{{ title_raw[3] | slugify:"latin" }}{% endif %}-{{ author | slugify:"latin"}}-{{ book.Date }}.jpg
7
+ {{site.BASE_PATH}}/assets/img/{{ title_raw[0] | slugify:"latin" }}{% if title_raw[1] %}-{{ title_raw[1] | slugify:"latin" }}{% endif %}{% if title_raw[2] %}-{{ title_raw[2] | slugify:"latin" }}{% endif %}{% if title_raw[3] %}-{{ title_raw[3] | slugify:"latin" }}{% endif %}-{{ author | slugify:"latin"}}-{{ book.Date }}.jpg
8
8
  {% endcapture %}
@@ -4,5 +4,5 @@
4
4
  {% assign title_raw = book.Title | remove: "=" | remove: ":" | split: ' ' %}
5
5
 
6
6
  {% capture img-url %}
7
- {{BASE_PATH}}/assets/img/{{ title_raw[0] | slugify:"latin" }}{% if title_raw[1] %}-{{ title_raw[1] | slugify:"latin" }}{% endif %}{% if title_raw[2] %}-{{ title_raw[2] | slugify:"latin" }}{% endif %}{% if title_raw[3] %}-{{ title_raw[3] | slugify:"latin" }}{% endif %}-{{ author | slugify:"latin"}}-{{ book.Date }}.jpg
7
+ {{site.BASE_PATH}}/assets/img/{{ title_raw[0] | slugify:"latin" }}{% if title_raw[1] %}-{{ title_raw[1] | slugify:"latin" }}{% endif %}{% if title_raw[2] %}-{{ title_raw[2] | slugify:"latin" }}{% endif %}{% if title_raw[3] %}-{{ title_raw[3] | slugify:"latin" }}{% endif %}-{{ author | slugify:"latin"}}-{{ book.Date }}.jpg
8
8
  {% endcapture %}
@@ -3,4 +3,4 @@
3
3
  {% assign author_alone = author_array[0] %}
4
4
  {% assign title_raw = book.Title | remove: "=" | remove: ":" | split: ' ' %}
5
5
 
6
- {{BASE_PATH}}/books/{{ title_raw[0] | slugify:"latin" }}{% if title_raw[1] %}-{{ title_raw[1] | slugify:"latin" }}{% endif %}{% if title_raw[2] %}-{{ title_raw[2] | slugify:"latin" }}{% endif %}{% if title_raw[3] %}-{{ title_raw[3] | slugify:"latin" }}{% endif %}-{{ author_alone | slugify:"latin"}}-{{ book.Date }}
6
+ {{site.BASE_PATH}}/books/{{ title_raw[0] | slugify:"latin" }}{% if title_raw[1] %}-{{ title_raw[1] | slugify:"latin" }}{% endif %}{% if title_raw[2] %}-{{ title_raw[2] | slugify:"latin" }}{% endif %}{% if title_raw[3] %}-{{ title_raw[3] | slugify:"latin" }}{% endif %}-{{ author_alone | slugify:"latin"}}-{{ book.Date }}
@@ -5,13 +5,13 @@
5
5
  Written by
6
6
  {% for author_raw in authors_all | limit: 3 %}
7
7
  {% assign author_firstlast = author_raw | split: ', ' %}
8
- <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
8
+ <a href="{{site.BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
9
9
  {% unless forloop.last == true %} + {% endunless %}
10
10
  {% endfor %}
11
11
  //
12
- Published in <a href="{{BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> by <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
13
- in {{ book.Date }}{% if book.Edition == book.Date %}. First edtition{% else if book.Edition != "" and book.Edition != nil %} // First published in {{ book.Edition }}{% endif %} {% if book.Archive != "" and book.Archive != nil %}//
14
- Retrieved by <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
12
+ Published in <a href="{{site.BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> by <a href="{{site.BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
13
+ in {{ book.Date }}{% if book.Edition == book.Date %}. First edtition{% elsif book.Edition != "" and book.Edition != nil %} // First published in {{ book.Edition }}{% endif %} {% if book.Archive != "" and book.Archive != nil %}//
14
+ Retrieved by <a href="{{site.BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
15
15
  {% endif %}
16
16
  {% endfor %}
17
17
 
@@ -5,13 +5,13 @@
5
5
  Escrita por
6
6
  {% for author_raw in authors_all | limit: 3 %}
7
7
  {% assign author_firstlast = author_raw | split: ', ' %}
8
- <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
8
+ <a href="{{site.BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
9
9
  {% unless forloop.last == true %} + {% endunless %}
10
10
  {% endfor %}
11
11
  //
12
- Publicada en <a href="{{BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
12
+ Publicada en <a href="{{site.BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{site.BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
13
13
  en {{ book.Date }}{% if book.Edition %} // Publicada por primera vez en {{ book.Edition }}{% endif %} {% if book.Archive %}//
14
- Recuperada por <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
14
+ Recuperada por <a href="{{site.BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
15
15
  {% endif %}
16
16
  {% endfor %}
17
17
 
@@ -4,13 +4,13 @@
4
4
  Written by
5
5
  {% for author_raw in authors_all | limit: 3 %}
6
6
  {% assign author_firstlast = author_raw | split: ', ' %}
7
- <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
7
+ <a href="{{site.BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
8
8
  {% unless forloop.last == true %} + {% endunless %}
9
9
  {% endfor %}
10
10
  //
11
- Published in <a href="{{BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> by <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
11
+ Published in <a href="{{site.BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> by <a href="{{site.BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
12
12
  in {{ book.Date }}{% if book.Edition == book.Date %}. First edition{% elsif book.Edition != "" and book.Edition != nil %} // First published in {{ book.Edition }}{% endif %}{% if book.Archive != "" and book.Archive != nil %}//
13
- Retrieved by <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
13
+ Retrieved by <a href="{{site.BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
14
14
  {% endif %}
15
15
  {% endfor %}
16
16
 
@@ -4,9 +4,9 @@
4
4
  {% for chriteria in site.data.chriterias %}
5
5
  <div class="basis">
6
6
  <div class="container">
7
- <a href="{{ BASE_PATH }}/chriteria/{{ chriteria.filename }}"><img src="{{ BASE_PATH }}/assets/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria">
7
+ <a href="{{ site.BASE_PATH }}/chriteria/{{ chriteria.filename }}"><img src="{{ site.BASE_PATH }}/assets/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria">
8
8
  <div></a>
9
- <a href="{{ BASE_PATH }}/chriteria/{{ chriteria.filename }}"><div class="text">
9
+ <a href="{{ site.BASE_PATH }}/chriteria/{{ chriteria.filename }}"><div class="text">
10
10
  <p class="overlay-text-inside">{{ chriteria.title }}</p>
11
11
  <hr class=".overlay-text-inside">
12
12
  <i class="fa fa-eye see-and-download morel"></i>
@@ -6,10 +6,10 @@
6
6
  <title>{{ page.title }} | {{ site.title }}</title>
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1">
8
8
  <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
9
- <link rel="stylesheet" href="{{ BASE_PATH }}/css/main.css">
9
+ <link rel="stylesheet" href="{{ site.BASE_PATH }}/css/main.css">
10
10
  </head>
11
11
 
12
- <body style="background: url('{{ BASE_PATH }}/assets/img/tema/{{ site.background }}');">
12
+ <body style="background: url('{{ site.BASE_PATH }}/assets/img/tema/{{ site.background }}');">
13
13
  <script>0</script>
14
14
  {% include nav-bar.html %}
15
15
 
@@ -7,7 +7,7 @@
7
7
  {% endfor %}
8
8
  <div class="basis masobras">
9
9
  <div class="container">
10
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
10
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
11
11
  <div>
12
12
  {% include ver-mas.html %}
13
13
  </div>
@@ -5,13 +5,13 @@
5
5
  Escrita por
6
6
  {% for author_raw in authors_all | limit: 3 %}
7
7
  {% assign author_firstlast = author_raw | split: ', ' %}
8
- <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
8
+ <a href="{{site.BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
9
9
  {% unless forloop.last == true %} + {% endunless %}
10
10
  {% endfor %}
11
11
  //
12
- Publicada en <a href="{{BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
12
+ Publicada en <a href="{{site.BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{site.BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
13
13
  en {{ book.Date }}{% if book.Edition == book.Date %}. Primera edición{% else if book.Edition != "" and book.Edition != nil %} // Publicada por primera vez en {{ book.Edition }}{% endif %}{% if book.Archive != "" and book.Archive != nil %}//
14
- Recuperada por <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
14
+ Recuperada por <a href="{{site.BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
15
15
  {% endif %}
16
16
  {% endfor %}
17
17
 
@@ -5,13 +5,13 @@
5
5
  Escrita por
6
6
  {% for author_raw in authors_all | limit: 3 %}
7
7
  {% assign author_firstlast = author_raw | split: ', ' %}
8
- <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
8
+ <a href="{{site.BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
9
9
  {% unless forloop.last == true %} + {% endunless %}
10
10
  {% endfor %}
11
11
  //
12
- Publicada en <a href="{{BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
12
+ Publicada en <a href="{{site.BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{site.BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
13
13
  en {{ book.Date }}{% if book.Edition == book.Date %}. Primera edición{% else if book.Edition != "" and book.Edition != nil %} // Publicada por primera vez en {{ book.Edition }}{% endif %} {% if book.Archive != "" and book.Archive != nil %}//
14
- Recuperada por <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
14
+ Recuperada por <a href="{{site.BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
15
15
  {% endif %}
16
16
  {% endfor %}
17
17
 
@@ -5,13 +5,13 @@
5
5
  Escrita por
6
6
  {% for author_raw in authors_all | limit: 3 %}
7
7
  {% assign author_firstlast = author_raw | split: ', ' %}
8
- <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
8
+ <a href="{{site.BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a>
9
9
  {% unless forloop.last == true %} + {% endunless %}
10
10
  {% endfor %}
11
11
  //
12
- Publicada en <a href="{{BASE_PATH}}/cities/{{ book.Place | 'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
12
+ Publicada en <a href="{{site.BASE_PATH}}/cities/{{ book.Place | 'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> por <a href="{{site.BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a>
13
13
  en {{ book.Date }}{% if book.Edition == book.Date %}. Primera edición{% else if book.Edition != "" and book.Edition != nil %} // Publicada por primera vez en {{ book.Edition }}{% endif %}{% if book.Archive != "" and book.Archive != nil %}//
14
- Recuperada por <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
14
+ Recuperada por <a href="{{site.BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %}
15
15
  {% endif %}
16
16
  {% endfor %}
17
17
 
@@ -8,7 +8,7 @@
8
8
  {% if book.author == page.author %}
9
9
  <div class="basis">
10
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>
11
+ <a href="{{ site.BASE_PATH }}{{ book.url }}"><img src="{{ site.BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
12
12
  <div class="overlay">
13
13
  <div class="text">
14
14
  {% include book-list-metadata.html %}
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  {% elsif book.author2 == page.author %}
24
24
  <div class="container">
25
- <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
25
+ <a href="{{ site.BASE_PATH }}{{ book.url }}"><img src="{{ site.BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
26
26
  <div class="overlay">
27
27
  <div class="text">
28
28
  {% include book-list-metadata.html %}
@@ -19,7 +19,7 @@
19
19
  </div>
20
20
  <div class="avatar" style="">
21
21
  <div class="img-frame">
22
- <img src="{{ BASE_PATH }}/assets/img/tema/{{ site.image }}" class="responsive">
22
+ <img src="{{ site.BASE_PATH }}/assets/img/tema/{{ site.image }}" class="responsive">
23
23
  </div>
24
24
  </div>
25
25
  <div class="actions-v">
@@ -1 +1 @@
1
- <div class="promotion"><a href="{{ BASE_PATH }}/about"><label class="button promotion" for="lista-obras">&nbsp;VER +</label></a></div>
1
+ <div class="promotion"><a href="{{ site.BASE_PATH }}/about"><label class="button promotion" for="lista-obras">&nbsp;VER +</label></a></div>
@@ -1,7 +1,7 @@
1
1
  <footer class="default-footer text-center">
2
2
  <div class="container">
3
- <img class="mb-40 footer-logo" src="{{ BASE_PATH }}/assets/img/tema/{{ site.img }}" alt="">
4
- <span class="copy-right dis-blk" style="color:var(--color-3)">Developed with <a class="morel" href="https://morel.la">MOREL</a></span>
3
+ <img class="mb-40 footer-logo" src="{{ site.BASE_PATH }}/assets/img/tema/{{ site.img }}" alt="">
4
+ <span class="copy-right dis-blk" style="color:var(--color-3)">Built with <a class="morel" href="https://febr3s.github.io/morel-site-generator">MOREL</a></span>
5
5
  <span class="social">
6
6
 
7
7
  {% include social-block.html %}
@@ -8,7 +8,7 @@
8
8
  {% if book.author == page.author %}
9
9
  <div class="basis">
10
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>
11
+ <a href="{{ site.BASE_PATH }}{{ book.url }}"><img src="{{ site.BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
12
12
  <div class="overlay">
13
13
  <div class="text">
14
14
  {% include book-list-metadata.html %}
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  {% elsif book.author2 == page.author %}
24
24
  <div class="container">
25
- <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
25
+ <a href="{{ site.BASE_PATH }}{{ book.url }}"><img src="{{ site.BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
26
26
  <div class="overlay">
27
27
  <div class="text">
28
28
  {% include book-list-metadata.html %}
@@ -5,7 +5,7 @@
5
5
  {% for book in books %}
6
6
  <div class="basis">
7
7
  <div class="container">
8
- <img src="{{ BASE_PATH }}/assets/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra">
8
+ <img src="{{ site.BASE_PATH }}/assets/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra">
9
9
  <div class="overlay">
10
10
  <div class="text">
11
11
  {% include book-list-metadata.html %}
@@ -22,7 +22,7 @@
22
22
  <!-- MÁS OBRAS -->
23
23
  <div class="basis masobras">
24
24
  <div class="container">
25
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
25
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
26
26
  <div>
27
27
  <a href="books"><div class="text"><label class="button" for="lista-obras">+&nbsp;OBRAS</label></div></a>
28
28
  </div>
@@ -4,7 +4,7 @@
4
4
  {% for book in site.books %}
5
5
  <div class="basis">
6
6
  <div class="container">
7
- <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
7
+ <a href="{{ site.BASE_PATH }}{{ book.url }}"><img src="{{ site.BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
8
8
  <div class="overlay">
9
9
  <div class="text">
10
10
  {% include book-list-metadata.html %}
@@ -2,7 +2,7 @@
2
2
  <nav class="navBar">
3
3
  <nav class="wrapper">
4
4
  <div class="logo" >
5
- <a href="{{ BASE_PATH }}/index.html"><img src="{{ BASE_PATH }}/assets/img/tema/{{ site.img }}" alt="MOREL" class="logo-img"></a>
5
+ <a href="{{ site.BASE_PATH }}/index.html"><img src="{{ site.BASE_PATH }}/assets/img/tema/{{ site.img }}" alt="MOREL" class="logo-img"></a>
6
6
 
7
7
  </div>
8
8
 
@@ -13,7 +13,9 @@
13
13
  <li><a href="/search"><i class="fa fa-search" aria-hidden="true"></i></a></li>
14
14
  <li><a href="/add"><i class="fa fa-plus-circle" aria-hidden="true"></i></a></li>
15
15
  <li><a href="/about"><i class="fa fa-question" aria-hidden="true"></i></a></li>
16
+ {% if site.podcast %}
16
17
  <li><a href="/podcast"><i class="fa fa-podcast"></i></a></li>
18
+ {% endif %}
17
19
  </ul>
18
20
  </nav>
19
21
  </nav>
@@ -8,12 +8,12 @@
8
8
  {% if site_publishers contains publisher.title %}
9
9
  <div class="basis obras-ciudad">
10
10
  <div class="container">
11
- <h2><a class="morel" href="{{ BASE_PATH }}{{ publisher.url }}">{{ publisher.title }}</a></h2>
11
+ <h2><a class="morel" href="{{ site.BASE_PATH }}{{ publisher.url }}">{{ publisher.title }}</a></h2>
12
12
  </div>
13
13
  {% for book in site.data.books %}
14
14
  {% if book.Publisher == publisher.title %}
15
15
  <div class="price">
16
- <div class="title"><h4><a href="{{ BASE_PATH }}{{ book.url }}">{{book.Title}}</a></h4></div>
16
+ <div class="title"><h4><a href="{{ site.BASE_PATH }}{{ book.url }}">{{book.Title}}</a></h4></div>
17
17
  </div>
18
18
  {% endif %}
19
19
  {% endfor %}
@@ -7,12 +7,12 @@
7
7
  {% if site_repositories contains repository.title %}
8
8
  <div class="basis obras-ciudad">
9
9
  <div class="container">
10
- <h2><a class="morel" href="{{ BASE_PATH }}{{ repository.url }}">{{ repository.title }}</a></h2>
10
+ <h2><a class="morel" href="{{ site.BASE_PATH }}{{ repository.url }}">{{ repository.title }}</a></h2>
11
11
  </div>
12
12
  {% for book in site.data.books %}
13
13
  {% if book.Archive == repository.title %}
14
14
  <div class="price">
15
- <div class="title"><h4><a href="{{ BASE_PATH }}{{ book.url }}">{{book.Title}}</a></h4></div>
15
+ <div class="title"><h4><a href="{{ site.BASE_PATH }}{{ book.url }}">{{book.Title}}</a></h4></div>
16
16
  </div>
17
17
  {% endif %}
18
18
  {% endfor %}
@@ -6,10 +6,12 @@
6
6
  </h2>
7
7
  </div>
8
8
  <div class="ficha-extract" style="">
9
- {% for about in site.abouts | where: "title", "description" %}
10
- {% if about.lang == "en" %}
9
+ {% for about in site.abouts %}
10
+ {% if about.title == "description" %}
11
+ {% if about.lang == "en" %%}
11
12
  {{ about.excerpt }}
12
13
  {% endif %}
14
+ {% endif %}
13
15
  {% endfor %}
14
16
  {% include ver-mas-prom.html %}
15
17
  </div>
@@ -18,7 +20,7 @@
18
20
  </div>
19
21
  <div class="avatar" style="">
20
22
  <div class="img-frame">
21
- <img src="{{ BASE_PATH }}/assets/img/tema/{{ site.image }}" class="responsive">
23
+ <img src="{{ site.BASE_PATH }}/assets/img/tema/{{ site.image }}" class="responsive">
22
24
  </div>
23
25
  </div>
24
26
  <div class="actions-v">
@@ -1,12 +1,120 @@
1
- <p>MOREL is a resource for readers, writers, publishers, students and teachers interested in Afro-American and Latin American culture in general, and Afro-Latin American culture in particular. It gathers book covers, excerpts, bibliographic clues and digital downloads of works by black Latin American authors in original language and in translation.
2
- <!-- more --></p>
1
+ <p>MOREL generates web sites from bibliographic collections. The MOREL sites gather book covers, excerpts, bibliographic clues, metadata and digital downloads from works stored in the Zotero reference manager.</p>
3
2
 
4
- <p>The collection is organized by dynamic lists, which group the works according to common characteristics (<a href="/criteria/author">authors</a>, <a href="/criteria/city">city of publication</a>, <a href="/criteria/publisher">imprint or publisher</a>, <a href="/criteria/nationality">nationality of authors</a>, <a href="/criteria/edition">edition date</a> and <a href="/criteria/repository">digital repository</a>). But it also has a <a href="/search">search engine</a> that allows you to find works directly.</p>
3
+ <!-- more -->
5
4
 
6
- <p>Today there are approximately 90 books available on MOREL, organized by 118 authors, 87 presses and publishers, and 31 repositories. In addition, 31 more works are in progress.</p>
5
+ <p>Works are organized by dynamic lists, which automatically group the works according to common characteristics:</p>
7
6
 
8
- <p>MOREL is a scalable platform. And as the amount of metadata being stored grows, and new functionalities are developed, it will allow to know relevant data about this literary corpus.</p>
7
+ <ul>
8
+ <li><a href="/criteria/author">authors</a></li>
9
+ <li><a href="/criteria/city">city of publication</a></li>
10
+ <li><a href="/criteria/publisher">imprint or publisher</a></li>
11
+ <li><a href="/criteria/nationality">nationality of authors</a></li>
12
+ <li><a href="/criteria/edition">edition date</a></li>
13
+ <li><a href="/criteria/repository">digital repository</a>.</li>
14
+ </ul>
9
15
 
10
- <p>In this first stage, the archive has been partially fed by the compilations of Mark Sanders, Paulette Ramsay, Antonio D Tillis, Keenan Norris, Idelfonso Pereda Valdés and Emilio Vallagas. But the archive is open for users and beneficiaries of the platform to <a href="/add">add new content</a>.</p>
16
+ <p>MOREL also has a <a href="/search">search engine</a> that allows you to find works directly.</p>
17
+
18
+ <h1 id="installation-instructions">Installation Instructions</h1>
19
+
20
+ <h2 id="prerequisites">Prerequisites</h2>
21
+
22
+ <ul>
23
+ <li>
24
+ <p><strong>Zotero</strong>: Install Zotero reference management software from the <a href="https://www.zotero.org/">official website</a> and create collections to organize your content.</p>
25
+ </li>
26
+ <li>
27
+ <p><strong>Python</strong>: Install Python programming language from the <a href="https://www.python.org/">official Python website</a> based on your operating system. Ensure you have Python version 3.x installed.</p>
28
+ </li>
29
+ <li>
30
+ <p><strong>Jekyll</strong>: Install Jekyll, a static site generator, using your preferred method:</p>
31
+ <ul>
32
+ <li>For macOS or Linux, open a terminal and run the following command:
33
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>gem <span class="nb">install </span>bundler jekyll
34
+ </code></pre></div> </div>
35
+ </li>
36
+ <li>For Windows, follow the installation guide provided on the <a href="https://jekyllrb.com/docs/installation/windows/">Jekyll website</a>.</li>
37
+ </ul>
38
+ </li>
39
+ </ul>
40
+
41
+ <h2 id="installation-steps">Installation Steps</h2>
42
+
43
+ <ol>
44
+ <li>
45
+ <p><strong>Download the Web Site Generator</strong></p>
46
+
47
+ <ul>
48
+ <li>Visit the GitHub repository for the web site generator at <a href="https://github.com/example/repository">https://github.com/example/repository</a>.</li>
49
+ <li>Click on the “Download” button or clone the repository using the following command:
50
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>git clone https://github.com/example/repository.git
51
+ </code></pre></div> </div>
52
+ </li>
53
+ </ul>
54
+ </li>
55
+ <li>
56
+ <p><strong>Configure Jekyll</strong></p>
57
+
58
+ <ul>
59
+ <li>Open a terminal and navigate to the downloaded repository’s directory:
60
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span><span class="nb">cd</span> /path/to/repository
61
+ </code></pre></div> </div>
62
+ </li>
63
+ <li>Install the necessary dependencies by running:
64
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bundle <span class="nb">install</span>
65
+ </code></pre></div> </div>
66
+ </li>
67
+ <li>Customize the Jekyll configuration file (<code class="language-plaintext highlighter-rouge">_config.yml</code>) to match your preferences and set up necessary plugins or themes.</li>
68
+ </ul>
69
+ </li>
70
+ <li>
71
+ <p><strong>Run Python Scripts</strong></p>
72
+
73
+ <ul>
74
+ <li>Ensure that you have Python installed and accessible from the command line.</li>
75
+ <li>Navigate to the <code class="language-plaintext highlighter-rouge">scripts</code> directory within the downloaded repository:
76
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span><span class="nb">cd</span> /path/to/repository/scripts
77
+ </code></pre></div> </div>
78
+ </li>
79
+ <li>Execute the Python script(s) provided in the repository to extract data from your Zotero collections. For example:
80
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>python extract_data.py
81
+ </code></pre></div> </div>
82
+ </li>
83
+ <li>Follow any prompts or instructions provided by the script(s).</li>
84
+ </ul>
85
+ </li>
86
+ <li>
87
+ <p><strong>Generate the Website</strong></p>
88
+
89
+ <ul>
90
+ <li>Return to the main directory of the downloaded repository:
91
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span><span class="nb">cd</span> /path/to/repository
92
+ </code></pre></div> </div>
93
+ </li>
94
+ <li>Build the website using Jekyll by running the following command:
95
+ <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bundle <span class="nb">exec </span>jekyll build
96
+ </code></pre></div> </div>
97
+ </li>
98
+ <li>Once the build process completes, the generated website will be available in the <code class="language-plaintext highlighter-rouge">_site</code> directory.</li>
99
+ </ul>
100
+ </li>
101
+ <li>
102
+ <p><strong>Deployment</strong></p>
103
+
104
+ <ul>
105
+ <li>Deploy the generated website to your desired web server or hosting platform by following their respective instructions.</li>
106
+ </ul>
107
+ </li>
108
+ </ol>
109
+
110
+ <h2 id="about-page-for-your-site">“About” page for your site</h2>
111
+
112
+ <p>If you aren’t using MOREL yet, go to the <a href="#install">installation instructions</a> bellow. If you installed MOREL already, these are your last steps to have it ready to run:</p>
113
+
114
+ <ul>
115
+ <li>Delete the file <code class="language-plaintext highlighter-rouge">_abouts/site-description.md</code></li>
116
+ <li>Edit <code class="language-plaintext highlighter-rouge">site-description_template</code>. Note that <code class="language-plaintext highlighter-rouge">site-description-template.md</code> has the current description for one of the sites built with MOREL: Afro-Latin American Writers in Translation (ALAWiT). Edit to your site’s needs. But that there are dynamic fields, such as “MOREL” and “90”. We recommend you to keep them in your edition, so your site description is automatically updated as your collection grows.</li>
117
+ <li>Rename the file to <code class="language-plaintext highlighter-rouge">site description.md</code></li>
118
+ <li>Run Jekyll build if you are using a local server, or wait for Github to deploy</li>
119
+ </ul>
11
120
 
12
- <p>If you have a work or translation in mind that is not part of this archive, please <a href="/add">suggest its incorporation</a>!</p>
@@ -5,12 +5,12 @@
5
5
  {% if book.feature == true %}
6
6
  <div class="basis">
7
7
  <div class="container">
8
- <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/assets/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
8
+ <a href="{{ site.BASE_PATH }}{{ book.url }}"><img src="{{ site.BASE_PATH }}/assets/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
9
9
  <div class="overlay">
10
10
  <div class="text">
11
11
  <p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
12
12
  <hr class=".overlay-text-inside">
13
- <a href="{{ BASE_PATH }}{{ book.url }}">
13
+ <a href="{{ site.BASE_PATH }}{{ book.url }}">
14
14
  <i class="fa fa-eye see-and-download morel"></i>
15
15
  </a>
16
16
  <i class="fa fa-download clear"></i>
@@ -31,7 +31,7 @@
31
31
  <!-- MÁS OBRAS -->
32
32
  <div class="basis masobras">
33
33
  <div class="container">
34
- <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
34
+ <label for="listas"><img src="{{ site.BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
35
35
  <div>
36
36
  <a href="books" class="morel"><div class="text"><label class="button" for="lista-obras">+&nbsp;OBRAS</label></div></a>
37
37
  </div>