mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Update documentation
This commit is contained in:
5
website/site/templates/shortcodes/buttonright.html
Normal file
5
website/site/templates/shortcodes/buttonright.html
Normal file
@ -0,0 +1,5 @@
|
||||
<div class="is-clearfix">
|
||||
<a class="button is-pulled-right {{ classes }}" href="{{ href }}">
|
||||
{{ text }}
|
||||
</a>
|
||||
</div>
|
@ -1,5 +1,10 @@
|
||||
<figure class="image">
|
||||
{% set len = page.components | length %}
|
||||
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
|
||||
{% if page is defined %}
|
||||
{% set len = page.components | length %}
|
||||
{% set p = page.components | slice(end=len - 1) | join(sep='/') %}
|
||||
{% else %}
|
||||
{% set p = section.components | join(sep='/') %}
|
||||
{% endif %}
|
||||
|
||||
<img src="{{ get_url(path=p ~ "/" ~ file) }}">
|
||||
</figure>
|
||||
|
Reference in New Issue
Block a user