morel-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8aa7d31d98dc27bca92b1ba9336c0a7bd65a8093747faba38c074169d78354c5
4
+ data.tar.gz: 87dab8351605f4e4639a276fbe5671a3d5635bec7bc672d381d4faf3e7a04967
5
+ SHA512:
6
+ metadata.gz: 100fc139e97a96bcc779fc8b5065b93d9f0e6c1eb37efec5d7f13d7933cb4b43ed0fe46c59237595c34f0b521253f54e53816c000aec200debc64e57181fa8f5
7
+ data.tar.gz: 413b098d712dcbac61d93c30454430320d425541bc9372d03ee07f734269b2663ab3859ab50f721abcd486841f403ba893c696f8379be1e4ea316ae71fd0f349
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 febr3s
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # morel-theme
2
+
3
+ Theme for the archive-site generator MOREL.
4
+
5
+
6
+ ## Installation
7
+
8
+ Add this line to your Jekyll site's `Gemfile`:
9
+
10
+ ```ruby
11
+ gem "morel-theme"
12
+ ```
13
+
14
+ And add this line to your Jekyll site's `_config.yml`:
15
+
16
+ ```yaml
17
+ theme: morel-theme
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install morel-theme
27
+
28
+ ## Usage
29
+
30
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
31
+
32
+ ## Contributing
33
+
34
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
35
+
36
+ ## Development
37
+
38
+ To set up your environment to develop this theme, run `bundle install`.
39
+
40
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
41
+
42
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
43
+ To add a custom directory to your theme-gem, please edit the regexp in `morel-theme.gemspec` accordingly.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
48
+
data/_config.yml ADDED
@@ -0,0 +1,55 @@
1
+ url:
2
+ baseurl:
3
+ title: MOREL
4
+ permalink: /:categories/:year/:month/:day/:title:output_ext
5
+ BASE_PATH :
6
+ img: logo.png
7
+ post_limit:
8
+ background: trama.png
9
+
10
+ author :
11
+ name : MOREL
12
+ site: https://morel.la
13
+ description : Metadatos de Obras para Repositorios Electrónicos Latinoamericanos impulsa la creación de archivos digitales de libre acceso.
14
+ image : avatar.png
15
+ email : proyectomorel@gmail.com
16
+ github :
17
+ twitter :
18
+ instagram: morelrep
19
+
20
+
21
+ #Collections
22
+ collections:
23
+ cities:
24
+ output: true
25
+ permalink: /ciudades/:name
26
+ books:
27
+ output: true
28
+ permalink: /obras/:name
29
+ authors:
30
+ output: true
31
+ permalink: /autoras/:name
32
+ publishers:
33
+ output: true
34
+ permalink: /imprentas-y-editoriales/:name
35
+ repositories:
36
+ output: true
37
+ permalink: /repositorios/:name
38
+ periods:
39
+ output: true
40
+ permalink: /periodos/:name
41
+ chriterias:
42
+ output: true
43
+ permalink: /criterios/:name
44
+
45
+ defaults:
46
+ - scope:
47
+ path: ""
48
+ type: "authors"
49
+ values:
50
+ layout: "author"
51
+ - scope:
52
+ path: ""
53
+ type: "posts"
54
+ values:
55
+ layout: "post"
@@ -0,0 +1,54 @@
1
+ {% assign books = site.books | sample:2 %}
2
+ {% for book in books limit:1 %}
3
+
4
+ <h1 class="book">{{ book.title }}</h1>
5
+
6
+ <div class="obra-dia sombra">
7
+ <div class="ficha-container" style="">
8
+ <div class="ficha-title">
9
+ <h2>
10
+ {{ book.title }}
11
+ <a class="morel a2a_dd" href="https://www.addtoany.com/share">
12
+ <i class="fa fa-share-alt" style="padding: 0em 0em;">
13
+ <script async src="https://static.addtoany.com/menu/page.js"></script>
14
+ </i></a><br>
15
+ </h2>
16
+ </div>
17
+ <div class="ficha-extract" style="">
18
+ <p class="morel">
19
+ {{ book.content }}
20
+ </p>
21
+ </div>
22
+ <div class="ficha-metadata">
23
+ Escrita por <!-- convertir en un include: { % include author_1 %} ---> {% for author in site.authors %}{% if author.title == book.author %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.author }}</a><!-- convertir en un include: { % include author_2 %} --->{% if book.author2 %} {% for author in site.authors %}{% if author.title == book.author2 %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %} + {{ book.author2 }}</a>{% endif %}<!-- convertir en un include: { % include author_3 %} --->{% if book.author3 %}{% for author in site.authors %}{% if author.title == book.author3 %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %} + {{ book.author3 }}</a>{% endif %} // Publicada en <!-- convertir en un include: { % include ciudad %} --->{% if book.ciudad %}{% for city in site.cities %}{% if city.title == book.ciudad %}<a href="{{ city.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.ciudad }}{% endif %}</a> por <!-- convertir en un include: { % include editorial %} ---> {% for publisher in site.publishers %}{% if publisher.title == book.editorial %}<a href="{{ publisher.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.editorial }}</a> en {{ book.edicion }}{% if book.year %} // Publicada por primera vez en {{ book.year }}{% endif %} // <!-- convertir en un include: { % include repositorio %} ---> Recuperada por {% for repository in site.repositories %}{% if repository.title == book.repositorio %}<a href="{{ repository.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.repositorio }}</a>{% if book.repositorio2 %} + {% for repository in site.repositories %}{% if repository.title == book.repositorio2 %}<a href="{{ repository.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.repositorio2 }}</a>{% endif %}
24
+ </div>
25
+ </div>
26
+ <div class="portada" style="">
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>
29
+ <div class="actions-h">
30
+ <!-- AddToAny BEGIN -->
31
+ <a class="morel" href="{{ book.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" style="padding: 1em 0em"></i></a>
34
+ {% endif %}
35
+ {% if page.biblioteca %}
36
+ <a href="{{page.biblioteca}}"><i class="fa fa-book" style="padding: 1em 0em"></i></a>
37
+ {% endif %}
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class="actions-v">
42
+ <a class="morel" href="{{ page.descarga }}" target="_blank" download>
43
+ <i class="fa fa-file-pdf-o" style="padding: 1em 0em"></i></a><br>
44
+ {% if page.epub %}
45
+ <a href="{{page.epub}}"><i class="fa-fa-tablet" style="padding: 1em 0em"></i></a>
46
+ {% endif %}
47
+ {% if page.biblioteca %}
48
+ <a href="{{page.biblioteca}}"><i class="fa fa-book" style="padding: 1em 0em"></i></a>
49
+ {% endif %}
50
+ </div>
51
+ </div>
52
+ {% endfor %}
53
+
54
+
@@ -0,0 +1,22 @@
1
+ <!--lista 1 -->
2
+ <div class="row">
3
+ <!--LOOP DE LISTA 1-->
4
+ {% for chriteria in site.chriterias %}
5
+ <div class="basis">
6
+ <div class="container">
7
+ <img src="{{ BASE_PATH }}/img/{{ chriteria.img }}" alt="{{ chriteria.title }}" class="image sombra chriteria"></a>
8
+ <div>
9
+ <div class="text">
10
+ <p class="overlay-text-inside">{{ chriteria.title }}</p>
11
+ <hr class=".overlay-text-inside">
12
+ <a href="{{ BASE_PATH }}{{ chriteria.url }}">
13
+ <i class="fa fa-eye see-and-download morel"></i>
14
+ </a>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+
20
+ {% endfor %}
21
+
22
+ </div>
@@ -0,0 +1,36 @@
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 }}/css/main.css">
10
+ </head>
11
+
12
+ <body style="background: url('{{ BASE_PATH }}/img/tema/{{ site.background }}');">
13
+ <script>0</script>
14
+ {% include nav-bar.html %}
15
+
16
+ <!--main container and title page-->
17
+ <div class="main-container">
18
+
19
+ <!-- contenido -->
20
+
21
+ {{ content }}
22
+
23
+
24
+ <!--promoción proyecto-->
25
+ {% include promotion.html %}
26
+ </div>
27
+
28
+
29
+ <!--footer-->
30
+
31
+
32
+ {% include footer.html %}
33
+ <!-- fin del footer -->
34
+
35
+ </body>
36
+ </html>
@@ -0,0 +1,11 @@
1
+ <footer class="default-footer text-center">
2
+ <div class="container">
3
+ <img class="mb-40 footer-logo" src="{{ BASE_PATH }}/img/tema/{{ site.img }}" alt="">
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
+ <span class="social">
6
+
7
+ {% include social-block.html %}
8
+
9
+ </span>
10
+ </div>
11
+ </footer>
@@ -0,0 +1,39 @@
1
+ <!--lista 1 -->
2
+ <div class="row">
3
+ <!--LOOP DE LISTA 1-->
4
+ {% assign books = site.books | sample:8 %}
5
+ {% for book in books %}
6
+ <div class="basis">
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>
9
+ <div class="overlay">
10
+ <div class="text">
11
+ <p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
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>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ <div class="price">
24
+ <div class="title">{{ book.title }}<br></div>
25
+ <div class="autor">{{ book.author }}{% if book.author2 %}, {{ book.author2 }}{% endif %}{% if book.author3 %}, {{ book.author3 }}{% endif %}</div>
26
+ </div>
27
+ </div>
28
+
29
+ {% endfor %}
30
+ <!-- MÁS OBRAS -->
31
+ <div class="basis masobras">
32
+ <div class="container">
33
+ <label for="listas"><img src="{{ BASE_PATH }}/img/tema/+obras.png" class="image sombra"></label>
34
+ <div>
35
+ <a href="obras"><div class="text"><label class="button" for="lista-obras">+&nbsp;OBRAS</label></div></a>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
@@ -0,0 +1,18 @@
1
+ <!--Nav Bar-->
2
+ <nav class="navBar">
3
+ <nav class="wrapper">
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>
6
+
7
+ </div>
8
+
9
+
10
+ <input type="checkbox" id="menu-toggle" />
11
+ <label for="menu-toggle" class="label-toggle"></label>
12
+ <ul>
13
+ <li><a href="/search"><i class="fa fa-search" aria-hidden="true"></i></a></li>
14
+ <li><a href="/agregar"><i class="fa fa-plus-circle" aria-hidden="true"></i></a></li>
15
+ <li><a href="{{ BASE_PATH }}/2022/01/05/morel.html"><i class="fa fa-question" aria-hidden="true"></i></a></li>
16
+ </ul>
17
+ </nav>
18
+ </nav>
@@ -0,0 +1,22 @@
1
+ <div class="obra-dia sombra">
2
+ <div class="ficha-container" style="">
3
+ <div class="ficha-title">
4
+ <h2>
5
+ Acerca de morel
6
+ </h2>
7
+ </div>
8
+ <div class="ficha-extract" style="">
9
+ <p>{{ site.author.description }}</p>
10
+ </div>
11
+ <div class="ficha-metadata">
12
+ </div>
13
+ </div>
14
+ <div class="avatar" style="">
15
+ <div class="img-frame">
16
+ <img src="{{ BASE_PATH }}/img/tema/{{ site.author.image }}" class="responsive">
17
+ </div>
18
+ </div>
19
+ <div class="actions-v">
20
+
21
+ </div>
22
+ </div>
@@ -0,0 +1,22 @@
1
+ <ul class="social-links">
2
+ {% if site.author.facebook %}
3
+ <li>
4
+ <a data-toggle="tooltip" title="facebook.com/morelrep" href="https://www.facebook.com/{{ site.author.facebook }}/" title="Facebook" class="fa fa-facebook"></a>
5
+ </li>
6
+ {% endif %}
7
+ {% if site.author.twitter %}
8
+ <li>
9
+ <a data-toggle="tooltip" title="@morelrep" href="https://twitter.com/{{ site.author.twitter }}" title="Twitter" class="fa fa-twitter"></a>
10
+ </li>
11
+ {% endif %}
12
+ {% if site.author.instagram %}
13
+ <li>
14
+ <a data-toggle="tooltip" title="@morelrep" href="https://instagram.com/{{ site.author.instagram }}" title="Twitter" class="fa fa-instagram"></a>
15
+ </li>
16
+ {% endif %}
17
+ {% if site.author.linkedin %}
18
+ <li>
19
+ <a data-toggle="tooltip" title="Twitter en construcción" href="https://www.linkedin.com/in/{{ site.author.linkedin }}/" title="LinkedIn" class="fa fa-linkedin"></a>
20
+ </li>
21
+ {% endif %}
22
+ </ul>
@@ -0,0 +1,40 @@
1
+ <!--lista 1 -->
2
+ <div class="row">
3
+ <!--LOOP DE LISTA 1-->
4
+ {% for book in site.books %}
5
+ {% if book.feature == true %}
6
+ <div class="basis">
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>
9
+ <div class="overlay">
10
+ <div class="text">
11
+ <p class="overlay-text-inside">Edición publicada en {{ book.ciudad }} por {{ book.editorial }} en {{ book.edicion }}</p>
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>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ <div class="price">
24
+ <div class="title">{{ book.title }}<br></div>
25
+ <div class="autor">{{ book.author }}{% if book.author2 %}, {{ book.author2 }}{% endif %}{% if book.author3 %}, {{ book.author3 }}{% endif %}</div>
26
+ </div>
27
+ </div>
28
+
29
+ {% endif %}
30
+ {% endfor %}
31
+ <!-- MÁS OBRAS -->
32
+ <div class="basis masobras">
33
+ <div class="container">
34
+ <label for="listas"><img src="{{ BASE_PATH }}/img/tema/+obras.png" class="image sombra"></label>
35
+ <div>
36
+ <a href="obras" class="morel"><div class="text"><label class="button" for="lista-obras">+&nbsp;OBRAS</label></div></a>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
@@ -0,0 +1,36 @@
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
+ <!--main container and title page-->
17
+ <div class="main-container">
18
+
19
+ <!-- contenido -->
20
+
21
+ {{ content }}
22
+
23
+
24
+ <!--promoción proyecto-->
25
+ {% include promotion.html %}
26
+ </div>
27
+
28
+
29
+ <!--footer-->
30
+
31
+
32
+ {% include footer.html %}
33
+ <!-- fin del footer -->
34
+
35
+ </body>
36
+ </html>
@@ -0,0 +1,37 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1 class="index">{{ page.tagline }}</h1>
5
+
6
+ <!--Búsqueda-->
7
+ <a href="search"><div class="search-index"><i class="fa fa-search" aria-hidden="true" class="search-index"></i></div></a>
8
+
9
+ <!--Criterios -->
10
+ <div class="row obras">
11
+ <h2 class="index">Obras por categoría</h2>
12
+ </div>
13
+
14
+ {% include chriteria.html %}
15
+
16
+
17
+ <!--Ocho al azar-->
18
+ <div class="row obras">
19
+ <h2 class="index">Ocho obras al azar</h2>
20
+ </div>
21
+ {% include lista-todas-sample.html %}
22
+
23
+
24
+ <!--Última vitrina-->
25
+ <div class="row obras">
26
+ <h2 class="index">Última vitrina</h2>
27
+ </div>
28
+ <div class="row obras">
29
+ <p class="index">Por autoras que nacieron o fallecieron en enero</p>
30
+ </div>
31
+ {% include ultima-vitrina.html %}
32
+
33
+ <!--Una al azar -->
34
+ <div class="row obras">
35
+ <h2 class="index">Tu obra de la suerte</h2>
36
+ </div>
37
+ {% include book-sample.html %}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}