The demo website's source code can be found in index.html. The demo website shows: how to generate the crossword layout in a JSON format how to generate the crossword layout in a plain text grid ...
and thus code sharing using partials/layouts, was not an option. The purpose is to avoid repetition of code that is shared between several pages, e.g. header, navigation and footer, while still ...