mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 18:43:38 +01:00
more sensible titles for non-main pages
This commit is contained in:
parent
c6e27c48a3
commit
d1fbeaddcb
3 changed files with 19 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>beets: the music geek’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">
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
1
index.md
1
index.md
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: main
|
||||
section: main
|
||||
shorttitle: the music geek’s media organizer
|
||||
---
|
||||
<iframe width="560" height="345" src="http://www.youtube.com/embed/ZaqJmjM23D0" frameborder="0"></iframe>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue