Improved page titles - Fixes #198

This commit is contained in:
Jordan Wright 2016-03-09 18:17:46 -06:00
parent d43a888b26
commit 9d5f8d640f
2 changed files with 2 additions and 1 deletions

View file

@ -293,6 +293,7 @@ function load() {
.success(function(c) { .success(function(c) {
campaign = c campaign = c
if (campaign) { if (campaign) {
$("title").text(c.name + " - Gophish")
$("#loading").hide() $("#loading").hide()
$("#campaignResults").show() $("#campaignResults").show()
// Set the title // Set the title

View file

@ -10,7 +10,7 @@
<meta name="author" content="Jordan Wright (http://github.com/jordan-wright)"> <meta name="author" content="Jordan Wright (http://github.com/jordan-wright)">
<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png"> <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
<title>Gophish - {{ .Title }}</title> <title>{{ .Title }} - Gophish</title>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<!-- <link href="/css/bootstrap.css" rel="stylesheet"> --> <!-- <link href="/css/bootstrap.css" rel="stylesheet"> -->