set url target link to blank

This commit is contained in:
HenzelMoras 2021-04-01 14:09:53 +05:30
parent fa946af504
commit 1bf9074400
7 changed files with 8 additions and 8 deletions

View file

@ -27,7 +27,7 @@
<div class="row">
<div class="col-lg-10 col-md-8">
{{ if .institution.url }}
<h5><a href="{{ .institution.url }}">{{ .institution.name }}</a></h5>
<h5><a href="{{ .institution.url }}" target="_blank">{{ .institution.name }}</a></h5>
{{ else }}
<h5>{{ .institution.name }}</h5>
{{ end }}
@ -43,7 +43,7 @@
<h6 class="text-muted">{{ i18n "publications"}}</h6>
<ul>
{{ range .publications }}
<li><a href="{{ .url }} ">{{ .title }}</a></li>
<li><a href="{{ .url }} " target="_blank">{{ .title }}</a></li>
{{ end }}
</ul>
</div>