From aacd468d9e5cae4e689f9f70e932d9a496d6a6ba Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 24 Jul 2018 17:04:23 +0300 Subject: Netlify CMS stuff --- static/sw.js | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 static/sw.js (limited to 'static') diff --git a/static/sw.js b/static/sw.js deleted file mode 100644 index e778677..0000000 --- a/static/sw.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -self.addEventListener('notificationclick', function(e) { - var notification = e.notification; - var primaryKey = notification.data.primaryKey; - var action = e.action; - - if (action === 'close') { - notification.close(); - } else { - clients.openWindow(permalink); - notification.close(); - } -}); -- cgit v1.2.3-70-g09d2 From 4aa7641385b2ae9e6a820778649728d42bce5607 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Thu, 2 Aug 2018 18:27:40 +0300 Subject: Fix YAML indent --- static/admin/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/admin/config.yml b/static/admin/config.yml index 7749a76..2909785 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -13,8 +13,8 @@ backend: name: git-gateway media_folder: "static/img" public_folder: "/img" - # Do not change this! - collections: +# Do not change this! +collections: # Used in routes, e.g., /admin/collections/blog - name: "issue" # Used in the UI -- cgit v1.2.3-70-g09d2