From 97e4c59b26f44b9ac370abe1026dcb1e4d977319 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@gmail.com> Date: Wed, 17 Jun 2020 20:27:44 -0500 Subject: [PATCH] Open links in new tab (people/publications) --- layouts/custom/people.html | 2 +- layouts/custom/publications.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/custom/people.html b/layouts/custom/people.html index 212c3b3..0efd43d 100644 --- a/layouts/custom/people.html +++ b/layouts/custom/people.html @@ -72,7 +72,7 @@ <h4>{{.Params.tit}}</h4> {{ if not (eq .Params.orcid "") }} <p> - <a href="https://orcid.org/{{.Params.orcid}}"><img + <a href="https://orcid.org/{{.Params.orcid}}" target="_blank"><img src="https://orcid.org/sites/default/files/images/orcid_16x16.png">orcid.org/{{.Params.orcid}}</a> </p> {{ end }} diff --git a/layouts/custom/publications.html b/layouts/custom/publications.html index 687e4d5..41a1a23 100644 --- a/layouts/custom/publications.html +++ b/layouts/custom/publications.html @@ -43,7 +43,7 @@ {{ if not (eq .Params.ppubmed "") }} <h4><i><a href="https://www.ncbi.nlm.nih.gov/pubmed?term={{.Params.ppubmed}}" target="_blank"> {{else}} - <h4><i><a href="{{.Params.plink}}"> + <h4><i><a href="{{.Params.plink}}" target="_blank"> {{end}} {{.Params.pauthor}}, {{.Params.pjournal}},{{.Params.pdate}}</a></i></h4> {{ range first 1 .Params.prepo }} -- GitLab