Remove duplication in layout.js
Add link to show in slides edition