diff --git a/gatsby/lobid/src/components/publications.html.js b/gatsby/lobid/src/components/publications.html.js index bcb8d29..d0883a9 100644 --- a/gatsby/lobid/src/components/publications.html.js +++ b/gatsby/lobid/src/components/publications.html.js @@ -11,16 +11,19 @@ export default class Publications extends React.Component {

{this.props.publications}

- + {this.props.pubs.map(publication => - +
{publication.datePublished} {publication.name.de || publication.name.en || publication.id}{publication.about && publication.about.map(a => -

 {simpleId(a.id)}

- )}
+ {publication.about &&  } + {publication.about && publication.about.map((a,i) => + {simpleId(a.id)}{i < publication.about.length - 1 && ", "} + )} + {publication.type.map(t => t.match(/[A-Z][a-z]+/)[0])} JSON-LD