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

Commit a2b8f36

Browse files
committed
Merge branch 'master' of github.com:devopsdays/devopsdays-theme
2 parents 7b31143 + 6a85205 commit a2b8f36

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

REFERENCE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ Pages of the type `speaker` have a few additional frontmatter elements available
271271
| `facebook` | No | Speaker's Facebook URL | "https://www.facebook.com/matt.stratton" |
272272
| `linkedin` | No | Speaker's LinkedIn URL | "https://www.linkedin.com/in/mattstratton/" |
273273
| `github` | No | Speakers' GitHub username. | "mattstratton" |
274+
| `gitlab` | No | Speakers' GitLab username. | "mattstratton" |
274275
| `image` | No | The image for the speaker. This image is relative to the `static/events/YYYY-CITY/speakers` directory. It can be either .png or .jpg. It must be square, and 300px square, 600px square, or 900px square. | "matt-stratton.jpg" |
275276

276277
### Blog Post Fields

layouts/shortcodes/list_organizers.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ <h6 class="card-subtitle mb-2 text-muted">{{ .employer }}</h6>
4040
{{- if .github -}}
4141
<a href = "http://github.com/{{ .github }}"><i class="fa fa-github fa-2x" aria-hidden="true"></i></a>&nbsp;
4242
{{- end -}}
43+
{{- if .gitlab -}}
44+
<a href = "https://gitlab.com/{{ .gitlab}}"><i class="fa fa-gitlab fa-2x" aria-hidden="true"></i></a>&nbsp;
45+
{{- end -}}
4346
</div>
4447
</div>
4548
</div>

layouts/talk/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ <h2 class="talk-page">Speaker</h2>
118118
<a href = "{{ (printf "events/%s/speakers/%s" $e.name ($.Scratch.Get "speakername")) | absURL}}">
119119
{{- if isset .Params "image" -}}
120120
{{- if ne .Params.image "" -}}
121-
<img src = "{{ (printf "events/%s/speakers/%s" $e.name .Params.image) | absURL }}" class="img-fluid" alt="{{ $.Scratch.Get "speakername" }}"/><br />
121+
<img src = "{{ (printf "events/%s/speakers/%s" $e.name .Params.image) | absURL }}" class="img-fluid" alt="{{ $.Scratch.Get "speakername" }}"/><br /><br />
122122
{{- end -}}
123123
{{- else -}}
124-
<img src = "{{"img/speaker-default.jpg" | absURL }}" class="img-fluid" alt="{{ $.Scratch.Get "speakername" }}"/><br />
124+
<img src = "{{"img/speaker-default.jpg" | absURL }}" class="img-fluid" alt="{{ $.Scratch.Get "speakername" }}"/><br /><br />
125125
{{- end -}}
126126
<h4 class="talk-page"><a href = "{{ (printf "events/%s/speakers/%s" $e.name ($.Scratch.Get "speakername")) | absURL }}">
127127
{{ .Title }}

0 commit comments

Comments
 (0)