overleaf/services/web/app/views/layout/layout-no-js.pug
Jakob Ackermann a1c74f27d9 Merge pull request #4926 from overleaf/jpa-webpack-dynamic-entrypoint-chunks
[web] get the list of js/css entrypoint chunks from webpack manifest

GitOrigin-RevId: 42a8d3606e461e8d9eebcc754e3207d5be1746ab
2021-09-09 08:02:57 +00:00

19 lines
419 B
Text

doctype html
html(lang="en")
- metadata = metadata || {}
block vars
head
if (metadata && metadata.title)
title= metadata.title
if metadata && metadata.viewport
meta(name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes")
link(rel="icon", href="/favicon.ico")
if entrypointStyles
each file in entrypointStyles('main')
link(rel='stylesheet', href=file)
block body