morel-theme 0.1.0 → 0.1.1

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: 8aa7d31d98dc27bca92b1ba9336c0a7bd65a8093747faba38c074169d78354c5
4
- data.tar.gz: 87dab8351605f4e4639a276fbe5671a3d5635bec7bc672d381d4faf3e7a04967
3
+ metadata.gz: 4ea2a9f510742261cff401d5453ac75a81170b5c61f624b89f65d6ac6e287bc7
4
+ data.tar.gz: 9e62a735e61478df15b23e20de7c9bc7bd15cddacd304dc4c2c512f25b33362d
5
5
  SHA512:
6
- metadata.gz: 100fc139e97a96bcc779fc8b5065b93d9f0e6c1eb37efec5d7f13d7933cb4b43ed0fe46c59237595c34f0b521253f54e53816c000aec200debc64e57181fa8f5
7
- data.tar.gz: 413b098d712dcbac61d93c30454430320d425541bc9372d03ee07f734269b2663ab3859ab50f721abcd486841f403ba893c696f8379be1e4ea316ae71fd0f349
6
+ metadata.gz: f635ef0d0cc109db6fa116772617fd92db430d7a70119e62239cfe8774a398863e5066056109faf8cecdc76ccea42e461ccd95cdf325cd10cd27433f73c1a833
7
+ data.tar.gz: d66a293872c3997cc54206324c674be081d2491166276a2b62515b094859857b90b34e5fe1b066f2d441aaf9bbe171053b977a090fe63714ed5a229e53b68256
data/_config.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  url:
2
2
  baseurl:
3
3
  title: MOREL
4
+ description: obras latinoamericanas de dominio público
4
5
  permalink: /:categories/:year/:month/:day/:title:output_ext
5
6
  BASE_PATH :
6
7
  img: logo.png
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  <div class="portada" style="">
27
27
  <div class="img-frame">
28
- <a href="{{ book.descarga }}" target="_blank" download><img src="{{ BASE_PATH }}/img/{{ book.img }}" class="responsive" alt="Viaje a las regiones equinocciales del Nuevo Continente II | Alejandro de Humboldt"></a>
28
+ <a href="{{ book.descarga }}" target="_blank" download><img src="{{ BASE_PATH }}/assets/img/{{ book.img }}" class="responsive" alt="Viaje a las regiones equinocciales del Nuevo Continente II | Alejandro de Humboldt"></a>
29
29
  <div class="actions-h">
30
30
  <!-- AddToAny BEGIN -->
31
31
  <a class="morel" href="{{ book.descarga }}" target="_blank" download><i class="fa fa-file-pdf-o"></i></a>
@@ -4,7 +4,7 @@
4
4
  {% for chriteria in site.chriterias %}
5
5
  <div class="basis">
6
6
  <div class="container">
7
- <img src="{{ BASE_PATH }}/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria"></a>
7
+ <img src="{{ BASE_PATH }}/assets/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria"></a>
8
8
  <div>
9
9
  <div class="text">
10
10
  <p class="overlay-text-inside">{{ chriteria.title }}</p>
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" href="{{ BASE_PATH }}/css/main.css">
10
10
  </head>
11
11
 
12
- <body style="background: url('{{ BASE_PATH }}/img/tema/{{ site.background }}');">
12
+ <body style="background: url('{{ BASE_PATH }}/assets/img/tema/{{ site.background }}');">
13
13
  <script>0</script>
14
14
  {% include nav-bar.html %}
15
15
 
@@ -1,6 +1,6 @@
1
1
  <footer class="default-footer text-center">
2
2
  <div class="container">
3
- <img class="mb-40 footer-logo" src="{{ BASE_PATH }}/img/tema/{{ site.img }}" alt="">
3
+ <img class="mb-40 footer-logo" src="{{ BASE_PATH }}/assets/img/tema/{{ site.img }}" alt="">
4
4
  <span class="copy-right dis-blk" style="color:var(--color-3)">Desarrollado por <a class="morel" href="https://www.facebook.com/eduardorfebres">@febr3s</a></span>
5
5
  <span class="social">
6
6
 
@@ -5,7 +5,7 @@
5
5
  {% for book in books %}
6
6
  <div class="basis">
7
7
  <div class="container">
8
- <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ BASE_PATH }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
8
+ <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ 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>
@@ -30,7 +30,7 @@
30
30
  <!-- MÁS OBRAS -->
31
31
  <div class="basis masobras">
32
32
  <div class="container">
33
- <label for="listas"><img src="{{ BASE_PATH }}/img/tema/+obras.png" class="image sombra"></label>
33
+ <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
34
34
  <div>
35
35
  <a href="obras"><div class="text"><label class="button" for="lista-obras">+&nbsp;OBRAS</label></div></a>
36
36
  </div>
@@ -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 }}/img/tema/{{ site.img }}" alt="MOREL" class="logo-img"></a>
5
+ <a href="{{ BASE_PATH }}/index.html"><img src="{{ BASE_PATH }}/assets/img/tema/{{ site.img }}" alt="MOREL" class="logo-img"></a>
6
6
 
7
7
  </div>
8
8
 
@@ -0,0 +1,17 @@
1
+ <div class="row">
2
+
3
+ {% for author in site.authors %}
4
+ <div class="basis obras-ciudad">
5
+ <div class="container">
6
+ <h2><a class="morel" href="{{ site.baseurl }}{{ author.url }}">{{ author.title }}</a></h2>
7
+ </div>
8
+ {% for book in site.books %}
9
+ {% if book.author == author.title or book.author2 == author.title or book.author3 == author.title %}
10
+ <div class="price">
11
+ <div class="title"><h4><a href="{{ BASE_PATH }}{{ book.url }}">{{book.title}}</a></h4></div>
12
+ </div>
13
+ {% endif %}
14
+ {% endfor %}
15
+ </div>
16
+ {% endfor %}
17
+ </div>
@@ -0,0 +1,17 @@
1
+ <div class="row">
2
+
3
+ {% for ciudad in site.cities %}
4
+ <div class="basis obras-ciudad">
5
+ <div class="container">
6
+ <h2><a class="morel" href="{{ site.baseurl }}{{ ciudad.url }}">{{ ciudad.title }}</a></h2>
7
+ </div>
8
+ {% for book in site.books %}
9
+ {% if book.ciudad == ciudad.title %}
10
+ <div class="price">
11
+ <div class="title"><h4><a href="{{ BASE_PATH }}{{ book.url }}">{{book.title}}</a></h4></div>
12
+ </div>
13
+ {% endif %}
14
+ {% endfor %}
15
+ </div>
16
+ {% endfor %}
17
+ </div>
@@ -0,0 +1,17 @@
1
+ <div class="row">
2
+
3
+ {% for publisher in site.publishers %}
4
+ <div class="basis obras-ciudad">
5
+ <div class="container">
6
+ <h2><a class="morel" href="{{ BASE_PATH }}{{ publisher.url }}">{{ publisher.title }}</a></h2>
7
+ </div>
8
+ {% for book in site.books %}
9
+ {% if book.editorial == publisher.title %}
10
+ <div class="price">
11
+ <div class="title"><h4><a href="{{ BASE_PATH }}{{ book.url }}">{{book.title}}</a></h4></div>
12
+ </div>
13
+ {% endif %}
14
+ {% endfor %}
15
+ </div>
16
+ {% endfor %}
17
+ </div>
@@ -0,0 +1,17 @@
1
+ <div class="row">
2
+
3
+ {% for repository in site.repositories %}
4
+ <div class="basis obras-ciudad">
5
+ <div class="container">
6
+ <h2><a class="morel" href="{{ BASE_PATH }}{{ repository.url }}">{{ repository.title }}</a></h2>
7
+ </div>
8
+ {% for book in site.books %}
9
+ {% if book.repositorio == repository.title %}
10
+ <div class="price">
11
+ <div class="title"><h4><a href="{{ BASE_PATH }}{{ book.url }}">{{book.title}}</a></h4></div>
12
+ </div>
13
+ {% endif %}
14
+ {% endfor %}
15
+ </div>
16
+ {% endfor %}
17
+ </div>
@@ -13,7 +13,7 @@
13
13
  </div>
14
14
  <div class="avatar" style="">
15
15
  <div class="img-frame">
16
- <img src="{{ BASE_PATH }}/img/tema/{{ site.author.image }}" class="responsive">
16
+ <img src="{{ BASE_PATH }}/assets/img/tema/{{ site.author.image }}" class="responsive">
17
17
  </div>
18
18
  </div>
19
19
  <div class="actions-v">
@@ -5,7 +5,7 @@
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 }}/img/{{ book.img }}" alt="{{ book.title }}" class="image sombra"></a>
8
+ <a href="{{ BASE_PATH }}{{ book.url }}"><img src="{{ 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>
@@ -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 }}/img/tema/+obras.png" class="image sombra"></label>
34
+ <label for="listas"><img src="{{ BASE_PATH }}/assets/img/tema/+obras.png" class="image sombra"></label>
35
35
  <div>
36
36
  <a href="obras" class="morel"><div class="text"><label class="button" for="lista-obras">+&nbsp;OBRAS</label></div></a>
37
37
  </div>
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {% assign items_grouped = site.books | group_by: page.criterio | sort: 'name' %}
6
+ {% for group in items_grouped %}
7
+ <h3>{{group.name}}</h3>
8
+ {% for item in group.items %}
9
+ <a href="{{ item.url }}" title=""><p>{{item.title}}</p></a>
10
+ {% endfor %}
11
+ {% endfor %}
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <title>{{ page.title }} | {{ site.title }}</title>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
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 }}/assets/css/main.css">
10
+ </head>
11
+
12
+ <body style="background: url('{{ BASE_PATH }}/assets/img/tema/{{ site.background }}');">
13
+ <script>0</script>
14
+ {% include nav-bar.html %}
15
+
16
+ {{ content }}
17
+
18
+ </body>
19
+ </html>
data/_layouts/index.html CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <h1 class="index">{{ page.tagline }}</h1>
4
+ <h1 class="index">{{ site.description }}</h1>
5
5
 
6
6
  <!--Búsqueda-->
7
7
  <a href="search"><div class="search-index"><i class="fa fa-search" aria-hidden="true" class="search-index"></i></div></a>
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1 class="index criterios-city">obras en {{ site.title }} por {{ page.title }}</h1>
5
+ <p class="criterios-city" {% if page.layout == busquedas %} style="visibility: hidden;" {% endif %}>Pon el cursor sobre {% if page.title == repositorio %}el {% else %}la {% endif %}{{ page.title }} para previsualizar las obras disponibles. Haz click para explorarlas y descargarlas.</p>
6
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {% include lista-relacionadas-periodo.html %}
data/_layouts/post.html CHANGED
@@ -1,5 +1,42 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {{ content }}
1
+ ---
2
+ layout: default-blog
3
+ ---
4
+ <div id="particles-js"></div>
5
+ <div class="main-container post-container">
6
+ <!--Obra del día-->
7
+ <div class="obra-dia">
8
+ <div class="post-cover" style="">
9
+ <div class="ficha-title">
10
+ <h1>
11
+ {{ page.title }}
12
+ </h1>
13
+ </div>
14
+ </div>
15
+ <div class="workarround">
16
+
17
+ </div>
18
+ <div class="ficha-container sombra-solida blog" style="">
19
+ <div class="ficha-extract">
20
+ {% if page.img %}
21
+ <div style="text-align: center;padding:6rem 0px 2.5rem 0px;">
22
+ <img src="{{ BASE_PATH }}assets/img/{{ page.img }}" style="height: 60vh;width: auto;max-width: 100%;" class="responsive" alt="">
23
+ </div>
24
+ {% endif %}
25
+ <div class="blog-post">
26
+ {{ content }}
27
+
28
+ </div>
29
+ </div>
30
+
31
+ <div class="ficha-metadata">
32
+ {% if page.author != "MOREL" %} Escrito por <span class="metadata-input">{{ page.author }}</span> // El <span class="metadata-input">{{ page.date | date_to_string }}</span> en <span class="metadata-input">{{ ciudad }}</span>// Clasificado en <span class="metadata-input">morel</span>, <span class="metadata-input">metadatos latinoamericanos</span>, <span class="metadata-input">repositorios</span>.{% endif %}
33
+ </div>
34
+
35
+
36
+ </div>
37
+
38
+
39
+ </div>
40
+ </div>
41
+ <script src="{{BASE_PATH}}/assets/js/particles.js"></script>
42
+ <script src="{{BASE_PATH}}/assets/js/app.js"></script>
Binary file
Binary file
Binary file
Binary file
Binary file
data/assets/js/app.js ADDED
@@ -0,0 +1,133 @@
1
+ /* -----------------------------------------------
2
+ /* How to use? : Check the GitHub README
3
+ /* ----------------------------------------------- */
4
+
5
+ /* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */
6
+ /*
7
+ particlesJS.load('particles-js', 'particles.json', function() {
8
+ console.log('particles.js loaded - callback');
9
+ });
10
+ */
11
+
12
+ /* Otherwise just put the config content (json): */
13
+
14
+ particlesJS('particles-js',
15
+
16
+ {
17
+ "particles": {
18
+ "number": {
19
+ "value": 80,
20
+ "density": {
21
+ "enable": true,
22
+ "value_area": 800
23
+ }
24
+ },
25
+ "color": {
26
+ "value": "#ffffff"
27
+ },
28
+ "shape": {
29
+ "type": ["image","image2","image3","image4","image5","image6"],
30
+ "stroke": {
31
+ "width": 0,
32
+ "color": "#000000"
33
+ },
34
+ "polygon": {
35
+ "nb_sides": 5
36
+ },
37
+ "image": {
38
+ "src": "/assets/img/tema/r.png",
39
+ "width": 100,
40
+ "height": 100
41
+ }
42
+ },
43
+ "opacity": {
44
+ "value": 0.5,
45
+ "random": false,
46
+ "anim": {
47
+ "enable": false,
48
+ "speed": 1,
49
+ "opacity_min": 0.1,
50
+ "sync": false
51
+ }
52
+ },
53
+ "size": {
54
+ "value": 5,
55
+ "random": true,
56
+ "anim": {
57
+ "enable": false,
58
+ "speed": 40,
59
+ "size_min": 0.1,
60
+ "sync": false
61
+ }
62
+ },
63
+ "line_linked": {
64
+ "enable": true,
65
+ "distance": 150,
66
+ "color": "#2a3425",
67
+ "opacity": 0.4,
68
+ "width": 1
69
+ },
70
+ "move": {
71
+ "enable": true,
72
+ "speed": 6,
73
+ "direction": "none",
74
+ "random": false,
75
+ "straight": false,
76
+ "out_mode": "out",
77
+ "attract": {
78
+ "enable": false,
79
+ "rotateX": 600,
80
+ "rotateY": 1200
81
+ }
82
+ }
83
+ },
84
+ "interactivity": {
85
+ "detect_on": "canvas",
86
+ "events": {
87
+ "onhover": {
88
+ "enable": true,
89
+ "mode": "repulse"
90
+ },
91
+ "onclick": {
92
+ "enable": true,
93
+ "mode": "push"
94
+ },
95
+ "resize": true
96
+ },
97
+ "modes": {
98
+ "grab": {
99
+ "distance": 400,
100
+ "line_linked": {
101
+ "opacity": 1
102
+ }
103
+ },
104
+ "bubble": {
105
+ "distance": 400,
106
+ "size": 40,
107
+ "duration": 2,
108
+ "opacity": 8,
109
+ "speed": 3
110
+ },
111
+ "repulse": {
112
+ "distance": 200
113
+ },
114
+ "push": {
115
+ "particles_nb": 4
116
+ },
117
+ "remove": {
118
+ "particles_nb": 2
119
+ }
120
+ }
121
+ },
122
+ "retina_detect": true,
123
+ "config_demo": {
124
+ "hide_card": false,
125
+ "background_color": "#b61924",
126
+ "background_image": "",
127
+ "background_position": "50% 50%",
128
+ "background_repeat": "no-repeat",
129
+ "background_size": "cover"
130
+ }
131
+ }
132
+
133
+ );