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