-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added lesson metadata and schema.org JSON-LD rendering #41
Changes from 1 commit
37eb768
48c893d
fcc731b
b68e55d
23a9827
152eba8
a1ab182
01957e2
4cde699
70f70a3
0f8afa2
55b723a
af2df7a
4a17df1
a3164d9
c6f1c8b
de81a92
1597531
836d3d0
d4efdb8
a974afc
f94791a
627dece
194ebda
83bea83
09922e5
1dddabf
4f40bac
0e1523e
db921a5
9a553c3
4778a2b
94f0a4e
3fd1434
e7b99da
6a3a807
682e775
27ead33
8d09466
ffcafb4
fc317bb
faa28db
b9a00c8
e512f44
0685412
accf26a
0b6b1b4
a1707b0
56a763d
3df1a6d
2709879
2365ec8
d128191
d29296b
62cb3dd
2b0096c
9cdb521
126ad77
34b0d39
e0ade11
60f6511
536a33a
ecc2efa
8f9e76c
e4dd616
bbf3bd9
84e6d77
d724830
d49cecc
8151076
ad4cd67
10bce82
797f2e5
29f3997
cd798b9
91a6d2a
ae4a693
10a66ed
7be2a1f
d46a578
a27e9f2
1182f75
fd9e75e
0e3a431
e611262
1b7639d
5a2de30
2df359c
8c6a1a7
015ca0b
e7f98a6
1205026
26ccd8c
3ed2866
0d0f943
bf65236
f55a015
e47f4b1
a7515a2
35572ec
56d5aa9
0ae3756
17cb754
910a474
0858395
300be90
51293be
f82fed8
782d6cb
e9acce2
d434f41
93eb566
079bbc2
cdaf429
1c0faba
95a6248
84fcd6c
667c691
9ccbb18
30f8cd1
7ccdf49
dd5457b
808cd62
672022e
6f0df1d
3aff0b2
a700bde
54fbb57
caa6e0b
ae426be
9b391f6
ccbf7af
9eff7ab
ce5073e
f550f8b
bfec005
661069d
b490ea4
1faa3eb
9a55cba
a7093ad
bc8a996
d0022dc
3947b7d
f30cc4e
d5837c7
7ca21f5
51a86ac
a2c7c54
2e6d3c6
8cdca1d
ea6c22b
601ad2f
5e079a9
2dd5fce
d73ae1c
7fdc6f8
b32734f
61416e0
3d9748e
40c41b0
f507875
de20813
aa98c3f
1e7efe2
18b36ec
ac0a549
20bc579
11774e3
ec50ea0
2ba1381
50a8525
feb54ba
485e4ba
894d47f
dd803bd
1d64dbb
dd1fce0
199a809
9758fd8
961f24a
6d7a9d7
434abbe
ab1ea98
99be104
08ce1fe
3ccc406
8e1b106
38432ed
9cdd341
ee84f54
9126d2c
57f2069
0802ec9
149e18f
9f4023a
c0be5cc
8f9af3d
4a85f2c
1cbe707
f8f4cff
c001ec8
2a7326f
d6655d4
c78143f
ff2ceff
2828ac9
0f80101
e1feca3
5d78abc
0e0f2bf
986a6be
f03403b
c0266f4
5d9e943
73683e4
8249bf6
2f61821
546ffa6
999ce61
7c6b289
396a399
add555b
b488e64
383f0c3
d2d5916
6099b78
c508edd
2a938b0
305f7b4
90df6d3
cabf42c
e650b89
bed7cd9
1223100
bb9b1d3
13802da
67513ef
ba909cc
4755a6d
0ff9a92
e5618a5
d06ca0f
e1d7d54
16e58ce
08a953f
b44a4cf
fae42d2
eb8da64
a9683b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,19 @@ title: "Lesson Title" | |
# Contact email address. | ||
email: [email protected] | ||
|
||
#Metadata | ||
# Here you can add metadata to describe your lesson so that people and search engines can understand what it's about. Please try to use fields from the Schema.org CreativeWork type - https://schema.org/CreativeWork | ||
description: "This is the template description. Keep me brief (2-3 sentences)" | ||
keywords: GitHub, Forking, Collaborative # see: https://schema.org/keywords | ||
audience: [PostDoc students, Early Career Researchers] # see: https://schema.org/audience | ||
license: "https://creativecommons.org/licenses/by/3.0/" # see: schema.org/license | ||
author: [Homer Simpson, Ned Flanders] # see: https://schema.org/author | ||
contributor: [Barney Gumball, Dr Nick Riviera] # see: https://schema.org/contributor | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there an |
||
timeRequired: "1 hour" # see: https://schema.org/timeRequired | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be derived from the timings embedded in the episodes. |
||
learningResourceType: "lesson plan" # see: https://schema.org/learningResourceType | ||
citation: "How to cite a Training Material, John Smith et al, 2015" # see: https://schema.org/citation | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This must be consistent with |
||
dateCreated: 2016-05-01 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this date of initial creation, or date of last modification? |
||
|
||
#------------------------------------------------------------ | ||
# Generic settings (should not need to change). | ||
#------------------------------------------------------------ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!-- Schema.org annotations in JSON-LD for a CreativeWork type. | ||
Variables should be declared in the .md file | ||
For full list of available attributes see https://schema.org/CreativeWork --> | ||
<script type="application/ld+json"> | ||
{ | ||
"@context": "http://schema.org/", | ||
"@type": "creativeWork", | ||
"genre": "trainingMaterial", | ||
"name": "{{site.title}}", | ||
"description": "{{site.description}}", | ||
"keywords": "{{site.keywords}}", | ||
"audience": [ | ||
{% for audience in site.audience %}{ | ||
"@type": "Audience", | ||
"name": "{{audience}}" | ||
}{% if forloop.last %}{%else%},{%endif%} | ||
{% endfor %} | ||
], | ||
"license": "{{site.licence}}", | ||
"author": [ | ||
{% for author in site.author %}{ | ||
"@type": "Person", | ||
"name": "{{author}}" | ||
}{% if forloop.last %}{%else%},{%endif%} | ||
{% endfor %} | ||
], | ||
"contributor": [ | ||
{% for contributor in site.contributor %}{ | ||
"@type": "Person", | ||
"name": "{{contributor}}" | ||
}{% if forloop.last %}{%else%},{%endif%} | ||
{% endfor %} | ||
], | ||
"timeRequired": "{{site.timeRequired}}", | ||
"learningResourceType": "{{site.learningResourceType}}", | ||
"citation": "{{site.citation}}", | ||
"dateCreated" : "{{site.dateCreated}}" | ||
} | ||
</script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can
author
be auto-generated from the Git commits and.mailmap
? (That's how we generate author lists for publication purposes.)