You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.2 KiB

  1. doctype html
  2. html
  3. head
  4. meta(http-equiv='X-UA-Compatible', content='IE=edge')
  5. meta(charset='UTF-8')
  6. meta(name='viewport', content='user-scalable=yes, width=device-width, initial-scale=1, maximum-scale=5')
  7. meta(name='theme-color', content='#333333')
  8. meta(name='msapplication-TileColor', content='#333333')
  9. meta(name='msapplication-TileImage', content='/favicons/ms-icon-144x144.png')
  10. title= pageMeta.title + ' | ' + config.title
  11. //- SEO / OpenGraph
  12. meta(name='description', content=pageMeta.description)
  13. meta(property='og:title', content=pageMeta.title)
  14. meta(property='og:type', content='website')
  15. meta(property='og:description', content=pageMeta.description)
  16. meta(property='og:image', content=pageMeta.image)
  17. meta(property='og:url', content=pageMeta.url)
  18. meta(property='og:site_name', content=config.title)
  19. //- Favicon
  20. each favsize in [57, 60, 72, 76, 114, 120, 144, 152, 180]
  21. link(rel='apple-touch-icon', sizes=favsize + 'x' + favsize, href='/favicons/apple-icon-' + favsize + 'x' + favsize + '.png')
  22. link(rel='icon', type='image/png', sizes='192x192', href='/favicons/android-icon-192x192.png')
  23. each favsize in [32, 96, 16]
  24. link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize, href='/favicons/favicon-' + favsize + 'x' + favsize + '.png')
  25. link(rel='manifest', href='/manifest.json')
  26. //- Icon Set
  27. if config.theming.iconset === 'fa'
  28. link(
  29. type='text/css'
  30. rel='stylesheet'
  31. href='https://use.fontawesome.com/releases/v5.9.0/css/all.css'
  32. )
  33. else if config.theming.iconset === 'fa4'
  34. link(
  35. type='text/css'
  36. rel='stylesheet'
  37. href='https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css'
  38. )
  39. //- CSS
  40. script(
  41. crossorigin='anonymous'
  42. src='https://polyfill.io/v3/polyfill.min.js?features=EventSource'
  43. )
  44. //- JS
  45. script(
  46. type='text/javascript'
  47. src='/js/runtime.js'
  48. )
  49. script(
  50. type='text/javascript'
  51. src='/js/legacy.js'
  52. )
  53. != analyticsCode.head
  54. block head
  55. body
  56. != analyticsCode.bodyStart
  57. block body
  58. != analyticsCode.bodyEnd