minima-scholar 2.5.0 → 2.5.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 +4 -4
- data/README.md +12 -0
- data/_layouts/biblio.html +0 -2
- data/_layouts/members.html +1 -1
- data/_layouts/page.html +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3396daf90eb9c88e164cab29156a5649fc45d908376c0120134bccdd7cbfa1f6
|
|
4
|
+
data.tar.gz: de26c7a42d7a8049eff45b6eeb4e5b073fe7f77881ef2a2f9a231a798ccbdd01
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b557ff8b2323093b923c406b78a44dc3e6dfae73c0ee0897ba22042e86f8ffa217c0f1546aa73ff234b2dcc8ffee2b325e2cd67e51673c75532518b07b9e1d72
|
|
7
|
+
data.tar.gz: 577716006144cc129c1cab8914933f38364220e407ed1dff13c294a0ce3d0646cfd0bf74abd846b1558ce99027ace3502d1b866a93ec7241edc7baff85b6f8b7
|
data/README.md
CHANGED
|
@@ -72,6 +72,18 @@ Refers to files within the `_layouts` directory, that define the markup for your
|
|
|
72
72
|
[ORCID](https://orcid.org) profiles and to their CV (or whatever
|
|
73
73
|
personal website they might have). It reads data from the `_team`
|
|
74
74
|
collection that is compliant with the schema.org specification.
|
|
75
|
+
- `page.html` — This standard Minima layout has been extended with
|
|
76
|
+
the addition of Author and Date fields, which will render only when
|
|
77
|
+
the corresponding front matter information is available. The Author
|
|
78
|
+
front matter is expected to be structured as follows:
|
|
79
|
+
|
|
80
|
+
```yaml
|
|
81
|
+
author:
|
|
82
|
+
- name: "First Author"
|
|
83
|
+
affiliation: "University 1"
|
|
84
|
+
- name: "Second Author"
|
|
85
|
+
affiliation: "Another School"
|
|
86
|
+
```
|
|
75
87
|
|
|
76
88
|
### Includes
|
|
77
89
|
|
data/_layouts/biblio.html
CHANGED
data/_layouts/members.html
CHANGED
data/_layouts/page.html
CHANGED
|
@@ -7,6 +7,19 @@ layout: default
|
|
|
7
7
|
<h1 class="post-title">{{ page.title | escape }}</h1>
|
|
8
8
|
</header>
|
|
9
9
|
|
|
10
|
+
{% if page.author %}
|
|
11
|
+
<dl>
|
|
12
|
+
{% for author in page.author %}
|
|
13
|
+
<dt class="author">{{ author.name | escape }}</dt>
|
|
14
|
+
<dd class="author">{{ author.affiliation }}</dd>
|
|
15
|
+
{% endfor %}
|
|
16
|
+
</dl>
|
|
17
|
+
{% endif %}
|
|
18
|
+
|
|
19
|
+
{% if page.date %}
|
|
20
|
+
<p class="date">{{ page.date | date: "%e %B %Y" }}</p>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
10
23
|
<div class="post-content">
|
|
11
24
|
{{ content }}
|
|
12
25
|
</div>
|