Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

Commit 0f9bb2e

Browse files
authored
Merge pull request #559 from devopsdays/issues#554
Change verbiage on speaker page to not be talk-specific
2 parents a6ec05a + e5ac4bb commit 0f9bb2e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

layouts/speaker/single.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ <h2 class="speaker-page">{{ .Title }}</h2>
4343
{{- end -}}
4444
</span>
4545
<div class="speaker-bio-talks">
46-
<h3>Talks by {{ .Title }}</h3>
47-
<ul class="list-group list-group-flush">
46+
<h3>{{ .Title }} at {{ $e.city }} {{$e.year}}</h3>
47+
<ul class="list-group">
4848
{{- $.Scratch.Set "speaker" .File.BaseFileName -}}
4949
{{- range where $.Site.Pages "Type" "talk" -}}
5050
{{- if eq (index (split (.Permalink | relURL) "/") 2) $e.name -}}
@@ -55,9 +55,7 @@ <h3>Talks by {{ .Title }}</h3>
5555
{{- end -}}
5656
{{- end -}}
5757
{{- if eq ($.Scratch.Get "display") "true" -}}
58-
<li class= "list-group-item">
59-
<a href = "{{ .Permalink | absURL }}">{{ .Title }}</a>
60-
</li>
58+
<a href = "{{ .Permalink | absURL }}" class= "list-group-item list-group-item-action">{{ .Title }}</a>
6159
{{ $.Scratch.Set "display" "false" }}
6260
{{- end -}}
6361
{{- end -}} <!-- end if eq $talk_slug $event_slug -->

0 commit comments

Comments
 (0)