5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-05 09:16:57 +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,7 +123,12 @@ class MetadataFile < MetadataTemplate
end
def static_file_path
static_file.blob.service.path_for(static_file.key)
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)
end
end
# No hay archivo pero se lo describió