Skip to content
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

Closed
wants to merge 528 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
528 commits
Select commit Hold shift + click to select a range
37eb768
Use link tag instead of URL
rgaiacs Nov 19, 2017
48c893d
Merge v9.3.0 of https://github.com/swcarpentry/styles
rgaiacs Nov 19, 2017
fcc731b
Port changes from workshop
rgaiacs Nov 23, 2017
b68e55d
Port changes from workshop
rgaiacs Nov 23, 2017
23a9827
Copy _extras/figures.md from lesson example
rgaiacs Nov 23, 2017
152eba8
Merge remote-tracking branch 'swc-styles/gh-pages' into gh-pages
rgaiacs Nov 23, 2017
a1ab182
Fix bin/lesson_initialize.py
rgaiacs Nov 24, 2017
01957e2
Merge pull request #193 from rgaiacs/gh-pages
rgaiacs Nov 24, 2017
4cde699
fixed broken link on landing page
Nov 27, 2017
70f70a3
Merge pull request #154 from psteinb/corrected-setup-URL
rgaiacs Nov 27, 2017
0f8afa2
Fix problem with {% link reference.md %}
rgaiacs Dec 1, 2017
55b723a
Made requested revisions to lesson_initialize
wclose Dec 7, 2017
af2df7a
Made minor revision to order of information
wclose Dec 7, 2017
4a17df1
jekyll version
ErinBecker Dec 12, 2017
a3164d9
Merge pull request #156 from swcarpentry/ErinBecker-patch-1
rgaiacs Dec 13, 2017
c6f1c8b
update maintenance process
ErinBecker Dec 18, 2017
de81a92
update info on formative assessments
ErinBecker Dec 18, 2017
1597531
indent HTML
ErinBecker Dec 18, 2017
836d3d0
remove episode length
ErinBecker Dec 18, 2017
d4efdb8
fix link to setup instructions
ErinBecker Dec 18, 2017
a974afc
add link directly to jekyll setup
ErinBecker Dec 18, 2017
f94791a
Merge pull request #158 from swcarpentry/ErinBecker-patch-1
rgaiacs Dec 19, 2017
627dece
Merge pull request #159 from swcarpentry/ErinBecker-patch-2
rgaiacs Dec 19, 2017
194ebda
Merge pull request #160 from swcarpentry/ErinBecker-patch-3
rgaiacs Dec 19, 2017
83bea83
update url
ErinBecker Dec 19, 2017
09922e5
Merge pull request #157 from swcarpentry/update-maintenance
ErinBecker Dec 19, 2017
1dddabf
Merge pull request #161 from swcarpentry/ErinBecker-patch-4
rgaiacs Dec 19, 2017
4f40bac
pre-empt server-side redirects
katrinleinweber Dec 20, 2017
0e1523e
Merge pull request #196 from katrinleinweber/patch-1
rgaiacs Dec 21, 2017
db921a5
Ensure Ruby is updated to work with Jekyll on OSX
henrykironde Jan 18, 2018
9a553c3
Merge pull request #166 from henrykironde/patch-3
rgaiacs Jan 19, 2018
4778a2b
Adding How to add R packages
hoytpr Jan 19, 2018
94f0a4e
Fix class mismatch in formatting lesson
colinmorris Jan 23, 2018
3fd1434
Merge pull request #168 from colinmorris/patch-1
rgaiacs Jan 24, 2018
e7b99da
Insert comment in YAML header advising not to edit
mawds Jan 25, 2018
6a3a807
Fix CSS to use .language-X class
rgaiacs Jan 29, 2018
682e775
Implement using @naupaka 's suggestions
mawds Jan 30, 2018
27ead33
Merge pull request #200 from mawds/commentgenerated
rgaiacs Jan 30, 2018
8d09466
Separating code for copy-paste in PR
hoytpr Feb 6, 2018
ffcafb4
callout for all three commands
hoytpr Feb 6, 2018
fc317bb
[fix #171] remove "clip-path" attribute
fmichonneau Feb 12, 2018
faa28db
Merge pull request #173 from fmichonneau/fix-svg
fmichonneau Feb 12, 2018
b9a00c8
fix svg files
fmichonneau Feb 12, 2018
e512f44
Merge pull request #202 from rgaiacs/gh-pages
rgaiacs Feb 14, 2018
0685412
Merge pull request #188 from wclose/update_lesson_initialize
rgaiacs Feb 14, 2018
accf26a
Add current year to copyright of workshop footer
jcoliver Jan 10, 2018
0b6b1b4
Merge pull request #205 from rgaiacs/gh-pages
rgaiacs Feb 14, 2018
a1707b0
Fix broken link for Contact
rgaiacs Feb 15, 2018
56a763d
Merge pull request #206 from rgaiacs/gh-pages
rgaiacs Feb 15, 2018
3df1a6d
support screen readers
Feb 15, 2018
2709879
correct section order
Feb 15, 2018
2365ec8
Merge pull request #177 from katrinleinweber/improve-accessibility
rgaiacs Feb 15, 2018
d128191
Requested changes
andrewsanchez Feb 15, 2018
d29296b
Merge pull request #209 from rgaiacs/gh-pages
rgaiacs Feb 16, 2018
62cb3dd
Merge remote-tracking branch 'swc-styles/gh-pages' into gh-pages
rgaiacs Feb 16, 2018
2b0096c
Requested changes
andrewsanchez Feb 15, 2018
9cdb521
Merge pull request #178 from rgaiacs/gh-pages
rgaiacs Feb 16, 2018
126ad77
Fix issue with CSS
rgaiacs Feb 19, 2018
34b0d39
Fix issue with CSS
rgaiacs Feb 19, 2018
e0ade11
Merge pull request #203 from swcarpentry/fix-svg
rgaiacs Feb 19, 2018
60f6511
Fix SVG file for Firefox
rgaiacs Feb 19, 2018
536a33a
Merge pull request #179 from rgaiacs/gh-pages
rgaiacs Feb 20, 2018
ecc2efa
Remove out-of-date CoC language
ErinBecker Feb 27, 2018
8f9e76c
Merge pull request #213 from ErinBecker/update-coc
rgaiacs Feb 28, 2018
e4dd616
Link DOIs to preferred resolver
katrinleinweber Mar 3, 2018
bbf3bd9
Merge pull request #214 from katrinleinweber/resolve-DOIs-securely
rgaiacs Mar 5, 2018
84e6d77
Intends to fix pr 182. Awaiting review by maintainer
krishnakumarg1984 Mar 12, 2018
d724830
Specify release repo unambiguously
katrinleinweber Mar 18, 2018
d49cecc
Fulfill reviewer request
katrinleinweber Mar 18, 2018
8151076
Merge pull request #185 from katrinleinweber/patch-1
rgaiacs Mar 18, 2018
ad4cd67
Fix source of typo #646
katrinleinweber Mar 19, 2018
10bce82
Merge pull request #219 from katrinleinweber/patch-2
rgaiacs Mar 19, 2018
797f2e5
updates URLs in bin/lesson_initialize.py to swcarpentry/lesson-exampl…
krishnakumarg1984 Mar 21, 2018
29f3997
Merge pull request #184 from krishnakumarg1984/pr/fixBrokenlinks
rgaiacs Mar 21, 2018
cd798b9
Add swc-releases to _includes/links
rgaiacs Mar 22, 2018
91a6d2a
Update Trademark
rgaiacs Mar 22, 2018
ae4a693
Improve language on CONTRIBUTING file
rgaiacs Mar 22, 2018
10a66ed
Delete 08-maintenance.md
ErinBecker Mar 28, 2018
7be2a1f
Rename 09-coffee.md to 08-coffee.md
ErinBecker Mar 29, 2018
d46a578
don't break words in code
fmichonneau Apr 4, 2018
a27e9f2
Merge pull request #190 from swcarpentry/move-maintainer-info
rgaiacs Apr 9, 2018
1182f75
check hex color using lowercase
fmichonneau Apr 9, 2018
fd9e75e
update github labels
fmichonneau Apr 9, 2018
0e3a431
Merge pull request #224 from fmichonneau/update-gh-labels
rgaiacs Apr 11, 2018
e611262
use CRAN canonical addresses for packages
fmichonneau Apr 11, 2018
1b7639d
Merge pull request #223 from fmichonneau/no-hyphens-code
rgaiacs Apr 11, 2018
5a2de30
Fix typos
karenword Apr 12, 2018
2df359c
Updating to handbook as canonical source for CoC
jduckles Apr 13, 2018
8c6a1a7
Merge pull request #225 from swcarpentry/jduck-coc
rgaiacs Apr 13, 2018
015ca0b
Merge pull request #191 from karenword/patch-1
rgaiacs Apr 13, 2018
e7f98a6
fix github meta data
fmichonneau Apr 17, 2018
1205026
Merge pull request #227 from fmichonneau/fix-gh-metadata
rgaiacs Apr 17, 2018
26ccd8c
Secure hyperlinks
katrinleinweber Mar 18, 2018
3ed2866
Resort hyperlinks alphabetically
katrinleinweber Mar 18, 2018
0d0f943
Reflect merger
katrinleinweber Mar 18, 2018
bf65236
Convert CRAN links to preferred, canonical form
katrinleinweber Mar 18, 2018
f55a015
Merge pull request #228 from rgaiacs/gh-pages
rgaiacs Apr 17, 2018
e47f4b1
Merge remote-tracking branch 'swc-styles/gh-pages' into gh-pages
rgaiacs Apr 17, 2018
a7515a2
Fix typos
katrinleinweber Mar 18, 2018
35572ec
Secure hyperlinks
katrinleinweber Mar 18, 2018
56d5aa9
Harmonize whitespace
katrinleinweber Mar 18, 2018
0ae3756
Merge pull request #192 from rgaiacs/katrinleinweber-example
rgaiacs Apr 17, 2018
17cb754
Merge pull request #167 from hoytpr/hoyt-setup
rgaiacs Apr 17, 2018
910a474
Use R terminal instead of R window
rgaiacs Apr 17, 2018
0858395
Update 05-rmarkdown-example.Rmd
raynamharris Apr 18, 2018
300be90
Merge pull request #197 from raynamharris/patch-2
rgaiacs Apr 18, 2018
51293be
links.md: remove duplicate line
maxim-belkin Apr 19, 2018
f82fed8
bin/util.py: fix error handling for Python 2
maxim-belkin Apr 19, 2018
782d6cb
Merge pull request #230 from maxim-belkin/fix-links
rgaiacs Apr 20, 2018
e9acce2
Merge pull request #231 from maxim-belkin/fix-util
rgaiacs Apr 20, 2018
d434f41
Document minimal Python version
mr-c Apr 20, 2018
93eb566
convert to py3.4 syntax, a few cleanups
mr-c Apr 20, 2018
079bbc2
Merge pull request #234 from mr-c/py34
rgaiacs May 8, 2018
cdaf429
Merge pull request #198 from mr-c/patch-1
rgaiacs May 8, 2018
1c0faba
Fix Copyright information
rgaiacs May 8, 2018
95a6248
Fix favicon
dpshelio May 8, 2018
84fcd6c
Merge pull request #240 from rgaiacs/favicon
rgaiacs May 8, 2018
667c691
Clean footer HTML
rgaiacs May 8, 2018
9ccbb18
Merge pull request #241 from rgaiacs/clean-footer
rgaiacs May 8, 2018
30f8cd1
Add note about the version of the style
rgaiacs May 8, 2018
7ccdf49
add docker-serve make target for #238
alee May 8, 2018
dd5457b
Add spacebar to style
rgaiacs May 10, 2018
808cd62
Merge pull request #199 from rgaiacs/gh-pages
rgaiacs May 10, 2018
672022e
Fix search
rgaiacs May 11, 2018
6f0df1d
Merge pull request #247 from rgaiacs/styles-246
rgaiacs May 11, 2018
3aff0b2
Merge branch 'gh-pages' into 237
rgaiacs May 13, 2018
a700bde
Merge pull request #239 from rgaiacs/237
rgaiacs May 13, 2018
54fbb57
Merge branch 'gh-pages' into add-version-to-footer
rgaiacs May 13, 2018
caa6e0b
Merge pull request #242 from rgaiacs/add-version-to-footer
rgaiacs May 13, 2018
ae426be
Fix Special Blockquotes section
rgaiacs May 13, 2018
9b391f6
Change title to "Lesson Example"
rgaiacs May 13, 2018
ccbf7af
MacOS users cannot write to system Gems directory
mkuzak May 15, 2018
9eff7ab
add favicons for all flavors
fmichonneau May 15, 2018
ce5073e
rename cc to cp for carpentries
fmichonneau May 15, 2018
f550f8b
add html for favicons
fmichonneau May 15, 2018
bfec005
fix logos and add Carpentries as an option
fmichonneau May 15, 2018
661069d
fix/add logos and icons for navbar
fmichonneau May 15, 2018
b490ea4
add cp as option in footers
fmichonneau May 15, 2018
1faa3eb
use favicons for workshop page
fmichonneau May 15, 2018
9a55cba
remove unused .ico in root folder
fmichonneau May 15, 2018
a7093ad
Merge pull request #203 from mkuzak/gh-pages
fmichonneau May 15, 2018
bc8a996
change alt text for Carpentries logo
fmichonneau May 16, 2018
d0022dc
remove unneeded files
fmichonneau May 16, 2018
3947b7d
Revert a1ab182aa4b337d426d12cd69dad2f148b6aba3c.
rgaiacs May 16, 2018
f30cc4e
Merge pull request #250 from fmichonneau/favicons
rgaiacs May 16, 2018
d5837c7
Fix links in LICENSE
remram44 May 17, 2018
7ca21f5
Merge pull request #252 from remram44/patch-1
rgaiacs May 17, 2018
51a86ac
Exit with a status of 1 if something was wrong
maxim-belkin May 17, 2018
a2c7c54
New 'permissive' flag for lesson-check
maxim-belkin May 17, 2018
2e6d3c6
Use --permissive flag with lesson-check-all
maxim-belkin May 17, 2018
8cdca1d
Merge pull request #253 from maxim-belkin/error-out
rgaiacs May 17, 2018
ea6c22b
lesson_check: switch to argparse
maxim-belkin May 18, 2018
601ad2f
lesson_check: get_val is a static method
maxim-belkin May 18, 2018
5e079a9
Python3-style inits
maxim-belkin May 18, 2018
2dd5fce
lesson_check: add missing docstring
maxim-belkin May 18, 2018
d73ae1c
Merge pull request #255 from maxim-belkin/use-argparse
rgaiacs May 18, 2018
7fdc6f8
Merge pull request #258 from maxim-belkin/add-docstring
rgaiacs May 18, 2018
b32734f
Merge pull request #257 from maxim-belkin/py3-inits
rgaiacs May 18, 2018
61416e0
repo_check: use argparse and remove unused variable
maxim-belkin May 18, 2018
3d9748e
Merge pull request #256 from maxim-belkin/static-get-val
rgaiacs May 18, 2018
40c41b0
Merge pull request #259 from maxim-belkin/fix-repocheck
rgaiacs May 18, 2018
f507875
Move boilerplate files to their own file
rgaiacs May 18, 2018
de20813
Merge pull request #260 from rgaiacs/shutil
rgaiacs May 18, 2018
aa98c3f
Fix line wrap after dash in code block
rgaiacs May 18, 2018
1e7efe2
Merge pull request #261 from rgaiacs/249
rgaiacs May 18, 2018
18b36ec
Add README to bin/lesson_initialize.py
abought May 18, 2018
ac0a549
Merge pull request #262 from rgaiacs/248
rgaiacs May 18, 2018
20bc579
Fix font size of h2 in call out box
rgaiacs May 18, 2018
11774e3
Merge pull request #263 from rgaiacs/244
rgaiacs May 18, 2018
ec50ea0
lesson_check: fix create_checker function
maxim-belkin May 20, 2018
2ba1381
utils.py: simplify report function
maxim-belkin May 20, 2018
50a8525
Merge pull request #266 from maxim-belkin/simple-report
rgaiacs May 21, 2018
feb54ba
Merge pull request #265 from maxim-belkin/not-implmntd
rgaiacs May 21, 2018
485e4ba
missing comma in boilerplate generation
jsta May 21, 2018
894d47f
Merge pull request #267 from jsta/patch-2
rgaiacs May 21, 2018
dd803bd
R package stringer to stringr
jsta May 22, 2018
1d64dbb
Remove unnecessary super call
maxim-belkin May 22, 2018
dd1fce0
util.py: make functions return NotImplemented
maxim-belkin May 22, 2018
199a809
Use Python3-style class declaration
maxim-belkin May 22, 2018
9758fd8
Merge pull request #204 from jsta/patch-2
rgaiacs May 23, 2018
961f24a
Merge pull request #268 from maxim-belkin/fix-returns
rgaiacs May 23, 2018
6d7a9d7
Merge pull request #270 from maxim-belkin/py3-classes
rgaiacs May 23, 2018
434abbe
Merge pull request #269 from maxim-belkin/fix-super-call
rgaiacs May 23, 2018
ab1ea98
Remove root and page from YAML header
rgaiacs May 23, 2018
99be104
Merge pull request #206 from rgaiacs/remove-root-and-page
rgaiacs May 23, 2018
08ce1fe
Remove root from YAML
rgaiacs May 23, 2018
3ccc406
Remove root and layout from YAML for boilerplate
rgaiacs May 23, 2018
8e1b106
Merge pull request #272 from rgaiacs/remove-root-and-layout
rgaiacs May 23, 2018
38432ed
Add Travis CI file
rgaiacs May 23, 2018
9cdd341
Merge pull request #207 from rgaiacs/travis-python
rgaiacs May 23, 2018
ee84f54
Improve .travis.yml to build the lesson
rgaiacs May 23, 2018
9126d2c
Merge pull request #275 from rgaiacs/travis-build
rgaiacs May 23, 2018
57f2069
Make Jekyll ignore .Rproj
rgaiacs May 23, 2018
0802ec9
Merge pull request #276 from rgaiacs/274
rgaiacs May 23, 2018
149e18f
Change shebang to Python3
rgaiacs May 23, 2018
9f4023a
Merge pull request #277 from rgaiacs/bin-python3
rgaiacs May 23, 2018
c0be5cc
Update Makefile
rgaiacs May 23, 2018
8f9af3d
Run lesson-fixme from within lesson-check
maxim-belkin May 23, 2018
4a85f2c
Merge pull request #278 from maxim-belkin/fix264
rgaiacs May 24, 2018
1cbe707
Merge remote-tracking branch 'swc-styles/gh-pages' into 9.5
rgaiacs May 24, 2018
f8f4cff
Fix lesson_check.py
rgaiacs May 24, 2018
c001ec8
Merge pull request #279 from rgaiacs/lesson-check
rgaiacs May 24, 2018
2a7326f
Increase version to v9.5.0
rgaiacs May 24, 2018
d6655d4
Merge tag 'v9.5.0' into gh-pages
rgaiacs May 24, 2018
c78143f
Add notes about style for emphasis and span of code
rgaiacs May 11, 2018
ff2ceff
Add minor changes to style guides
rgaiacs May 24, 2018
2828ac9
Merge pull request #201 from rgaiacs/style-span-elements
rgaiacs May 24, 2018
0f80101
Update .travis.yml
rgaiacs May 24, 2018
e1feca3
Improve Setup instructions for R
rgaiacs May 24, 2018
5d78abc
Upgrade repo's Community Profile
katrinleinweber May 27, 2018
0e0f2bf
Merge pull request #280 from katrinleinweber/patch-3
rgaiacs May 27, 2018
986a6be
remove permalink that breaks asset includes
mr-c May 30, 2018
f03403b
_config.yml: no 'mailto' in 'email'
mr-c May 30, 2018
c0266f4
Update 06-style-guide.md
Jun 1, 2018
5d9e943
Add links.md to files in boilerplate
maxim-belkin Jun 1, 2018
73683e4
Remove extra blank lines
maxim-belkin Jun 1, 2018
8249bf6
Add several FIXMEs to the template episode
maxim-belkin Jun 1, 2018
2f61821
gitIgnore for R
Jun 1, 2018
546ffa6
Merge pull request #286 from mzc9/gitIgnoreChanges
rgaiacs Jun 2, 2018
999ce61
Merge pull request #282 from mr-c/patch-1
rgaiacs Jun 2, 2018
7c6b289
Merge pull request #210 from brownsarahm/patch-1
rgaiacs Jun 2, 2018
396a399
Remove CODE_OF_CONDUCT.md
maxim-belkin Jun 1, 2018
add555b
Add CODE_OF_CONDUCT.md to boilerplate
maxim-belkin Jun 5, 2018
b488e64
Merge pull request #285 from maxim-belkin/fix-conduct
rgaiacs Jun 6, 2018
383f0c3
Fix typo on jekyll install
stijnvanhoey Jun 11, 2018
d2d5916
Adapt to suggestion of @gcapes
stijnvanhoey Jun 11, 2018
6099b78
Merge pull request #243 from alee/docker
fmichonneau Jun 11, 2018
c508edd
Merge pull request #212 from stijnvanhoey/patch-1
rgaiacs Jun 12, 2018
2a938b0
Merge pull request #284 from maxim-belkin/fix-links-md
rgaiacs Jun 12, 2018
305f7b4
update URLs to reflect consolidation to carpentries organization
fmichonneau Jun 12, 2018
90df6d3
Merge pull request #295 from carpentries/update-urls
fmichonneau Jun 12, 2018
cabf42c
update URLs to reflect transfer to carpentries organization
fmichonneau Jun 12, 2018
e650b89
fix URL
fmichonneau Jun 12, 2018
bed7cd9
Fix typo as identified by @maxim-belkin
stijnvanhoey Jun 12, 2018
1223100
[fix carpentries/styles#281] add missing include links.md
fmichonneau Jun 15, 2018
bb9b1d3
Add 'cp' (Carpentry) as a new lesson type
fmichonneau Jun 15, 2018
13802da
bump version in footer
fmichonneau Jun 15, 2018
67513ef
Merge branch 'gh-pages' of github.com:carpentries/styles into gh-pages
fmichonneau Jun 18, 2018
ba909cc
switch contact email to [email protected]
fmichonneau Jun 19, 2018
4755a6d
[fix carpentries/styles#300] add CODE_OF_CONDUCT.md to root
fmichonneau Jun 19, 2018
0ff9a92
bump version number
fmichonneau Jun 19, 2018
e5618a5
merge styles v9.5.2
fmichonneau Jun 19, 2018
d06ca0f
update _config.yml
fmichonneau Jun 19, 2018
e1d7d54
Merge pull request #218 from carpentries/update-styles-v9.5.2
fmichonneau Jun 20, 2018
16e58ce
Move brand to the Carpentries
rgaiacs Jun 22, 2018
08a953f
Merge pull request #221 from rgaiacs/carpentry
rgaiacs Jun 22, 2018
b44a4cf
Remove section Displaying Figurs
rgaiacs Jul 13, 2018
fae42d2
Merge pull request #223 from rgaiacs/remove-make-figures
rgaiacs Jul 13, 2018
eb8da64
Added lesson metadata and schema.org JSON-LD rendering
njall Jul 22, 2016
a9683b9
Merge branch 'gh-pages' of https://github.com/njall/lesson-example in…
njall Jul 31, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

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.)

contributor: [Barney Gumball, Dr Nick Riviera] # see: https://schema.org/contributor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an editor role? We currently identify the lesson maintainers as editors for publication purposes when getting DOIs from Zenodo, and list everyone who's had a commit merged as an author.

timeRequired: "1 hour" # see: https://schema.org/timeRequired
Copy link
Contributor

Choose a reason for hiding this comment

The 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This must be consistent with CITATION.

dateCreated: 2016-05-01
Copy link
Contributor

Choose a reason for hiding this comment

The 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).
#------------------------------------------------------------
Expand Down
39 changes: 39 additions & 0 deletions _includes/schema_org.html
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>
1 change: 1 addition & 0 deletions _layouts/lesson.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
layout: base
---
{% include main_title.html %}
{% include schema_org.html %}
{{ content }}
{% include syllabus.html %}