Do not disable icons for disableLink in talks

disableLink was originally intended to disable a link
to the locally made markdown page.
This commit is contained in:
Marcin Zajączkowski 2020-02-20 13:08:47 +01:00
parent 06b1f5d4b9
commit 05be7acdd5
1 changed files with 9 additions and 9 deletions

View File

@ -31,6 +31,7 @@
<div class="talk__title" data-title-wrap="{{ $titleWrap | default "wrap"}}" data-dir="{{ $.Param "languagedir" | default "ltr" }}">{{ .Title }}</div> <div class="talk__title" data-title-wrap="{{ $titleWrap | default "wrap"}}" data-dir="{{ $.Param "languagedir" | default "ltr" }}">{{ .Title }}</div>
{{ else }} {{ else }}
<a href="{{ if .Params.externalLink }}{{ .Params.externalLink }}{{ else }}{{ .Permalink }}{{ end }}" target="{{ with .Params.externalLink }}_blank{{ end }}" rel="{{ with .Params.externalLink }}noreferrer{{ end }}" class="talk__title" data-title-wrap="{{ $titleWrap | default "wrap"}}" data-dir="{{ $.Param "languagedir" | default "ltr" }}">{{ .Title }}</a> <a href="{{ if .Params.externalLink }}{{ .Params.externalLink }}{{ else }}{{ .Permalink }}{{ end }}" target="{{ with .Params.externalLink }}_blank{{ end }}" rel="{{ with .Params.externalLink }}noreferrer{{ end }}" class="talk__title" data-title-wrap="{{ $titleWrap | default "wrap"}}" data-dir="{{ $.Param "languagedir" | default "ltr" }}">{{ .Title }}</a>
{{ end }}
{{ with .Params.subLinks }} {{ with .Params.subLinks }}
<div class="talk__icons"> <div class="talk__icons">
{{ range . }} {{ range . }}
@ -40,7 +41,6 @@
{{ end }} {{ end }}
</div> </div>
{{ end }} {{ end }}
{{ end }}
</li> </li>
{{ end }} {{ end }}
</ul> </ul>