You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
655 B
16 lines
655 B
<!--{{/*
|
|
Create block and pull quotations with citations and citation links.
|
|
|
|
Basic usage:
|
|
{{< blockquote cite="https://bitly.is/2mkxskj" citelink="https://bitly.is/2mkxskj" >}}
|
|
<p>When you create your own Branded Short Domain, you can expect to see up to a 34% increase in CTR when compared to standard bit.ly links.</p>
|
|
{{< /blockquote >}}
|
|
*/}}-->
|
|
<blockquote {{ with .Get "class" }}class="{{ . }}"{{ end }} {{ with .Get "citelink" }}cite="{{ . }}"{{ end }}>
|
|
{{ .Inner }}
|
|
{{ with .Get "citelink" }}
|
|
<cite><a target="_blank" href="{{ . }}">{{ $.Get "cite" }}</a></cite>
|
|
{{ else }}
|
|
<cite>{{ .Get "cite" }}</cite>
|
|
{{ end }}
|
|
</blockquote>
|
|
|