diff --git a/_layouts/base.html b/_layouts/base.html
new file mode 100644
index 00000000..f9c7d2b4
--- /dev/null
+++ b/_layouts/base.html
@@ -0,0 +1,47 @@
+
+
+
+
+ Bitcoin - {{ page.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ content }}
+
+
+
+
+
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 00000000..a151d717
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,40 @@
+---
+layout: base
+---
+
+
+
+
+
+
+
+
+ {% for post in site.posts %}
+ -
+ {{ post.title }}
+ {{ post.date | date:"%Y-%m-%d" }}
+
+ {% endfor %}
+
+
+
+
{{ page.title }}
+ {{ content }}
+
+
+
diff --git a/index.html b/index.html
index b7bac62f..b4bd61ea 100644
--- a/index.html
+++ b/index.html
@@ -1,47 +1,17 @@
---
+layout: base
+title: P2P digital currency
DOWNLOAD_VERSION: 0.3.24
ALERT_CLASS:
ALERT:
---
-
-
-
-
- Bitcoin - P2P digital currency
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -157,6 +127,14 @@ ALERT:
+
+ News
+ {% for post in site.posts limit: 1 %}
+ {{ post.title }} {{ post.date | date:"%e %B %Y" }}
+ {{ post.content }}
+ {% endfor %}
+ News archive
+
About Bitcoin
@@ -223,17 +201,3 @@ ALERT:
-
-
-
-
-
diff --git a/lib/bitcoin.less b/lib/bitcoin.less
index dd9ecc10..aa586081 100644
--- a/lib/bitcoin.less
+++ b/lib/bitcoin.less
@@ -12,9 +12,12 @@ img.icon {
color: #fff;
}*/
+body {
+ padding-top: 40px;
+}
+
.overview {
background: #f5f5f5;
- padding-top: 2em;
border-bottom: 1px solid #eee;
}
@@ -24,21 +27,20 @@ img.icon {
.well;
}
+#masthead + div {
+ padding-top: 2em;
+}
+
#masthead {
#gradient > .vertical(#004D9F, #049CD9);
.inner {
box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.1);
background-image: url(innerbg.png);
+ padding-top: 2em;
}
color: #fff;
-}
-
-#masthead {
- .inner {
- padding-top: 60px;
- }
.primarybox {
p {
@@ -54,28 +56,28 @@ img.icon {
}
}
- a {
- font-weight: bold;
- color: #fff;
+ a {
+ font-weight: bold;
+ color: #fff;
- &:hover {
- color: #fff;
- }
- }
+ &:hover {
+ color: #fff;
+ }
+ }
}
}
footer {
padding-bottom: 6em;
- background: transparent url(../img/blockchain.png) right 10px no-repeat;
+ background: transparent url(../img/blockchain.png) right 10px no-repeat;
}
img.logo {
- vertical-align: middle;
- position: absolute;
- left: -80px;
- z-index: 100;
+ vertical-align: middle;
+ position: absolute;
+ left: -80px;
+ z-index: 100;
}
section {
@@ -83,10 +85,10 @@ section {
}
.right {
- float: right;
+ float: right;
}
#thelogo {
- vertical-align: top;
- margin-right: 4px;
+ vertical-align: top;
+ margin-right: 4px;
}
diff --git a/news.html b/news.html
new file mode 100644
index 00000000..f733c79d
--- /dev/null
+++ b/news.html
@@ -0,0 +1,3 @@
+---
+layout: post
+---