parent
d0f8c86d2f
commit
0001895968
|
@ -86,6 +86,7 @@ For example, suppose you have a special image syntax with complex formatting, an
|
||||||
<a href="http://jekyllrb.com">
|
<a href="http://jekyllrb.com">
|
||||||
<img src="logo.png" style="max-width: 200px;"
|
<img src="logo.png" style="max-width: 200px;"
|
||||||
alt="Jekyll logo" />
|
alt="Jekyll logo" />
|
||||||
|
</a>
|
||||||
<figcaption>This is the Jekyll logo</figcaption>
|
<figcaption>This is the Jekyll logo</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
```
|
```
|
||||||
|
@ -98,6 +99,7 @@ You could templatize this content in your include and make each value available
|
||||||
<a href="{{ include.url }}">
|
<a href="{{ include.url }}">
|
||||||
<img src="{{ include.file }}" style="max-width: {{ include.max-width }};"
|
<img src="{{ include.file }}" style="max-width: {{ include.max-width }};"
|
||||||
alt="{{ include.alt }}"/>
|
alt="{{ include.alt }}"/>
|
||||||
|
</a>
|
||||||
<figcaption>{{ include.caption }}</figcaption>
|
<figcaption>{{ include.caption }}</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue