about summary refs log tree commit diff
path: root/static/admin/index.html
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 22:50:14 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-14 22:50:14 +0100
commitace1615ca8d66be3e08764780515520a6c8879d8 (patch)
treee28fcdd6dc7530524efba8dbfedc4d0d9651636e /static/admin/index.html
parent7397d34a9eeb389a5b1732a160f24d5ab0e4b3de (diff)
downloadkronika-ace1615ca8d66be3e08764780515520a6c8879d8.tar.gz
kronika-ace1615ca8d66be3e08764780515520a6c8879d8.zip
Add preview css
Diffstat (limited to 'static/admin/index.html')
-rw-r--r--static/admin/index.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/static/admin/index.html b/static/admin/index.html
index 79adafc..ec85acc 100644
--- a/static/admin/index.html
+++ b/static/admin/index.html
@@ -8,14 +8,17 @@
   <body>
     <!--[if lt IE 8]>
       <p class="browserupgrade">
-        You are using an <strong>outdated</strong> browser. Please
-        <a href="http://browsehappy.com/">upgrade your browser</a> to improve
-        your experience.
+      You are using an <strong>outdated</strong> browser. Please
+      <a href="http://browsehappy.com/">upgrade your browser</a> to improve
+      your experience.
       </p>
     <![endif]-->
 
     <noscript>You need to have javascript enabled</noscript>
     <script src="https://unpkg.com/netlify-cms@2.10.16/dist/netlify-cms.js"></script>
     <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
+    <script>
+      CMS.registerPreviewStyle("/preview.css");
+    </script>
   </body>
 </html>