minima-scholar 2.5.1 → 2.5.3
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/_includes/biblio.html +135 -0
- data/_includes/team.html +55 -0
- data/_layouts/biblio.html +3 -106
- data/_layouts/home.html +0 -5
- data/_layouts/organization.html +100 -0
- data/_layouts/person.html +98 -0
- data/_layouts/team.html +41 -0
- data/_sass/scholar.scss +31 -0
- metadata +9 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2d443265681ec449a9d8b2960e3bfd897c4879d692f523a87126d7fb7998695
|
|
4
|
+
data.tar.gz: 71dfd564cef3ac6943e3a25e9dfa175b6523b44b82b9364ad2988de25c2d78c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0508087252e8e289609da683c91239ba27bc675b563186243b15eb2b38834d3ed7a12706214965f39cac9c1fadbb5cc37494c815cfdd74ee901480fbdb8fc01b'
|
|
7
|
+
data.tar.gz: b6e3e9aeb2105add91ce945db3c33aa88a2e09d98c62a67788aa52a023424ed74866762c5c804f2a743a11db4cf227785b7f7358a656e8ff03f62a92e72a899c
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
{%- if page.collection == "organization" -%}
|
|
2
|
+
{%- if site.data.publish[page.identifier] -%}
|
|
3
|
+
{%- assign biblio = site.data.publish[page.identifier].references | sort: "id" -%}
|
|
4
|
+
{%- endif -%}
|
|
5
|
+
{%- elsif page.collection == "person" -%}
|
|
6
|
+
{%- assign biblio = site.data.biblio.references | sort: "id" -%}
|
|
7
|
+
{%- else -%}
|
|
8
|
+
{%- assign biblio = site.data.biblio.references | sort: "id" -%}
|
|
9
|
+
{%- endif -%}
|
|
10
|
+
{% if page.collection and biblio %}<h3>Produção bibliográfica e técnica</h2>{% endif %}
|
|
11
|
+
<ol class="refs bib-chicago">
|
|
12
|
+
{% for work in biblio %}
|
|
13
|
+
{%- assign output = 1 -%}
|
|
14
|
+
{%- if page.collection == "person" -%}
|
|
15
|
+
{%- assign output = 0 -%}
|
|
16
|
+
{%- if work.author -%}
|
|
17
|
+
{%- for author in work.author -%}
|
|
18
|
+
{%- if author.family == page.familyName and author.given == page.givenName -%}
|
|
19
|
+
{%- assign output = output | plus: 1 -%}
|
|
20
|
+
{%- endif -%}
|
|
21
|
+
{%- endfor -%}
|
|
22
|
+
{%- endif -%}
|
|
23
|
+
{%- if work.editor -%}
|
|
24
|
+
{%- for editor in work.editor -%}
|
|
25
|
+
{%- if editor.family == page.familyName and editor.given == page.givenName -%}
|
|
26
|
+
{%- assign output = output | plus: 1 -%}
|
|
27
|
+
{%- endif -%}
|
|
28
|
+
{%- endfor -%}
|
|
29
|
+
{%- endif -%}
|
|
30
|
+
{%- endif -%}
|
|
31
|
+
{%- if output > 0 -%}
|
|
32
|
+
<li itemscope itemtype="http://schema.org/{%- case work.type -%}
|
|
33
|
+
{%- when "book" -%}Book
|
|
34
|
+
{%- when "article-journal" -%}Article
|
|
35
|
+
{%- when "chapter" or "paper-conference" -%}Chapter
|
|
36
|
+
{%- when "collection" -%}Collection
|
|
37
|
+
{%- when "thesis" -%}Thesis
|
|
38
|
+
{%- when "artwork" -%}VisualArtwork
|
|
39
|
+
{%- else -%}Creativework
|
|
40
|
+
{%- endcase -%}" id="{{ work.id }}">
|
|
41
|
+
{% if work.author %}
|
|
42
|
+
<span itemprop="author">
|
|
43
|
+
{% for author in work.author %}
|
|
44
|
+
{%- if author.family -%}
|
|
45
|
+
{%- if forloop.first -%}
|
|
46
|
+
<span itemscope itemtype="http://schema.org/Person">{{ author.dropping-particle | append: " " }}{{ author.family }}, {{ author.given }}</span>
|
|
47
|
+
{%- else -%}
|
|
48
|
+
<span itemscope itemtype="http://schema.org/Person">{{ author.given | append: " " }}{{ author.dropping-particle | append: " " }}{{ author.family }}</span>
|
|
49
|
+
{%- endif -%}
|
|
50
|
+
{%- else -%}
|
|
51
|
+
<span itemscope itemtype="http://schema.org/Organization">{{ author }}</span>
|
|
52
|
+
{%- endif -%}
|
|
53
|
+
{%- if forloop.last -%} {%- else -%}; {% endif %}
|
|
54
|
+
{% endfor %}
|
|
55
|
+
</span>
|
|
56
|
+
{% endif %}
|
|
57
|
+
<time datetime="{{ work.issued[0].year }}" itemscope itemprop="datePublished" itemtype="http://schema.org/Date">({{ work.issued[0].year }})</time>
|
|
58
|
+
<span itemprop="name">
|
|
59
|
+
{%- case work.type %}
|
|
60
|
+
{%- when "book" or "thesis" or "artwork" or "collection" -%}
|
|
61
|
+
<em>{{ work.title }}.</em>
|
|
62
|
+
{%- else %}
|
|
63
|
+
“{{ work.title }}.”
|
|
64
|
+
{%- endcase %}
|
|
65
|
+
</span>
|
|
66
|
+
{%- if work.type == 'chapter' or work.type == 'paper-conference' -%} In:
|
|
67
|
+
{% if work.editor %}
|
|
68
|
+
<span itemprop="editor">
|
|
69
|
+
{% for editor in work.editor %}
|
|
70
|
+
{%- if editor.family -%}
|
|
71
|
+
<span itemscope itemtype="http://schema.org/Person">{{ editor.given | append: " " }}{{ editor.dropping-particle | append: " " }}{{ editor.family }}</span>
|
|
72
|
+
{%- else -%}
|
|
73
|
+
<span itemscope itemtype="http://schema.org/Organization">{{ editor }}</span>
|
|
74
|
+
{%- endif -%}
|
|
75
|
+
{% if forloop.last %}
|
|
76
|
+
{% if forloop.last == forloop.first %}
|
|
77
|
+
(ed.)
|
|
78
|
+
{% else %}
|
|
79
|
+
(eds.)
|
|
80
|
+
{% endif %}
|
|
81
|
+
{%- else -%}; {% endif %}
|
|
82
|
+
{% endfor %}
|
|
83
|
+
</span>
|
|
84
|
+
{% endif %}
|
|
85
|
+
{%- endif -%}
|
|
86
|
+
{%- if work.container-title or work.event -%}
|
|
87
|
+
<span itemprop="isPartOf">
|
|
88
|
+
{%- if work.container-title -%}
|
|
89
|
+
{%- if work.event -%}
|
|
90
|
+
{{ work.event | append: ': ' }}
|
|
91
|
+
{%- endif -%}
|
|
92
|
+
<em>{{ work.container-title }}</em>
|
|
93
|
+
{%- elsif work.event -%}
|
|
94
|
+
<em>{{ work.event }}</em>
|
|
95
|
+
{%- endif -%}
|
|
96
|
+
{%- if work.volume -%}
|
|
97
|
+
<span itemprop="volumeNumber">{{work.volume | prepend: ', ' }}</span>
|
|
98
|
+
{%- endif -%}
|
|
99
|
+
{%- if work.issue -%}
|
|
100
|
+
<span itemprop="issueNumber">{{ work.issue | prepend: ' (' | append: ')' }}</span>
|
|
101
|
+
{%- endif -%}
|
|
102
|
+
</span>
|
|
103
|
+
{%- endif -%}
|
|
104
|
+
{%- if work.publisher or work.publisher-place -%}.
|
|
105
|
+
{% if work.publisher %}
|
|
106
|
+
<span itemprop="spatial" itemtype="http://schema.org/Location">{{ work.publisher-place | append: ': ' }}</span>
|
|
107
|
+
<span itemprop="publisher" itemtype="http://schema.org/Organization">{{ work.publisher }}</span>
|
|
108
|
+
{%- else -%}
|
|
109
|
+
<span itemprop="spatial" itemtype="http://schema.org/Location">{{ work.publisher-place }}</span>
|
|
110
|
+
{%- endif -%}
|
|
111
|
+
{%- endif -%}
|
|
112
|
+
{% if work.genre %}
|
|
113
|
+
<span itemprop="genre">{{ product.genre }}</span>
|
|
114
|
+
<span itemprop="locationCreated">{{ work.event-place }}<span>
|
|
115
|
+
{% endif %}
|
|
116
|
+
{%- if work.page -%},
|
|
117
|
+
<span itemprop="pagination">{{ work.page | replace: "-", "--" }}</span>
|
|
118
|
+
{%- endif -%}
|
|
119
|
+
{%- if work.ISBN -%}. ISBN
|
|
120
|
+
{% assign isbn = work.ISBN | split: " " %}
|
|
121
|
+
<span itemprop="ISBN">{{ isbn[0] }}</span>
|
|
122
|
+
{%- endif -%}
|
|
123
|
+
{%- if work.ISSN -%}. ISSN
|
|
124
|
+
<span itemprop="ISSN">{{ work.ISSN }}</span>
|
|
125
|
+
{%- endif -%}
|
|
126
|
+
{%- if work.DOI -%}.
|
|
127
|
+
<a itemprop="doi" href="http://dx.doi.org/{{ work.DOI }}">{{ work.DOI }}</a>
|
|
128
|
+
{%- elsif work.URL -%}.
|
|
129
|
+
<a itemprop="url" href="{{ work.URL }}">{{ work.URL }}</a>
|
|
130
|
+
{%- endif -%}
|
|
131
|
+
</li>
|
|
132
|
+
{%- endif -%}{%- assign output = 0 -%}
|
|
133
|
+
{% endfor %}
|
|
134
|
+
</ol>
|
|
135
|
+
<!-- vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
data/_includes/team.html
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<div class="team-group">
|
|
2
|
+
{%- capture teams -%}
|
|
3
|
+
{%- for role in site.data.roles -%}
|
|
4
|
+
{%- capture memberlist -%}
|
|
5
|
+
{%- for member in members -%}
|
|
6
|
+
{%- assign affiliates = member.affiliation | where: "Organization", project -%}
|
|
7
|
+
{%- for affiliate in affiliates -%}
|
|
8
|
+
{%- assign teamrole = affiliate.Role | where: endDate[0], nil | where: "name", role -%}
|
|
9
|
+
{%- if teamrole.size > 0 and teamrole[0].endDate == nil -%}
|
|
10
|
+
<li itemscope itemtype="http://schema.org/Person">
|
|
11
|
+
<a href="{{ member.url }}">{{ member.givenName }} {{ member.additionalName }} {{ member.familyName }}</a>
|
|
12
|
+
</li>
|
|
13
|
+
{% endif %}
|
|
14
|
+
{%- endfor -%}
|
|
15
|
+
{%- endfor -%}
|
|
16
|
+
{%- endcapture -%}
|
|
17
|
+
{%- if memberlist.size > 0 -%}
|
|
18
|
+
<div class="team-block">
|
|
19
|
+
<h3 class="team">{{ role }}</h3>
|
|
20
|
+
<ul class="list members">
|
|
21
|
+
{{ memberlist }}
|
|
22
|
+
</ul>
|
|
23
|
+
</div>
|
|
24
|
+
{%- endif -%}
|
|
25
|
+
{% endfor %}
|
|
26
|
+
{%- endcapture -%}
|
|
27
|
+
{%- if teams.size > 0 -%}
|
|
28
|
+
{% if page.collection %}<h2>Equipe</h2>{% endif %}
|
|
29
|
+
{{ teams }}
|
|
30
|
+
{% endif %}
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div class="team-group">
|
|
34
|
+
{%-capture alumni -%}
|
|
35
|
+
{%- for member in members -%}
|
|
36
|
+
{%- assign affiliates = member.affiliation | where: "Organization", project -%}
|
|
37
|
+
{%- for affiliate in affiliates -%}
|
|
38
|
+
{%- assign teamrole = affiliate.Role -%}
|
|
39
|
+
{%- if teamrole.size > 0 and teamrole[0].endDate -%}
|
|
40
|
+
<li itemscope itemtype="http://schema.org/Person">
|
|
41
|
+
<a href="{{ member.url }}">{{ member.givenName }} {{ member.additionalName }} {{ member.familyName }}</a>
|
|
42
|
+
</li>
|
|
43
|
+
{%- endif -%}
|
|
44
|
+
{%- endfor -%}
|
|
45
|
+
{%- endfor -%}
|
|
46
|
+
{%- endcapture -%}
|
|
47
|
+
{%- if alumni.size > 0 -%}
|
|
48
|
+
<h2 class="team">Egressos</h2>
|
|
49
|
+
<ul class="list members">
|
|
50
|
+
{{ alumni }}
|
|
51
|
+
</ul>
|
|
52
|
+
{% endif %}
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
<!-- vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
data/_layouts/biblio.html
CHANGED
|
@@ -1,112 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: page
|
|
3
3
|
---
|
|
4
|
-
{%- assign biblio = site.data.biblio.references | sort: "id" -%}
|
|
5
4
|
|
|
6
5
|
{{ content }}
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{%- when "book" -%}Book
|
|
12
|
-
{%- when "article-journal" -%}Article
|
|
13
|
-
{%- when "chapter" or "paper-conference" -%}Chapter
|
|
14
|
-
{%- when "collection" -%}Collection
|
|
15
|
-
{%- when "thesis" -%}Thesis
|
|
16
|
-
{%- when "artwork" -%}VisualArtwork
|
|
17
|
-
{%- else -%}Creativework
|
|
18
|
-
{%- endcase -%}" id="{{ work.id }}">
|
|
19
|
-
{% if work.author %}
|
|
20
|
-
<span itemprop="author">
|
|
21
|
-
{% for author in work.author %}
|
|
22
|
-
{%- if author.family -%}
|
|
23
|
-
{%- if forloop.first -%}
|
|
24
|
-
<span itemscope itemtype="http://schema.org/Person">{{ author.dropping-particle | append: " " }}{{ author.family }}, {{ author.given }}</span>
|
|
25
|
-
{%- else -%}
|
|
26
|
-
<span itemscope itemtype="http://schema.org/Person">{{ author.given | append: " " }}{{ author.dropping-particle | append: " " }}{{ author.family }}</span>
|
|
27
|
-
{%- endif -%}
|
|
28
|
-
{%- else -%}
|
|
29
|
-
<span itemscope itemtype="http://schema.org/Organization">{{ author }}</span>
|
|
30
|
-
{%- endif -%}
|
|
31
|
-
{%- if forloop.last -%} {%- else -%}; {% endif %}
|
|
32
|
-
{% endfor %}
|
|
33
|
-
</span>
|
|
34
|
-
{% endif %}
|
|
35
|
-
<time datetime="{{ work.issued[0].year }}" itemscope itemprop="datePublished" itemtype="http://schema.org/Date">({{ work.issued[0].year }})</time>
|
|
36
|
-
<span itemprop="name">
|
|
37
|
-
{%- case work.type %}
|
|
38
|
-
{%- when "book" or "thesis" or "artwork" or "collection" -%}
|
|
39
|
-
<em>{{ work.title }}.</em>
|
|
40
|
-
{%- else %}
|
|
41
|
-
“{{ work.title }}.”
|
|
42
|
-
{%- endcase %}
|
|
43
|
-
</span>
|
|
44
|
-
{%- if work.type == 'chapter' or work.type == 'paper-conference' -%} In:
|
|
45
|
-
{% if work.editor %}
|
|
46
|
-
<span itemprop="editor">
|
|
47
|
-
{% for editor in work.editor %}
|
|
48
|
-
{%- if editor.family -%}
|
|
49
|
-
<span itemscope itemtype="http://schema.org/Person">{{ editor.given | append: " " }}{{ editor.dropping-particle | append: " " }}{{ editor.family }}</span>
|
|
50
|
-
{%- else -%}
|
|
51
|
-
<span itemscope itemtype="http://schema.org/Organization">{{ editor }}</span>
|
|
52
|
-
{%- endif -%}
|
|
53
|
-
{% if forloop.last %}
|
|
54
|
-
{% if forloop.last == forloop.first %}
|
|
55
|
-
(ed.)
|
|
56
|
-
{% else %}
|
|
57
|
-
(eds.)
|
|
58
|
-
{% endif %}
|
|
59
|
-
{%- else -%}; {% endif %}
|
|
60
|
-
{% endfor %}
|
|
61
|
-
</span>
|
|
62
|
-
{% endif %}
|
|
63
|
-
{%- endif -%}
|
|
64
|
-
{%- if work.container-title or work.event -%}
|
|
65
|
-
<span itemprop="isPartOf">
|
|
66
|
-
{%- if work.container-title -%}
|
|
67
|
-
{%- if work.event -%}
|
|
68
|
-
{{ work.event | append: ': ' }}
|
|
69
|
-
{%- endif -%}
|
|
70
|
-
<em>{{ work.container-title }}</em>
|
|
71
|
-
{%- elsif work.event -%}
|
|
72
|
-
<em>{{ work.event }}</em>
|
|
73
|
-
{%- endif -%}
|
|
74
|
-
{%- if work.volume -%}
|
|
75
|
-
<span itemprop="volumeNumber">{{work.volume | prepend: ', ' }}</span>
|
|
76
|
-
{%- endif -%}
|
|
77
|
-
{%- if work.issue -%}
|
|
78
|
-
<span itemprop="issueNumber">{{ work.issue | prepend: ' (' | append: ')' }}</span>
|
|
79
|
-
{%- endif -%}
|
|
80
|
-
</span>
|
|
81
|
-
{%- endif -%}
|
|
82
|
-
{%- if work.publisher or work.publisher-place -%}.
|
|
83
|
-
{% if work.publisher %}
|
|
84
|
-
<span itemprop="spatial" itemtype="http://schema.org/Location">{{ work.publisher-place | append: ': ' }}</span>
|
|
85
|
-
<span itemprop="publisher" itemtype="http://schema.org/Organization">{{ work.publisher }}</span>
|
|
86
|
-
{%- else -%}
|
|
87
|
-
<span itemprop="spatial" itemtype="http://schema.org/Location">{{ work.publisher-place }}</span>
|
|
88
|
-
{%- endif -%}
|
|
89
|
-
{%- endif -%}
|
|
90
|
-
{% if work.genre %}
|
|
91
|
-
<span itemprop="genre">{{ product.genre }}</span>
|
|
92
|
-
<span itemprop="locationCreated">{{ work.event-place }}<span>
|
|
93
|
-
{% endif %}
|
|
94
|
-
{%- if work.page -%},
|
|
95
|
-
<span itemprop="pagination">{{ work.page | replace: "-", "--" }}</span>
|
|
96
|
-
{%- endif -%}
|
|
97
|
-
{%- if work.ISBN -%}. ISBN
|
|
98
|
-
{% assign isbn = work.ISBN | split: " " %}
|
|
99
|
-
<span itemprop="ISBN">{{ isbn[0] }}</span>
|
|
100
|
-
{%- endif -%}
|
|
101
|
-
{%- if work.ISSN -%}. ISSN
|
|
102
|
-
<span itemprop="ISSN">{{ work.ISSN }}</span>
|
|
103
|
-
{%- endif -%}
|
|
104
|
-
{%- if work.DOI -%}.
|
|
105
|
-
<a itemprop="doi" href="http://dx.doi.org/{{ work.DOI }}">{{ work.DOI }}</a>
|
|
106
|
-
{%- elsif work.URL -%}.
|
|
107
|
-
<a itemprop="url" href="{{ work.URL }}">{{ work.URL }}</a>
|
|
108
|
-
{%- endif -%}
|
|
109
|
-
</li>
|
|
110
|
-
{% endfor %}
|
|
111
|
-
</ol>
|
|
112
|
-
<!--: vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
|
7
|
+
{% include biblio.html %}
|
|
8
|
+
|
|
9
|
+
<!-- vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
data/_layouts/home.html
CHANGED
|
@@ -3,20 +3,15 @@ layout: default
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
5
|
<div class="home">
|
|
6
|
-
{%- if page.title -%}
|
|
7
|
-
<h1 class="page-heading">{{ page.title }}</h1>
|
|
8
|
-
{%- endif -%}
|
|
9
6
|
|
|
10
7
|
{{ content }}
|
|
11
8
|
|
|
12
|
-
|
|
13
9
|
{% if site.paginate %}
|
|
14
10
|
{% assign posts = paginator.posts %}
|
|
15
11
|
{% else %}
|
|
16
12
|
{% assign posts = site.posts %}
|
|
17
13
|
{% endif %}
|
|
18
14
|
|
|
19
|
-
|
|
20
15
|
{%- if posts.size > 0 -%}
|
|
21
16
|
{%- if page.list_title -%}
|
|
22
17
|
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
---
|
|
4
|
+
{%- assign slug = page.name | split: "." | first -%}
|
|
5
|
+
{%- assign members = site.person | sort: "givenName" | sort: "familyName" -%}
|
|
6
|
+
{%- assign baseurl = site.baseurl | remove: "/" -%}
|
|
7
|
+
{%- assign project = page.identifier | default: baseurl | default: site.github_username -%}
|
|
8
|
+
<article itemscope itemtype="{{ page.itemtype }}" class="post">
|
|
9
|
+
|
|
10
|
+
<div class="post-content">
|
|
11
|
+
{%- if page.collection -%}
|
|
12
|
+
<p class="description" itemprop="description">{{ page.description }} </p>
|
|
13
|
+
{% if page.keywords %}
|
|
14
|
+
<ul class="keywords" itemprop="keywords">
|
|
15
|
+
<span class="keywords-title">Palavras-chave:</span>
|
|
16
|
+
{% for keyword in page.keywords %}
|
|
17
|
+
<li>{{ keyword }}{%- unless forloop.last -%}, {%- endunless -%}</li>
|
|
18
|
+
{% endfor %}
|
|
19
|
+
</ul>
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
{{ content }}
|
|
23
|
+
|
|
24
|
+
{%- assign projects = site.organization | where: "parentOrganization", page.slug -%}
|
|
25
|
+
{%- if projects[0] -%}
|
|
26
|
+
<h2 id="projects">Projetos de pesquisa</h2>
|
|
27
|
+
<ul class="list projects">
|
|
28
|
+
{%- for project in projects -%}
|
|
29
|
+
<li itemscope itemtype="http://schema.org/Organization">
|
|
30
|
+
<a href="{{ project.url }}">{{ project.title }}</a>
|
|
31
|
+
</li>
|
|
32
|
+
{%- endfor -%}
|
|
33
|
+
</ul>
|
|
34
|
+
{%- endif -%}
|
|
35
|
+
=======
|
|
36
|
+
<li>{{ keyword }}{%- unless forloop.last -%}, {%- endunless -%}</li>
|
|
37
|
+
{% endfor %}
|
|
38
|
+
</ul>
|
|
39
|
+
{% endif %}
|
|
40
|
+
|
|
41
|
+
{{ content }}
|
|
42
|
+
|
|
43
|
+
{%- assign projects = site.organization | where: "parentOrganization", page.slug -%}
|
|
44
|
+
{%- if projects[0] -%}
|
|
45
|
+
<h2 id="projects">Projetos de pesquisa</h2>
|
|
46
|
+
<ul class="list projects">
|
|
47
|
+
{%- for project in projects -%}
|
|
48
|
+
<li itemscope itemtype="http://schema.org/Organization">
|
|
49
|
+
<a href="{{ project.url }}">{{ project.title }}</a>
|
|
50
|
+
</li>
|
|
51
|
+
{%- endfor -%}
|
|
52
|
+
</ul>
|
|
53
|
+
{%- endif -%}
|
|
54
|
+
|
|
55
|
+
{% include team.html %}
|
|
56
|
+
|
|
57
|
+
{% include biblio.html %}
|
|
58
|
+
|
|
59
|
+
{%- else -%}
|
|
60
|
+
{{ content }}
|
|
61
|
+
{%- assign groups = site.organization | where: "parentOrganization", slug -%}
|
|
62
|
+
{%- for group in groups %}
|
|
63
|
+
<h2 class="groups" itemscop itemtype="http://schema.org/Organization">
|
|
64
|
+
<a href="{{ group.url }}">{{ group.title }}</a>
|
|
65
|
+
</h2>
|
|
66
|
+
{% if group.startDate %}
|
|
67
|
+
<p class="date">Ativo {%- if group.endDate -%}: {% else %} desde {% endif %}
|
|
68
|
+
<date itemprop="startDate">{{ group.startDate | date: "%-d %B %Y" }}</date>
|
|
69
|
+
{% if endDate %} a
|
|
70
|
+
<date itemprop="endDate">{{ group.endDate | date: "%-d %B %Y" }}</date>
|
|
71
|
+
{%- endif -%}
|
|
72
|
+
</p>
|
|
73
|
+
{% endif %}
|
|
74
|
+
{% if group.description %}
|
|
75
|
+
<p class="description">{{ group.description }}</p>
|
|
76
|
+
{% endif %}
|
|
77
|
+
{% if group.keywords %}
|
|
78
|
+
<ul class="keywords" itemprop="keywords">
|
|
79
|
+
<span class="keywords-title">Palavras-chave:</span>
|
|
80
|
+
{% for keyword in group.keywords %}
|
|
81
|
+
<li>{{ keyword }}{%- unless forloop.last -%}, {%- endunless -%}</li>
|
|
82
|
+
{% endfor %}
|
|
83
|
+
</ul>
|
|
84
|
+
{% endif %}
|
|
85
|
+
{%- assign projects = site.organization | where: "parentOrganization", group.identifier -%}
|
|
86
|
+
{%- if projects[0] -%}
|
|
87
|
+
<dl class="list projects">
|
|
88
|
+
<dt>Projetos de pesquisa</dt>
|
|
89
|
+
{%- for project in projects -%}
|
|
90
|
+
<dd itemscope itemtype="http://schema.org/Organization">
|
|
91
|
+
<a href="{{ project.url }}">{{ project.title }}</a>
|
|
92
|
+
</dd>
|
|
93
|
+
{%- endfor -%}
|
|
94
|
+
</dl>
|
|
95
|
+
{%- endif -%}
|
|
96
|
+
{%- endfor -%}
|
|
97
|
+
{%- endif %}
|
|
98
|
+
</div>
|
|
99
|
+
</article>
|
|
100
|
+
<!-- vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
{% assign page.title = page.givenName | append: " " | append: page.additionalName | append: " " | append: page.familyName %}
|
|
5
|
+
<article itemscope itemtype="http://schema.org/Person" class="person">
|
|
6
|
+
|
|
7
|
+
<header class="post-header">
|
|
8
|
+
{% if page.image %}
|
|
9
|
+
<div class="page-image">
|
|
10
|
+
<img title="{{ page.title }}" alt="Imagem pessoal" src="{{ page.image }}" />
|
|
11
|
+
</div>
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% if page.date %}
|
|
14
|
+
<p class="date">Última atualização: {{ page.date | date: "%e %B %Y" }}</p>
|
|
15
|
+
{% endif %}
|
|
16
|
+
<h1 class="post-title">{{ page.title | escape }}</h1>
|
|
17
|
+
<dl>
|
|
18
|
+
{% if page.identifier %}
|
|
19
|
+
<dd>
|
|
20
|
+
<a itemprop="identifier" content="https://orcid.org/{{ page.identifier }}" href="https://orcid.org/{{ page.identifier }}" target="orcid.widget" rel="me noopener noreferrer" style="vertical-align:top;">
|
|
21
|
+
<img src="https://orcid.org/sites/default/files/images/orcid_16x16.png" style="width:1em;margin-right:.5em;" alt="ORCID iD icon" />
|
|
22
|
+
https://orcid.org/{{ page.identifier }}
|
|
23
|
+
</a>
|
|
24
|
+
</dd>
|
|
25
|
+
{% endif %}
|
|
26
|
+
{% for link in page.sameAs %}
|
|
27
|
+
{%- if link.name == "CNPq" -%}
|
|
28
|
+
<dd>
|
|
29
|
+
<a itemprop="sameAs" content="http://lattes.cnpq.br/{{ link.url }}" href="http://lattes.cnpq.br/{{ link.url }}" title="Currículo Lattes">
|
|
30
|
+
<img src="http://memoria.cnpq.br/Portal-Lattes-Home-theme/images/logo-lattes.png" alt="Currículo Lattes" />
|
|
31
|
+
</a>
|
|
32
|
+
</dd>
|
|
33
|
+
<dd>
|
|
34
|
+
<a itemprop="sameAs" content="http://dgp.cnpq.br/dgp/espelhorh/{{ link.url }}" href="http://dgp.cnpq.br/dgp/espelhorh/{{ link.url }}" title="Diretório dos Grupos de Pesquisa">
|
|
35
|
+
<img src="http://lattes.cnpq.br/image/layout_set_logo?img_id=14055&t=1588186121214" alt="Diretório dos Grupos de Pesquisa" />
|
|
36
|
+
</a>
|
|
37
|
+
{%- else -%}
|
|
38
|
+
<dd>
|
|
39
|
+
<a itemprop="sameAs" content="{{ link.url }}" href="{{ link.url }}" title="{{ link.name }}">
|
|
40
|
+
{%- if link.image -%}
|
|
41
|
+
<img src="{{ link.image }}" alt="{{ link.name }}" />
|
|
42
|
+
{%- else -%}
|
|
43
|
+
{{ link.name }}
|
|
44
|
+
{%- endif -%}
|
|
45
|
+
</a>
|
|
46
|
+
</dd>
|
|
47
|
+
{%- endif -%}
|
|
48
|
+
{% endfor %}
|
|
49
|
+
</dl>
|
|
50
|
+
</header>
|
|
51
|
+
|
|
52
|
+
<div class="post-content">
|
|
53
|
+
{% unless page.content %}
|
|
54
|
+
<p class="description">
|
|
55
|
+
{%- for org in page.worksFor -%}
|
|
56
|
+
{%- for role in org.Role -%}
|
|
57
|
+
{%- unless endDate -%}
|
|
58
|
+
Desde {{ role.startDate | date: "%Y" }} é {{ role.name | append: " " }}
|
|
59
|
+
{%- endunless -%}
|
|
60
|
+
{%- endfor -%}
|
|
61
|
+
no Departamento de {{ org.department }} da {{ org.Organization }}.
|
|
62
|
+
{% endfor %}
|
|
63
|
+
{%- for org in page.worksFor -%}
|
|
64
|
+
{%- for role in org.Role -%}
|
|
65
|
+
{%- if endDate -%}
|
|
66
|
+
{{ role.name | append: " " }} ({{ role.startDate | date: "%Y" }} a {{ role.endDate | date: "%Y" }})
|
|
67
|
+
{% unless forloop.last %}, {% endunless %}
|
|
68
|
+
{%- endif -%}
|
|
69
|
+
{%- endfor -%}
|
|
70
|
+
no {{ org.department }} da {{ org.Organization }}.
|
|
71
|
+
{% endfor %}
|
|
72
|
+
</p>
|
|
73
|
+
{% endunless %}
|
|
74
|
+
|
|
75
|
+
{{ content }}
|
|
76
|
+
|
|
77
|
+
<h3>Projetos de pesquisa</h3>
|
|
78
|
+
<ul class="list affiliation">
|
|
79
|
+
{% for org in page.affiliation %}
|
|
80
|
+
{%- assign orgid = site.organization | where: "identifier", org.Organization -%}
|
|
81
|
+
{%- for group in orgid -%}
|
|
82
|
+
{%- for role in org.Role -%}
|
|
83
|
+
<li itemscope itemtype="http://schema.org/Organization">
|
|
84
|
+
<a href="{{ group.url }}" alt="{{ group.title }}">{{ group.title }}</a>
|
|
85
|
+
{% if role.endDate %}
|
|
86
|
+
(egresso)
|
|
87
|
+
{%- endif -%}
|
|
88
|
+
</li>
|
|
89
|
+
{%- endfor -%}
|
|
90
|
+
{%- endfor -%}
|
|
91
|
+
{% endfor %}
|
|
92
|
+
</ul>
|
|
93
|
+
|
|
94
|
+
{% include biblio.html %}
|
|
95
|
+
|
|
96
|
+
</div>
|
|
97
|
+
</article>
|
|
98
|
+
<!-- vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
data/_layouts/team.html
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
---
|
|
4
|
+
{% assign team = site.person | sort: "familyName" %}
|
|
5
|
+
{% assign project = site.baseurl | remove: "/" %}
|
|
6
|
+
|
|
7
|
+
{{ content }}
|
|
8
|
+
|
|
9
|
+
<dl class="team">
|
|
10
|
+
{% for person in team %}
|
|
11
|
+
{% for affiliation in person.affiliation %}{% if affiliation.Organization.name == project %}
|
|
12
|
+
<dt itemscope itemtype="http://schema.org/Person">
|
|
13
|
+
{{ person.givenName }} {{ person.additionalName }} {{ person.familyName }}
|
|
14
|
+
</dt>
|
|
15
|
+
<dd>
|
|
16
|
+
<a itemprop="url" href="{{ person.url }}">Curriculum Vitae</a>
|
|
17
|
+
{% if person.identifier %} |
|
|
18
|
+
<a itemprop="identifier" href="https://orcid.org/{{ person.identifier }}">ORCID {{ person.identifier }}</a>
|
|
19
|
+
{% endif %}
|
|
20
|
+
</dd>
|
|
21
|
+
{% for affiliation in person.affiliation %}{%if affiliation.Organization.name == project %}
|
|
22
|
+
<ul itemprop="affiliation">
|
|
23
|
+
{% for role in affiliation.Organization.Role %}
|
|
24
|
+
<li>
|
|
25
|
+
<span itemscope itemtype="http://schema.org/Organization">{{ role.name }}</span>:
|
|
26
|
+
{% unless role.endDate %}desde{% endunless %}
|
|
27
|
+
<time datetime="{{ role.startDate }}" itemprop="startDate" itemtype="http://schema.org/Date">
|
|
28
|
+
{{ role.startDate | date: "%e/%m/%Y" }}
|
|
29
|
+
</time> {% if role.endDate %} a
|
|
30
|
+
<time datetime="{{ role.endDate }}" itemprop="endDate" itemtype="http://schema.org/Date">
|
|
31
|
+
{{ role.endDate | date: "%e/%m/%Y" }}{% endif %}
|
|
32
|
+
</time>
|
|
33
|
+
</li>
|
|
34
|
+
{% endfor %}
|
|
35
|
+
</ul>
|
|
36
|
+
{% endif %}{% endfor %}
|
|
37
|
+
{% endif %}{% endfor %}
|
|
38
|
+
{% endfor %}
|
|
39
|
+
</dl>
|
|
40
|
+
|
|
41
|
+
<!-- vim: set ft=liquid shiftwidth=2 tabstop=2 expandtab foldmethod=indent : -->
|
data/_sass/scholar.scss
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
div.page-image {
|
|
2
|
+
width: 25%;
|
|
3
|
+
margin-right: 1em;
|
|
4
|
+
float: left;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
div.post-content {
|
|
8
|
+
margin-top: 2em;
|
|
9
|
+
clear: both;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
ul.keywords,
|
|
13
|
+
ul.keywords li {
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
display: inline;
|
|
17
|
+
list-style: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
span.keywords-title {
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
ul.list {
|
|
25
|
+
list-style: none;
|
|
26
|
+
margin-left: -1em;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
ul.list > li:before {
|
|
30
|
+
content: "– ";
|
|
31
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minima-scholar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.5.
|
|
4
|
+
version: 2.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pedro P. Palazzo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -89,6 +89,7 @@ extra_rdoc_files: []
|
|
|
89
89
|
files:
|
|
90
90
|
- LICENSE.txt
|
|
91
91
|
- README.md
|
|
92
|
+
- _includes/biblio.html
|
|
92
93
|
- _includes/custom-head.html
|
|
93
94
|
- _includes/disqus_comments.html
|
|
94
95
|
- _includes/footer.html
|
|
@@ -97,12 +98,16 @@ files:
|
|
|
97
98
|
- _includes/header.html
|
|
98
99
|
- _includes/share.html
|
|
99
100
|
- _includes/social.html
|
|
101
|
+
- _includes/team.html
|
|
100
102
|
- _layouts/biblio.html
|
|
101
103
|
- _layouts/default.html
|
|
102
104
|
- _layouts/home.html
|
|
103
105
|
- _layouts/members.html
|
|
106
|
+
- _layouts/organization.html
|
|
104
107
|
- _layouts/page.html
|
|
108
|
+
- _layouts/person.html
|
|
105
109
|
- _layouts/post.html
|
|
110
|
+
- _layouts/team.html
|
|
106
111
|
- _sass/minima/_base.scss
|
|
107
112
|
- _sass/minima/_layout.scss
|
|
108
113
|
- _sass/minima/custom-styles.scss
|
|
@@ -112,6 +117,7 @@ files:
|
|
|
112
117
|
- _sass/minima/skins/dark.scss
|
|
113
118
|
- _sass/minima/skins/solarized-dark.scss
|
|
114
119
|
- _sass/minima/skins/solarized.scss
|
|
120
|
+
- _sass/scholar.scss
|
|
115
121
|
- assets/css/style.scss
|
|
116
122
|
- assets/minima-social-icons.svg
|
|
117
123
|
homepage: https://github.com/p3palazzo/minima-scholar
|
|
@@ -133,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
133
139
|
- !ruby/object:Gem::Version
|
|
134
140
|
version: '0'
|
|
135
141
|
requirements: []
|
|
136
|
-
rubygems_version: 3.1.
|
|
142
|
+
rubygems_version: 3.1.3
|
|
137
143
|
signing_key:
|
|
138
144
|
specification_version: 4
|
|
139
145
|
summary: An academic extension to the Jekyll default theme
|