From 7ff5b4b4e0f0766b6aef60e11c8647a69176db79 Mon Sep 17 00:00:00 2001
From: Saivann
Date: Tue, 6 Aug 2013 13:59:25 -0400
Subject: [PATCH] Move lastmod into alert pages content
---
README.md | 7 ++++---
_alerts/2012-02-18-protocol-change.html | 5 ++++-
_alerts/2012-03-16-critical-vulnerability.html | 5 ++++-
_alerts/2012-05-14-dos.html | 5 ++++-
_alerts/2013-03-11-chain-fork.html | 5 ++++-
_alerts/2013-03-15-upgrade-deadline.html | 5 ++++-
_layouts/alert.html | 3 ---
7 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index b8a9a655..923b831f 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,6 @@ Network alerts should be placed in `_alerts/YYYY-MM-DD-SHORTITLE.html` and adher
```
---
title: "11/12 March 2013 Chain Fork"
-lastmod: "Fri Mar 16 22:58:00 UTC 2012"
alias: "chainfork"
active: true
banner: "Chain fork - Please stop mining on bitcoin version 0.8.0. Click here for more information."
@@ -89,12 +88,14 @@ A chain fork is happening. Please stop mining on bitcoin version 0.8.0. Your bit
More information will follow.
+
+ This notice last updated: Fri Mar 16 22:58:00 UTC 2012
+
```
* `SHORTTITLE` is used to construct the URL.
* `title: ...` will be used as the title in the layout.
-* `lastmod: ...` will be used as the last modification date in the layout.
-* `alias: ...` (optional) a short alias to be used for Bitcoin-Qt alerts. Ex. "dos" will produce /dos.html
+* `alias: ...` (optional) a short alias for Bitcoin-Qt alerts. Ex. "dos" will produce /dos.html
* `active: ...` (true or false) define if the alert should appear as ongoing in the network status page.
* `banner: ...` (optional) a short text that will be displayed in a red alert banner and link to the alert page.
diff --git a/_alerts/2012-02-18-protocol-change.html b/_alerts/2012-02-18-protocol-change.html
index 7a6ae243..ed10e569 100644
--- a/_alerts/2012-02-18-protocol-change.html
+++ b/_alerts/2012-02-18-protocol-change.html
@@ -1,6 +1,5 @@
---
title: "February 20, 2012 Protocol Changes"
-lastmod: "Mon Feb 20 00:10:00 UTC 2012"
alias: "feb20"
active: false
banner: ""
@@ -35,3 +34,7 @@ channel on Freenode IRC.
If there are unexpected difficulties this page will be updated with
relevant information.
+
+
+ This notice last updated: Mon Feb 20 00:10:00 UTC 2012
+
diff --git a/_alerts/2012-03-16-critical-vulnerability.html b/_alerts/2012-03-16-critical-vulnerability.html
index 994dcbdc..9342cf5c 100644
--- a/_alerts/2012-03-16-critical-vulnerability.html
+++ b/_alerts/2012-03-16-critical-vulnerability.html
@@ -1,6 +1,5 @@
---
title: "Potentially Critical Security Vulnerability"
-lastmod: "Fri Mar 16 22:58:00 UTC 2012"
alias: "critfix"
active: false
banner: ""
@@ -226,3 +225,7 @@ href="https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/test/
href="https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/">
0.5.3.1 för Windows och 0.5.3 för Linux
+
+
+ This notice last updated: Fri Mar 16 22:58:00 UTC 2012
+
diff --git a/_alerts/2012-05-14-dos.html b/_alerts/2012-05-14-dos.html
index f69e77d3..be110aaf 100644
--- a/_alerts/2012-05-14-dos.html
+++ b/_alerts/2012-05-14-dos.html
@@ -1,6 +1,5 @@
---
title: "CVE-2012-2459: Critical Vulnerability (denial-of-service)"
-lastmod: "Mon May 14 17:00:00 UTC 2012"
alias: "dos"
active: false
banner: ""
@@ -60,3 +59,7 @@ Could this bug be used to install malware on my system?
No.
+
+
+ This notice last updated: Mon May 14 17:00:00 UTC 2012
+
diff --git a/_alerts/2013-03-11-chain-fork.html b/_alerts/2013-03-11-chain-fork.html
index f4428a29..18358e6c 100644
--- a/_alerts/2013-03-11-chain-fork.html
+++ b/_alerts/2013-03-11-chain-fork.html
@@ -1,6 +1,5 @@
---
title: "11/12 March 2013 Chain Fork Information"
-lastmod: "16 May 2013 01:37 UTC"
alias: "chainfork"
active: false
banner: ""
@@ -36,3 +35,7 @@ The core developers have investigated what caused the old versions to reject the
blocks, and have released a 0.8.1 version that avoids creating blocks that are incompatible with
older versions. A full post-mortem document has been published.
+
+
+ This notice last updated: 16 May 2013 01:37 UTC
+
diff --git a/_alerts/2013-03-15-upgrade-deadline.html b/_alerts/2013-03-15-upgrade-deadline.html
index 691cd465..587f7c80 100644
--- a/_alerts/2013-03-15-upgrade-deadline.html
+++ b/_alerts/2013-03-15-upgrade-deadline.html
@@ -1,6 +1,5 @@
---
title: "15 May 2013 Upgrade Deadline"
-lastmod: "10 May 2013 21:30 UTC"
alias: "may15"
active: false
banner: ""
@@ -67,3 +66,7 @@ that bug, we determined that the bug can happen even if the entire network was
still running old versions of Bitcoin-Qt/bitcoind. Therefore, the only option is to
require everybody to either upgrade or workaround the bug.
+
+
+ This notice last updated: 10 May 2013 21:30 UTC
+
diff --git a/_layouts/alert.html b/_layouts/alert.html
index 7750b896..da2ffb14 100644
--- a/_layouts/alert.html
+++ b/_layouts/alert.html
@@ -10,8 +10,5 @@ lang: en
{{ page.title }}
{{ page.date | date:"%e %B %Y" }}
{{ content }}
-
- This notice last updated: {{ page.lastmod }}
-
Go back to the network alerts history