Skip to content

Commit

Permalink
Fix page_browser_title issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkoutso committed Sep 26, 2019
1 parent 6f31f54 commit c20aa9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/navigation_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 20,9 @@ def page_title(resource = nil)
title.to_s.gsub('cocoapods', 'CocoaPods')
end

def page_browser_title
nil
end

#-----------------------------------------------------------------------------#

Expand Down
2 changes: 1 addition & 1 deletion source/layouts/layout.slim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 25,7 @@ ruby:
doctype html
html
head
title = "CocoaPods Guides - " page_browser_title || page_title
title = "CocoaPods Guides - " (page_browser_title || page_title)

== shared_partial "favicons", "header_meta"
== stylesheet_link_tag "app.css"
Expand Down

0 comments on commit c20aa9a

Please sign in to comment.