Polish up page titles.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="actions">
|
||||
<a href="/{{name}}">« Back</a>
|
||||
</div>
|
||||
<h1>Comparison of {{human_name}}: {{before}} → {{after}}</h1>
|
||||
<h1>{{title}}: {{before}} → {{after}}</h1>
|
||||
<div id="files">
|
||||
<div class="file">
|
||||
<div class="meta">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="write">
|
||||
<a href="/">« Home</a>
|
||||
<h1>Create a new page</h1>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<form class="new_wiki" method="post" action="/create/{{name}}">
|
||||
<div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="write">
|
||||
<a href="/{{name}}">« Back</a>
|
||||
<h1>Editing “{{name}}”</h1>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
<form class="edit_wiki" method="post" action="/edit/{{name}}">
|
||||
<div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="actions">
|
||||
<a href="/{{name}}">« Back</a>
|
||||
</div>
|
||||
<h1>History of {{human_name}}</h1>
|
||||
<h1>{{title}}</h1>
|
||||
<form id="history" method="post" action="/compare/{{name}}">
|
||||
<table class="commits" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>Gollum - {{title}}</title>
|
||||
<title>{{title}}</title>
|
||||
<link rel="stylesheet" href="/css/screen.css" type="text/css" charset="utf-8" />
|
||||
<link rel="stylesheet" href="/css/gollum.css" type="text/css" charset="utf-8" />
|
||||
<link rel="stylesheet" href="/css/syntax.css" type="text/css" charset="utf-8" />
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="actions">
|
||||
<a href="/">Home</a> | <a href="/edit/{{name}}">Edit</a>
|
||||
</div>
|
||||
<h1>{{human_name}}</h1>
|
||||
<h1>{{title}}</h1>
|
||||
<div class="content wikistyle gollum {{format}}">
|
||||
{{{content}}}
|
||||
</div>
|
||||
|
||||
@@ -3,12 +3,8 @@ module Precious
|
||||
class Compare < Layout
|
||||
attr_reader :page, :diff, :versions
|
||||
|
||||
def human_name
|
||||
@page.title
|
||||
end
|
||||
|
||||
def title
|
||||
"A Page"
|
||||
"Comparison of #{@page.title}"
|
||||
end
|
||||
|
||||
def path
|
||||
|
||||
@@ -6,7 +6,7 @@ module Precious
|
||||
attr_reader :page, :content
|
||||
|
||||
def title
|
||||
"Edit"
|
||||
"Editing #{@page.title}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,12 +3,8 @@ module Precious
|
||||
class History < Layout
|
||||
attr_reader :page
|
||||
|
||||
def human_name
|
||||
@page.title
|
||||
end
|
||||
|
||||
def title
|
||||
"A Page"
|
||||
"History of #{@page.title}"
|
||||
end
|
||||
|
||||
def versions
|
||||
|
||||
@@ -3,12 +3,8 @@ module Precious
|
||||
class Page < Layout
|
||||
attr_reader :content, :page, :footer
|
||||
|
||||
def human_name
|
||||
@page.title
|
||||
end
|
||||
|
||||
def title
|
||||
"A Page"
|
||||
@page.title
|
||||
end
|
||||
|
||||
def format
|
||||
|
||||
Reference in New Issue
Block a user