| 12345678910111213141516171819202122232425262728293031323334353637 | 
							- {{ $is_list := .is_list }}
 
- {{ $ := .content }}
 
- {{ with $.Params.url_pdf }}
 
- <a class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}}" href="{{ . | absURL }}">
 
-   {{ i18n "btn_pdf" }}
 
- </a>
 
- {{ end }}
 
- {{ with $.Params.url_slides }}
 
- <a class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}}" href="{{ . | absURL }}">
 
-   {{ i18n "btn_slides" }}
 
- </a>
 
- {{ end }}
 
- {{ with $.Params.url_video }}
 
- <a class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}}" href="{{ . | absURL }}">
 
-   {{ i18n "btn_video" }}
 
- </a>
 
- {{ end }}
 
- {{ with $.Params.url_code }}
 
- <a class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}}" href="{{ . | absURL }}">
 
-   {{ i18n "btn_code" }}
 
- </a>
 
- {{ end }}
 
- {{ range $.Params.projects }}
 
-   {{ with ($.Site.GetPage (printf "project/%s" .)) }}
 
-   <a class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}}" href="{{ .Permalink }}">
 
-     {{ i18n "btn_project" }}
 
-   </a>
 
-   {{ else }}
 
-     {{ errorf "The `projects` parameter in `content/%s` references a project file, `content/project/%s`, which cannot be found. Please either set `projects = []` or fix the reference." $.File.Path . }}
 
-   {{ end }}
 
- {{ end }}
 
- {{ range $.Params.url_custom }}
 
- <a class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}}" href="{{ .url | absURL }}">
 
-   {{ .name }}
 
- </a>
 
- {{ end }}
 
 
  |