diff --git a/app/views/posts/attribute_ro/_file.haml b/app/views/posts/attribute_ro/_file.haml index 55c086f..a941839 100644 --- a/app/views/posts/attribute_ro/_file.haml +++ b/app/views/posts/attribute_ro/_file.haml @@ -2,6 +2,4 @@ %th= post_label_t(attribute, :path, post: post) %td - if metadata.value['path'].present? - %figure - = link_to url_for(metadata.static_file) - %figcaption= metadata.value['description'] + = link_to metadata.value['description'], url_for(metadata.static_file)