Add gallery title to albums (fix #441)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>{{ album.title }}</title>
|
||||
<title>{{ album.title|striptags }} - {{ settings.title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="{{ album.author }}">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>{{ album.title|striptags }}</title>
|
||||
<title>{{ album.title|striptags }} - {{ settings.title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="{{ album.author }}">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
|
||||
<title>{{ album.title }}</title>
|
||||
<title>{{ album.title|striptags }} - {{ settings.title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="{{ album.author }}">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
@@ -295,7 +295,7 @@ def test_gallery(settings, tmpdir):
|
||||
with open(out_html) as f:
|
||||
html = f.read()
|
||||
|
||||
assert '<title>Sigal test gallery</title>' in html
|
||||
assert '<title>Sigal test gallery - Sigal test gallery ☺</title>' in html
|
||||
assert '<link rel="stylesheet" href="static/my.css">' in html
|
||||
|
||||
logger = logging.getLogger('sigal')
|
||||
|
||||
Reference in New Issue
Block a user