Update archive list.
This commit is contained in:
parent
010fa78007
commit
a4ee4fe937
@ -238,7 +238,7 @@ Main =
|
|||||||
for styleSheet in styleSheets
|
for styleSheet in styleSheets
|
||||||
if styleSheet.href is mainStyleSheet?.href
|
if styleSheet.href is mainStyleSheet?.href
|
||||||
style = styleSheet.title.toLowerCase().replace('new', '').trim().replace /\s+/g, '-'
|
style = styleSheet.title.toLowerCase().replace('new', '').trim().replace /\s+/g, '-'
|
||||||
style = 'spooky' if style.href.match(/[a-z]*(?=[^/]*$)/)[0] is 'spooky'
|
style = styleSheet.href.match(/[a-z]*(?=[^/]*$)/)[0] if style is '_special'
|
||||||
break
|
break
|
||||||
if style
|
if style
|
||||||
$.addClass doc, style
|
$.addClass doc, style
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user