diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-26 15:22:19 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-26 15:22:19 +0200 |
| commit | cae0d53e2dab523327f93a0a6df277789543c6fd (patch) | |
| tree | 227b8cb7751921c7727bdf38e157648e8d764505 /static/site.html | |
| parent | 0982dd998e60c218a94857a9fb89afb331be7450 (diff) | |
more involved site export process for the last museum
Diffstat (limited to 'static/site.html')
| -rw-r--r-- | static/site.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/static/site.html b/static/site.html index 9a41081..5c57968 100644 --- a/static/site.html +++ b/static/site.html @@ -2,17 +2,20 @@ <html> <head> <meta charset="UTF-8"> -<title>PAGE_TITLE</title> +<title>{{PAGE_TITLE}}</title> <meta name="viewport" content="width=device-width,initial-scale=1.0"> -CUSTOM_HEADER <link rel="stylesheet" type="text/css" href="SITE_PATH/site.css" /> +{{CUSTOM_HEADER}} <link rel="stylesheet" type="text/css" href="{{SITE_PATH}}/site.css" /> <style> html { background: #000; } +._swimmer_content { opacity: 0; height: 1px; width: 1px; overflow: hidden; } </style> </head> -<body> +<body><div class="_swimmer_content">{{CUSTOM_CONTENT}}</div> <script> var s = document.createElement('script'); -s.setAttribute('src', 'BUNDLE_PATH?' + Math.round(Date.now() / 30000)) +s.setAttribute('src', '{{BUNDLE_PATH}}?' + Math.round(Date.now() / 30000)) document.body.appendChild(s) +document.querySelector("._swimmer_content").remove() </script> +{{CUSTOM_FOOTER}} </html> |
