Skip to content

Add individual page titles #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/about.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: About RSpec
team:
-
name: Myron Marston
Expand Down
3 changes: 3 additions & 0 deletions source/contributing.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: Contributing to RSpec
---
section
article.contributing
h2 Contributing
Expand Down
3 changes: 3 additions & 0 deletions source/documentation.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: RSpec documentation
---
section
article.relish
h2 Relish
Expand Down
3 changes: 3 additions & 0 deletions source/help.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: Getting help with RSpec
---
section
article.help
h2 Get Help
Expand Down
4 changes: 4 additions & 0 deletions source/index.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: "RSpec: Behaviour Driven Development for Ruby"
---

section.hero
article.hero-text
= image_tag 'logo.png', :alt => "RSpec Logo"
Expand Down
2 changes: 1 addition & 1 deletion source/layouts/layout.slim
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ html.no-js lang="en"
head
meta charset="UTF-8"

title RSpec: Behaviour Driven Development for Ruby
title= current_page.data.title

== stylesheet_link_tag 'application', 'normalize'
== stylesheet_link_tag "pages/#{primary_page_class}"
Expand Down
3 changes: 3 additions & 0 deletions source/upgrading-from-rspec-2.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
title: Upgrading from RSpec 2 to 3
---
section
article.upgrade
h2 Upgrading from RSpec 2
Expand Down