Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Making sure proper title is showing

  • Loading branch information...
commit 39e33e46d3a630d941692ea9b8eb68e9c0e6e4a0 1 parent e970b60
@airios authored
View
4 config/config.yml
@@ -1,8 +1,8 @@
# Title and subheading for your site. Used on the home page and in page
# titles.
#
-title: "The Burger Douche"
-subtitle: "We ♥ Burgers"
+title: "We ♥ Burgers"
+subtitle: "The Burger Douche"
# You should really specify your content's author when generating an
# Atom feed. Specify at least one of name, uri or email, and Nesta will
View
12 themes/douchey/views/js_raw.haml
@@ -2,7 +2,9 @@
<script language="Javascript" type="text/javascript">
var webSearch;
- $( function(){
+ $( init() );
+
+ function init(){
webSearch = new google.search.WebSearch();
webSearch.setSearchCompleteCallback( this, webSearchComplete, [webSearch] );
webSearch.setSiteRestriction( 'http://burgerdouche.com' );
@@ -16,8 +18,8 @@
search( query );
}
}
- });
-
+ };
+
function webSearchComplete ( searcher, searchNum )
{
var c = document.getElementById( 'search-results' );
@@ -42,7 +44,7 @@
res.innerHTML += '<p class="archives"><a href="#{base_url}/articles/">View Archives</a></p>';
c.appendChild( res );
- }
+ };
function search( query )
{
@@ -54,7 +56,7 @@
$( "#search-results" ).hide();
}
webSearch.execute( query );
- }
+ };
$( '#query' ).keyup( function(){
var query = $( this ).val();
View
2  themes/douchey/views/layout.haml
@@ -6,7 +6,7 @@
%meta(name="description" content=@description)
- if @keywords
%meta(name="keywords" content=@keywords)
- %title= @title << " | " << @subtitle
+ %title= @subtitle
<!--[if ! lte IE 6]><!-->
%link(href="http://fonts.googleapis.com/css?family=PT+Sans|Arvo:regular,italic,bold,bolditalic&subset=latin" rel="stylesheet")
%link(href="#{base_url}/css/layout.css" media="screen" rel="stylesheet")

0 comments on commit 39e33e4

Please sign in to comment.
Something went wrong with that request. Please try again.