| {{define "pullquote info" -}} |
| {{- with (yaml .info)}} |
| <div class="PullQuote"> |
| <div class="PullQuote-quoteHeader"> |
| <img class="PullQuote-image" src="/images/quote.svg" alt="Quotation mark."> |
| </div> |
| <p class="PullQuote-body"> |
| {{markdown .quote}} |
| </p> |
| {{- if .author}} |
| <div class="PullQuote-author"> |
| {{- with .link}} |
| <a |
| class="PullQuote-link" |
| href="{{.}}" |
| target="_blank" |
| rel="noopener"> |
| {{- end}} |
| <span> |
| — {{.author -}} |
| </span> |
| {{if .title}}, |
| <span class="PullQuote-title">{{rawhtml .title}}</span> |
| {{- end}} |
| {{- if .company}} |
| <span class="PullQuote-title"> at {{.company -}}</span> |
| {{- end}} |
| {{- with .link}}</a>{{end}} |
| </div> |
| {{- end}} |
| </div> |
| {{- end}} |
| {{end}} |
| |