aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/static/img/README.md1
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/meta.html13
-rw-r--r--static/admin/config.yml4
-rw-r--r--static/sw.js14
5 files changed, 12 insertions, 22 deletions
diff --git a/exampleSite/static/img/README.md b/exampleSite/static/img/README.md
new file mode 100644
index 0000000..5f250f1
--- /dev/null
+++ b/exampleSite/static/img/README.md
@@ -0,0 +1 @@
+For users of Netlify CMS with cState, `static/img` is the media folder in the config.
diff --git a/layouts/index.html b/layouts/index.html
index f5fbb05..9082595 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -139,6 +139,8 @@
<h3>Is it the calm before the storm?</h3>
<p>This status page has no logged incidents. This may be because the status page owner (or owners) have recently set up their status page, have had no downtime, or have not logged any downtime.</p>
<div class="padding"></div>
+ <div class="padding"></div>
+ <div class="padding"></div>
{{ else }}
{{ $paginator := .Paginate $incidents .Site.Params.incidentPostsPerPage }}
{{ range $paginator.Pages }}
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index ef9e3af..eb4e33a 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -45,8 +45,6 @@
box-sizing: inherit;
}
- ::selection { background: #B4D5FF; }
-
hr {
border: 0;
border-bottom: 1px solid #ccc;
@@ -200,13 +198,13 @@
}
.logo img {
- height: 128px;
- width: auto;
+ height: auto;
+ width: 320px;
}
.logo--small img {
- height: 64px;
- width: auto;
+ height: auto;
+ width: 160px;
}
.tabs { border-bottom: 1px solid #ccc; }
@@ -284,6 +282,9 @@
display: inline;
}
}
+
+ ::selection { background: #B4D5FF; }
+ html { -webkit-tap-highlight-color: rgba(0,0,0, 0.25); }
</style>
{{ if .Site.Params.enableCustomHTML }}
{{ partial "custom/meta" . }}
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
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();
- }
-});