| {{define "backgroundquote info" -}} |
| {{- with (yaml .info)}} |
| <div class="BackgroundQuote"> |
| {{- with .link}} |
| <a href="{{.}}" target="_blank" rel="noopener"> |
| {{- end}} |
| <p class="BackgroundQuote-body"> |
| “{{markdown .quote}}” |
| </p> |
| {{- if .author}} |
| <div class="BackgroundQuote-author"> |
| <span>— {{.author}}</span> |
| {{if .title}}, |
| <span class="BackgroundQuote-title">{{rawhtml .title}}</span> |
| {{- end}} |
| {{- if .company}} |
| <span class="BackgroundQuote-title"> at {{.company}}</span> |
| {{- end}} |
| </div> |
| {{- end}} |
| {{- if .link}} |
| </a> |
| {{- end}} |
| </div> |
| {{- end}} |
| {{end}} |