adding to staff
This commit is contained in:
parent
532f417ff4
commit
52778d94b7
6 changed files with 16 additions and 3 deletions
|
@ -1,8 +1,12 @@
|
|||
{% if not op %} {% set op = "fill" -%} {% endif %}
|
||||
{% if not height %} {% set height = 450 -%} {% endif %}
|
||||
{% if not width %} {% set width = 600 -%} {% endif %}
|
||||
{% if page.colocated_path %}
|
||||
{% set image = resize_image(path=page.colocated_path ~ path, width=width, height=height, op=op) %}
|
||||
<div class="w-full rounded-lg place-content-center">
|
||||
{% else %}
|
||||
{% set image = resize_image(path=path, width=width, height=height, op=op) %}
|
||||
{% endif %}
|
||||
<div class="w-full flex basis-full place-content-center">
|
||||
<img class="py-0 rounded-lg shadow-xl object-cover w-[{{width}}px] h-[{{height}}px]"
|
||||
src="{{ image.url }}" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue