summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaz <paz@nadir.org>2015-08-20 14:06:49 +0200
committerpaz <paz@nadir.org>2015-08-20 14:06:49 +0200
commitbaac60ef7414b84fe986313f4d23ce7f04603fcf (patch)
treebb59f367e643bd4e10423c5851ea391b0b22ef6a
parente1bdf0f11b8f5ba6223c70e2055c06bb671ee4b9 (diff)
Split subtitle from title.
And a little more styling.
-rw-r--r--_layouts/default.haml12
-rw-r--r--_layouts/default.html12
-rw-r--r--_layouts/page.haml1
-rw-r--r--_layouts/page.html1
-rw-r--r--index.haml3
5 files changed, 28 insertions, 1 deletions
diff --git a/_layouts/default.haml b/_layouts/default.haml
index c71a592..6cc1954 100644
--- a/_layouts/default.haml
+++ b/_layouts/default.haml
@@ -16,6 +16,18 @@
float: right;
margin: 0 0 0 2%;
}
+ h1 {
+ padding: 0;
+ margin-bottom: 0;
+ }
+ #subtitle {
+ color: #999999;
+ font-weight: bold;
+ font-size: 1.1em;
+ }
+ header {
+ margin-bottom: 2em;
+ }
%body
%img#logo{src: 'images/schleuder.png'}
diff --git a/_layouts/default.html b/_layouts/default.html
index c17152e..a718cde 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -15,6 +15,18 @@
float: right;
margin: 0 0 0 2%;
}
+ h1 {
+ padding: 0;
+ margin-bottom: 0;
+ }
+ #subtitle {
+ color: #999999;
+ font-weight: bold;
+ font-size: 1.1em;
+ }
+ header {
+ margin-bottom: 2em;
+ }
</style>
</head>
<body>
diff --git a/_layouts/page.haml b/_layouts/page.haml
index 6ad406c..83b6f9b 100644
--- a/_layouts/page.haml
+++ b/_layouts/page.haml
@@ -5,4 +5,5 @@ layout: default
.page
%header
%h1 {{ page.title }}
+ #subtitle {{ page.subtitle }}
%article {{ content }}
diff --git a/_layouts/page.html b/_layouts/page.html
index 6b539ce..5ec42a7 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,6 +2,7 @@ layout: default
<div class='page'>
<header>
<h1>{{ page.title }}</h1>
+ <div id='subtitle'>{{ page.subtitle }}</div>
</header>
<article>{{ content }}</article>
</div>
diff --git a/index.haml b/index.haml
index b7d6426..bdb22a2 100644
--- a/index.haml
+++ b/index.haml
@@ -1,6 +1,7 @@
---
layout: page
-title: Schleuder <small> — a gpg-enabled mailinglist with remailing-capabilities.</small>
+title: Schleuder
+subtitle: A gpg-enabled mailinglist with remailing-capabilities.
---
%h3 Stable: version 2