Skip to content

Commit 0aad26a

Browse files
committed
Add element name to title for doc pages
1 parent f1b06ff commit 0aad26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_plugins/element_pages.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def initialize(site, base, dir, element)
1616
isPaperElement = element.start_with? "paper-"
1717

1818
self.data['element'] = element
19-
self.data['title'] = "Polymer #{isPaperElement ? 'paper' : 'core'} elements"
19+
self.data['title'] = "#{element} - Polymer #{isPaperElement ? 'paper' : 'core'} elements"
2020
self.data['type'] = 'elements'
2121
self.data['shortname'] = 'Elements'
2222
if isPaperElement

0 commit comments

Comments
 (0)