Skip to content

Commit

Permalink
remove the <span>v1.8.0</span> from HTML head title
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-makarov committed Sep 3, 2019
1 parent 4e525b9 commit 5003a41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 58,8 @@ def shared_partial(*sources)

navigation_data = {
'dsl' => [
{ :name => "podfile", :title => "Podfile Syntax Reference <span>v#{Pod::VERSION}</span>" },
{ :name => "podspec", :title => "Podspec Syntax Reference <span>v#{Pod::VERSION}</span>" },
{ :name => "podfile", :title => "Podfile Syntax Reference" },
{ :name => "podspec", :title => "Podspec Syntax Reference" },
],
}

Expand All @@ -71,7 71,7 @@ def shared_partial(*sources)
name = dsl[:name]
title = dsl[:title]
proxy "syntax/#{name}.html", "templates/dsl.html", {
:locals => { :name => name, :page_title => title, :fullwidth => true },
:locals => { :name => name, :page_browser_title => title, :page_title => title " <span>v#{Pod::VERSION}</span>", :fullwidth => true },
:ignore => true,
}
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_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 5003a41

Please sign in to comment.