mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
publications: Fix pub type link in multilingual mode (#232)
This commit is contained in:
parent
4a2d20a8f9
commit
4a2a754f1d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@
|
|||
<div class="col-xs-12 col-sm-3 pub-row-heading">{{ i18n "publication_type" }}</div>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
{{ range $index, $pubtype := .Params.publication_types }}
|
||||
<a href="{{ "/publication/" | relURL }}#{{ . | urlize }}">
|
||||
<a href="{{ "/publication/" | relLangURL }}#{{ . | urlize }}">
|
||||
{{ index $.Site.Params.publication_types (int .) }}
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue