Sha256: 52435ea4c303f25862379e838317ed6015dbb77fd3db37ac9bd2946f406b0633

Contents?: true

Size: 792 Bytes

Versions: 3

Compression:

Stored size: 792 Bytes

Contents

{% capture api %}
Return the HTML Bootstrap 4 blockquote, possible includes are `text, author, source, link`

- **Usage**

```liquid
{% raw %}{% include components/blockquote.html text="Markdown text" author="Author name" source="Source" link="Url" %}{% endraw %}
```

- **Return**

```html
<blockquote class="blockquote">
  Rendered Markdown text
  <footer>Author name <cite title="Source"><a href="Url">Source</a></cite></footer>
</blockquote>
```
{% endcapture %}
{%- include api/save.html -%}
<blockquote class="blockquote">
  {{ include.text | markdownify }}
  <footer>{{ include.author }} <cite title="{{ include.source }}">{% if include.link %}<a href="{{ include.link }}">{% endif %}&ldquo;{{ include.source }}&rdquo;{% if include.link %}</a>{% endif %}</cite></footer>
</blockquote>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-any-theme-0.1.2 _includes/components/blockquote.html
jekyll-any-theme-0.1.1 _includes/components/blockquote.html
jekyll-any-theme-0.1.0 _includes/components/blockquote.html