mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
talks: Add option for code link (#182)
This commit is contained in:
parent
cf5ca46f1f
commit
61af7f55fc
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@
|
||||||
{{ i18n "btn_video" }}
|
{{ i18n "btn_video" }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ with $.Params.url_code }}
|
||||||
|
<a class="btn btn-primary btn-outline{{ if $is_list }} btn-xs{{end}}" href="{{ . | absURL }}">
|
||||||
|
{{ i18n "btn_code" }}
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
{{ range $.Params.url_custom }}
|
{{ range $.Params.url_custom }}
|
||||||
<a class="btn btn-primary btn-outline{{ if $is_list }} btn-xs{{end}}" href="{{ .url | absURL }}">
|
<a class="btn btn-primary btn-outline{{ if $is_list }} btn-xs{{end}}" href="{{ .url | absURL }}">
|
||||||
{{ .name }}
|
{{ .name }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue