more sensible titles for non-main pages

This commit is contained in:
Adrian Sampson 2012-07-31 17:11:59 -07:00
parent c6e27c48a3
commit d1fbeaddcb
3 changed files with 19 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>beets: the music geek&rsquo;s media organizer</title>
<title>beets: {{ page.shorttitle }}</title>
<link rel="stylesheet" href="bootstrap.min.css">
<style type="text/css">
.container {
@ -9,9 +9,15 @@
width: 820px;
}
.page-header {
border-bottom: 0;
box-shadow: 0;
-webkit-box-shadow: 0;
-moz-box-shadow: 0;
margin-top: 10px;
}
.leader {
margin-top: 20px;
border-bottom: 0;
height: 6em;
}
@ -166,6 +172,7 @@ $(function() {
<body>
<div class="container">
<div class="content">
{% if page.section == 'main' %}
<div class="page-header leader">
<h1>
Beets is
@ -173,6 +180,13 @@ $(function() {
for obsessive-compulsive music geeks.</span>
</h1>
</div>
{% else %}
<div class="page-header">
<h1>
{{ page.title }}
</h1>
</div>
{% endif %}
<div class="row">

View file

@ -1,6 +1,8 @@
---
layout: main
section: donate
shorttitle: donate
title: Donate to beets.
---
Thanks for considering donating to the beets project. I truly appreciate
your support.

View file

@ -1,6 +1,7 @@
---
layout: main
section: main
shorttitle: the music geek&rsquo;s media organizer
---
<iframe width="560" height="345" src="http://www.youtube.com/embed/ZaqJmjM23D0" frameborder="0"></iframe>