5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 13:16:56 +00:00

Merge branch 'jekyll-service' into panel.sutty.nl

This commit is contained in:
f 2022-03-09 19:33:34 -03:00
commit c929db457d

View file

@ -123,8 +123,13 @@ class MetadataFile < MetadataTemplate
end end
def static_file_path def static_file_path
case static_file.blob.service.name
when :local
File.join(site.path, 'public', static_file.key, static_file.filename.to_s)
else
static_file.blob.service.path_for(static_file.key) static_file.blob.service.path_for(static_file.key)
end end
end
# No hay archivo pero se lo describió # No hay archivo pero se lo describió
def no_file_for_description? def no_file_for_description?