refactor: rename _partials
to _includes
This commit is contained in:
parent
0482badc95
commit
a445072048
17 changed files with 0 additions and 0 deletions
8
source/_includes/figure.html.twig
Normal file
8
source/_includes/figure.html.twig
Normal file
|
@ -0,0 +1,8 @@
|
|||
<figure class="block">
|
||||
<img src="{{ image.src }}" alt="{{ image.alt }}" class="p-1 border">
|
||||
{% if caption %}
|
||||
<figcaption class="mt-1 mb-0 italic text-sm text-center text-gray-800">
|
||||
{{ caption }}
|
||||
</figcaption>
|
||||
{% endif %}
|
||||
</figure>
|
Loading…
Add table
Add a link
Reference in a new issue