_layouts/default.html in editorial-autogestiva-jekyll-theme-0.2.2 vs _layouts/default.html in editorial-autogestiva-jekyll-theme-0.2.3

- old
+ new

@@ -29,9 +29,15 @@ <div class="col"> {{ content }} </div> </div> - {% include_cached footer.html %} + {%- if page contains 'footer' -%} + {%- assign footer = page.footer -%} + {%- else -%} + {%- assign footer = true -%} + {%- endif -%} + + {% include_cached footer.html footer=footer %} </main> </body> </html>