| head { |
| meta("http-equiv":"Content-Type", content:"text/html;charset=UTF-8") newLine() |
| title("${config.blog_title} :: ${content.title?:tag}") newLine() |
| |
| // For now, try to reproduce the layout of the current website, to be able to compare pages |
| link(rel:"icon", href:"${config.site_contextPath}res/favicon.ico") newLine() |
| link(rel:"stylesheet", href:"https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css") newLine() |
| link(rel:"stylesheet", href:"${config.site_contextPath}res/css/site.css") newLine() |
| |
| // highlightjs.org |
| link(rel:'stylesheet', href:'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css') newLine() |
| yieldUnescaped "<script src='https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js'></script>" |
| script { |
| yield 'hljs.initHighlightingOnLoad();' |
| } newLine() |
| } |