diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-03-20 20:00:51 +0200 |
---|---|---|
committer | Mantas <11616378+mistermantas@users.noreply.github.com> | 2019-03-20 20:00:51 +0200 |
commit | eb9fe78beb2606720143c212a2e4be72ce63a6b7 (patch) | |
tree | 0269f82a086e0389b6474138aa58de3a71303723 | |
parent | c060b30e20caa18e717ab91146176b71d989ecbf (diff) |
Fix #64
-rw-r--r-- | exampleSite/content/issues/2018-06-13-maintenance-window.md | 1 | ||||
-rw-r--r-- | layouts/issues/small.html | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/exampleSite/content/issues/2018-06-13-maintenance-window.md b/exampleSite/content/issues/2018-06-13-maintenance-window.md index 0610928..6b75810 100644 --- a/exampleSite/content/issues/2018-06-13-maintenance-window.md +++ b/exampleSite/content/issues/2018-06-13-maintenance-window.md @@ -2,7 +2,6 @@ title: Maintenance Window date: 2018-06-13 15:54:00 resolved: false -resolvedWhen: 2018-06-13 17:30:00 # Possible severity levels: down, disrupted, notice severity: disrupted affected: diff --git a/layouts/issues/small.html b/layouts/issues/small.html index 6833b68..ef30b75 100644 --- a/layouts/issues/small.html +++ b/layouts/issues/small.html @@ -65,10 +65,6 @@ {{ .Title }} </h3> - {{ $t := (time .Params.ResolvedWhen) }} - {{ $timeDiff := (sub $t.Unix .Date.Unix) }} - {{ $diffInMin := (div $timeDiff 60) }} - <!-- Marker --> <div class="error">{{ T "downtimeOngoing" }}</div> |