morel-theme 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +1 -2
- data/assets/source/_abouts/site-description.md +88 -6
- data/assets/source/_abouts/site-description_template.md +16 -0
- data/assets/source/_config.yml +2 -2
- data/assets/source/about.md +0 -1
- data/assets/source/assets/python-env.zip +0 -0
- data/assets/source/books.md +1 -1
- data/assets/source/downloads.md +1 -1
- data/assets/source/no-downloads.md +1 -1
- data/assets/unpack-and-copy-content-to-main-folder.zip +0 -0
- metadata +2 -2
- data/assets/source/_abouts/site-description_es.md +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2972a5e7bdd927a875ab98c5859bd460dae4092475955899d466e4388b499ce0
|
4
|
+
data.tar.gz: ba80aec26cc69088e5dd671eae4df99e674544bdedd0c1b1dee3d37fa42d2a35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1219b6c47697f2f8d2f937d4ecf0c8b51755eaa3092e49a791938f31683c91f9b8af72af891c8e9a681420faba9fba9e50875eba7d9ae9851bcfffffc48baf15
|
7
|
+
data.tar.gz: 4c8e705d1b038ae4462092d325c574dff6bcd6f2a0cfc33ea72efed98748eee18679fd397822472128f005cd75a41e61845f9d724f604c5aecf84c3807d136a4
|
data/_config.yml
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
title: MOREL # Write here the name of your site
|
2
2
|
tagline: Mobile Open Resilient Electronic Libraries # Write here the description of your site
|
3
|
-
description: 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.
|
4
3
|
img: logo.png # Substitute the file with a copy of your site's logo on /assets/img/tema
|
5
4
|
background: trama.png # Substitute the file with a copy of your site's pattern on /assets/img/tema
|
6
5
|
image : avatar.png
|
@@ -8,7 +7,7 @@ email : proyectomorel@gmail.com
|
|
8
7
|
github :
|
9
8
|
twitter :
|
10
9
|
instagram:
|
11
|
-
# theme: morel-theme
|
10
|
+
# theme: morel-theme
|
12
11
|
|
13
12
|
template :
|
14
13
|
name : MOREL
|
@@ -2,15 +2,97 @@
|
|
2
2
|
title: description
|
3
3
|
lang: en
|
4
4
|
---
|
5
|
-
|
5
|
+
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.
|
6
|
+
|
6
7
|
<!-- more -->
|
7
8
|
|
8
|
-
|
9
|
+
Works are organized by dynamic lists, which automatically group the works according to common characteristics:
|
10
|
+
|
11
|
+
- [authors]({{BASE_PATH}}/criteria/author)
|
12
|
+
- [city of publication]({{BASE_PATH}}/criteria/city)
|
13
|
+
- [imprint or publisher]({{BASE_PATH}}/criteria/publisher)
|
14
|
+
- [nationality of authors]({{BASE_PATH}}/criteria/nationality)
|
15
|
+
- [edition date]({{BASE_PATH}}/criteria/edition)
|
16
|
+
- [digital repository]({{BASE_PATH}}/criteria/repository).
|
17
|
+
|
18
|
+
MOREL also has a [search engine]({{BASE_PATH}}/search) that allows you to find works directly.
|
19
|
+
|
20
|
+
# Installation Instructions
|
21
|
+
|
22
|
+
## Prerequisites
|
23
|
+
|
24
|
+
- **Zotero**: Install Zotero reference management software from the [official website](https://www.zotero.org/) and create collections to organize your content.
|
25
|
+
|
26
|
+
- **Python**: Install Python programming language from the [official Python website](https://www.python.org/) based on your operating system. Ensure you have Python version 3.x installed.
|
27
|
+
|
28
|
+
- **Jekyll**: Install Jekyll, a static site generator, using your preferred method:
|
29
|
+
- For macOS or Linux, open a terminal and run the following command:
|
30
|
+
```bash
|
31
|
+
$ gem install bundler jekyll
|
32
|
+
```
|
33
|
+
- For Windows, follow the installation guide provided on the [Jekyll website](https://jekyllrb.com/docs/installation/windows/).
|
34
|
+
|
35
|
+
## Installation Steps
|
36
|
+
|
37
|
+
1. **Download the Web Site Generator**
|
38
|
+
|
39
|
+
- Visit the GitHub repository for the web site generator at [https://github.com/example/repository](https://github.com/example/repository).
|
40
|
+
- Click on the "Download" button or clone the repository using the following command:
|
41
|
+
```bash
|
42
|
+
$ git clone https://github.com/example/repository.git
|
43
|
+
```
|
44
|
+
|
45
|
+
2. **Configure Jekyll**
|
46
|
+
|
47
|
+
- Open a terminal and navigate to the downloaded repository's directory:
|
48
|
+
```bash
|
49
|
+
$ cd /path/to/repository
|
50
|
+
```
|
51
|
+
- Install the necessary dependencies by running:
|
52
|
+
```bash
|
53
|
+
$ bundle install
|
54
|
+
```
|
55
|
+
- Customize the Jekyll configuration file (`_config.yml`) to match your preferences and set up necessary plugins or themes.
|
56
|
+
|
57
|
+
3. **Run Python Scripts**
|
58
|
+
|
59
|
+
- Ensure that you have Python installed and accessible from the command line.
|
60
|
+
- Navigate to the `scripts` directory within the downloaded repository:
|
61
|
+
```bash
|
62
|
+
$ cd /path/to/repository/scripts
|
63
|
+
```
|
64
|
+
- Execute the Python script(s) provided in the repository to extract data from your Zotero collections. For example:
|
65
|
+
```bash
|
66
|
+
$ python extract_data.py
|
67
|
+
```
|
68
|
+
- Follow any prompts or instructions provided by the script(s).
|
69
|
+
|
70
|
+
4. **Generate the Website**
|
71
|
+
|
72
|
+
- Return to the main directory of the downloaded repository:
|
73
|
+
```bash
|
74
|
+
$ cd /path/to/repository
|
75
|
+
```
|
76
|
+
- Build the website using Jekyll by running the following command:
|
77
|
+
```bash
|
78
|
+
$ bundle exec jekyll build
|
79
|
+
```
|
80
|
+
- Once the build process completes, the generated website will be available in the `_site` directory.
|
81
|
+
|
82
|
+
5. **Deployment**
|
83
|
+
|
84
|
+
- Deploy the generated website to your desired web server or hosting platform by following their respective instructions.
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
## "About" page for your site
|
89
|
+
|
90
|
+
If you aren't using MOREL yet, go to the [installation instructions](#install) bellow. If you installed MOREL already, these are your last steps to have it ready to run:
|
9
91
|
|
10
|
-
|
92
|
+
- Delete the file `_abouts/site-description.md`
|
93
|
+
- Edit `site-description_template`. Note that `site-description-template.md` 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 "{{ site.title }}" and "{{ site.books.size }}". We recommend you to keep them in your edition, so your site description is automatically updated as your collection grows.
|
94
|
+
- Rename the file to `site description.md`
|
95
|
+
- Run Jekyll build if you are using a local server, or wait for Github to deploy
|
11
96
|
|
12
|
-
{{ site.title }} 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.
|
13
97
|
|
14
|
-
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 [add new content]({{BASE_PATH}}/add).
|
15
98
|
|
16
|
-
If you have a work or translation in mind that is not part of this archive, please [suggest its incorporation]({{BASE_PATH}}/add)!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
title: description
|
3
|
+
lang: en
|
4
|
+
---
|
5
|
+
{{site.title}} 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.
|
6
|
+
<!-- more -->
|
7
|
+
|
8
|
+
The collection is organized by dynamic lists, which group the works according to common characteristics ([authors]({{BASE_PATH}}/criteria/author), [city of publication]({{BASE_PATH}}/criteria/city), [imprint or publisher]({{BASE_PATH}}/criteria/publisher), [nationality of authors]({{BASE_PATH}}/criteria/nationality), [edition date]({{BASE_PATH}}/criteria/edition) and [digital repository]({{BASE_PATH}}/criteria/repository)). But it also has a [search engine]({{BASE_PATH}}/search) that allows you to find works directly.
|
9
|
+
|
10
|
+
Today there are approximately {{ site.books.size }} books available on {{ site.title }}, organized by {{ site.authors.size }} authors, {{ site.publishers.size }} presses and publishers, and {{ site.repositories.size }} repositories. In addition, 31 more works are in progress.
|
11
|
+
|
12
|
+
{{ site.title }} 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.
|
13
|
+
|
14
|
+
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 [add new content]({{BASE_PATH}}/add).
|
15
|
+
|
16
|
+
If you have a work or translation in mind that is not part of this archive, please [suggest its incorporation]({{BASE_PATH}}/add)!
|
data/assets/source/_config.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
title: MOREL # Write here the name of your site
|
2
|
-
|
2
|
+
tagline: Mobile Open Resilient Electronic Libraries # Write here the description of your site
|
3
3
|
img: logo.png # Substitute the file with a copy of your site's logo on /assets/img/tema
|
4
4
|
background: trama.png # Substitute the file with a copy of your site's pattern on /assets/img/tema
|
5
5
|
image : avatar.png
|
@@ -7,7 +7,7 @@ email : proyectomorel@gmail.com
|
|
7
7
|
github :
|
8
8
|
twitter :
|
9
9
|
instagram:
|
10
|
-
|
10
|
+
# theme: morel-theme
|
11
11
|
|
12
12
|
template :
|
13
13
|
name : MOREL
|
data/assets/source/about.md
CHANGED
Binary file
|
data/assets/source/books.md
CHANGED
data/assets/source/downloads.md
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morel-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- febr3s
|
@@ -302,7 +302,7 @@ files:
|
|
302
302
|
- assets/js/particles.js
|
303
303
|
- assets/js/search.js
|
304
304
|
- assets/source/_abouts/site-description.md
|
305
|
-
- assets/source/_abouts/site-
|
305
|
+
- assets/source/_abouts/site-description_template.md
|
306
306
|
- assets/source/_authors/abraham-hall-nancy.md
|
307
307
|
- assets/source/_authors/abudu-gabriel.md
|
308
308
|
- assets/source/_authors/adress-guzman-alexandra.md
|
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: description
|
3
|
-
lang: es
|
4
|
-
---
|
5
|
-
{{site.title}} es un recurso para lectores, escritores, editores, estudiantes y profesores interesades en la cultura afroamericana y latinoamericana en general, y afrolatinoamericana en particular. Reúne portadas, fragmentos, pistas bibliotecarias y descargas digitales de obras de autores negres latinoamericanes en lengua original y traducidas.
|
6
|
-
<!-- more -->
|
7
|
-
|
8
|
-
La colección se organiza por listas dinámicas, que agrupan las obras de acuerdo a características en común ([autores]({{BASE_PATH}}/criterios/author), [ciudad de edición]({{BASE_PATH}}/criterios/city), [imprenta o editorial]({{BASE_PATH}}/criterios/publisher), [nacionalidad de autores]({{BASE_PATH}}/criterios/nationality), [fecha de edición]({{BASE_PATH}}/criterios/edition) y [repositorio digital]({{BASE_PATH}}/criterios/repository)). Pero también cuenta con un [buscador]({{BASE_PATH}}/search) que permite encontrar obras directamente.
|
9
|
-
|
10
|
-
Hoy hay aproximadamente {{ site.books.size }} libros disponibles en {{ site.title }}, organizados en {{ site.authors.size }} autores, {{ site.publishers.size }} imprentas y editoriales, y {{ site.repositories.size }} repositorios. Además, 31 obras más se encuentran en proceso.
|
11
|
-
|
12
|
-
{{ site.title }} es una plataforma escalable. Y en la medida que crezca la cantidad de metadatos que se están almacenando, y se desarrollen nuevas funcionalidades, permitirá conocer datos relevantes sobre este corpus literario.
|
13
|
-
|
14
|
-
En esta primera etapa, el archivo se ha alimentado parcialmente de las compilaciones de Mark Sanders, Paulette Ramsay, Antonio D Tillis, Keenan Norris, Idelfonso Pereda Valdés y Emilio Vallagas. Pero el archivo se encuentra abierto para que usuaries y beneficiaries de la plataforma [incorporen nuevos contenidos]({{BASE_PATH}}/agregar).
|
15
|
-
|
16
|
-
¿Tienes alguna obra o traducción en mente que no forma parte de este archivo? ¡Anímate a [sugerir su inorporación]({{BASE_PATH}}/agregar)!
|
17
|
-
|