diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-01-19 13:31:23 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-01-19 13:31:23 +0100 |
commit | 8f3b18f6285ef50ff337b267f300ea9260fe42fb (patch) | |
tree | b26e961be10bbd749c5b75656486fba9447c2a05 /render.js | |
parent | 8a374d3402764f4bdf2f8ba48ad79fbd2cc7b32a (diff) | |
download | site-8f3b18f6285ef50ff337b267f300ea9260fe42fb.tar.gz site-8f3b18f6285ef50ff337b267f300ea9260fe42fb.zip |
Migrate to garage
Diffstat (limited to 'render.js')
-rw-r--r-- | render.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ const propagate_nice_name = prefix => tree => { if (splitted.length > 0) { tree.nice_path = splitted.slice(0, -1) tree.nice_name = splitted[splitted.length - 1].split('.')[0] - tree.url = without_prefix + tree.url = tree.type == 'folder' ? without_prefix + '/' : without_prefix log('[propagate_nice_name]', [...tree.nice_path, tree.nice_name].join('|')) } |