mirror of
https://0xacab.org/sutty/sutty
synced 2024-12-01 10:06:22 +00:00
9 lines
309 B
Text
9 lines
309 B
Text
%tr{ id: attribute }
|
|
%th= post_label_t(attribute, :path, post: post)
|
|
%td
|
|
- if metadata.value['path'].present?
|
|
%figure
|
|
= image_tag url_for(metadata.static_file),
|
|
alt: metadata.value['description'],
|
|
class: 'img-fluid'
|
|
%figcaption= metadata.value['description']
|