talks: Add option for code link (#182)

This commit is contained in:
Sandra Parsick authored and gcushen committed 2017-08-30 00:41:37 +01:00
1 parent cf5ca46f1f
commit 61af7f55fc
1 file changed
+5
+5
View File
@@ -21,6 +21,11 @@
{{ i18n "btn_video" }}
</a>
{{ 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 }}
<a class="btn btn-primary btn-outline{{ if $is_list }} btn-xs{{end}}" href="{{ .url | absURL }}">
{{ .name }}