commit 5dcf2616de9e5ccd2d7278e54461d0c5fe66103f parent 835f689a3bef56e1cd395530b2581ca48663206f Author: Frederic Cambus <fred@statdns.com> Date: Thu, 18 Oct 2018 22:33:23 +0200 Linting Diffstat:
M | bin/motyl | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bin/motyl b/bin/motyl @@ -86,8 +86,10 @@ def render(directory, templates, data) data['page']['categories'].each do |category| data['categories'][category] ||= [] data['categories'][category].push(data['page']) - data['page']['categoryDisplay'].push('category' => category, - 'url' => data['site']['categoryMap'][category]) + data['page']['categoryDisplay'].push( + 'category' => category, + 'url' => data['site']['categoryMap'][category] + ) end end