Unified · Split
| @@ -40,7 +40,7 @@ module Docs · 39 unmodified lines | |||
| 40 | 40 | ||
| 41 | def get_name | 41 | def get_name |
| 42 | if slug.start_with?('guides') | 42 | if slug.start_with?('guides') |
| 43 | name = at_css('#feature h2').content.strip | 43 | name = at_css('#mainCol h2').content.strip |
| 44 | name.remove! %r{\s\(.+\)\z} | 44 | name.remove! %r{\s\(.+\)\z} |
| 45 | return name | 45 | return name |
| 46 | end | 46 | end |