Use diferent titles per page

* Related: #7
This commit is contained in:
Las Zenow 2016-01-28 18:13:26 -05:00
parent b0e3659956
commit 6c08f284b9
14 changed files with 24 additions and 7 deletions

View file

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="/css/custom.css" rel="stylesheet">
<link rel="alternate" type="application/rss+xml" title="Imperial Library of Trantor" href="/search/?fmt=rss&q={{.Search}}" />
<title>Imperial Library of Trantor</title>
<link rel="alternate" type="application/rss+xml" title="{{.Title}}" href="/search/?fmt=rss&q={{.Search}}" />
<title>{{.Title}}</title>
<script src="/js/jquery.js"></script>
</head>
<body>

View file

@ -19,7 +19,7 @@
href="/opensearch.xml"
type="application/opensearchdescription+xml"/>
<title>The Imperial Libary of Trantor</title>
<title>{{.S.Title}}</title>
<author>
<name>The Imperial Library of Trantor</name>
<uri>{{.S.BaseURL}}</uri>

View file

@ -2,7 +2,7 @@
<rss version="2.0">
<channel>
{{with .S}}
<title>Imperial Library of Trantor - News</title>
<title>{{.Title}}</title>
<description>News of the library</description>
<link>{{.BaseURL}}/news/</link>
{{end}}

View file

@ -44,7 +44,7 @@
<opensearch:totalResults>{{.Found}}</opensearch:totalResults>
<opensearch:itemsPerPage>{{.ItemsPage}}</opensearch:itemsPerPage>
<title>search {{.S.Search}}</title>
<title>{{.S.Title}}</title>
<author>
<name>The Imperial Library of Trantor</name>
<uri>{{.S.BaseURL}}</uri>

View file

@ -2,7 +2,7 @@
<rss version="2.0">
<channel>
{{with .S}}
<title>Imperial Library of Trantor</title>
<title>{{.Title}}</title>
{{if .Search}}
<description>Book search: {{.Search}}</description>
{{else}}