From 46f9325e9f87a1c6d1a945db375a2cd5550f240a Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Thu, 15 Jul 2021 18:24:46 +0200 Subject: [PATCH] Shorten publication type label, don't link (#445) --- gatsby/lobid/src/components/publications.html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatsby/lobid/src/components/publications.html.js b/gatsby/lobid/src/components/publications.html.js index 3d20ffd..bbaec97 100644 --- a/gatsby/lobid/src/components/publications.html.js +++ b/gatsby/lobid/src/components/publications.html.js @@ -21,7 +21,7 @@ export default class Publications extends React.Component { {publication.about && publication.about.map(a =>

 {simpleId(a.id)}

)} - {publication.type} + {publication.type.match(/[A-Z][a-z]+/)[0]} JSON-LD )}