mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-30 01:46: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,8 +123,13 @@ class MetadataFile < MetadataTemplate
|
|||
end
|
||||
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
||||
# No hay archivo pero se lo describió
|
||||
def no_file_for_description?
|
||||
|
|
Loading…
Reference in a new issue