mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 22:56:21 +00:00
Merge branch 'jekyll-service' into panel.sutty.nl
This commit is contained in:
commit
c929db457d
1 changed files with 6 additions and 1 deletions
|
@ -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ó
|
||||
|
|
Loading…
Reference in a new issue