Changeset 3862 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/site-main/index.jsx
- Timestamp:
- 08/26/2016 07:58:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/site-main/index.jsx
r3734 r3862 5 5 6 6 render() { 7 let classNames = [ 'site-main' ]; 8 9 if ( this.props.params.slug ) { 10 classNames.push( 'single' ); 11 } 12 7 13 return ( 8 <main id="main" className= "site-main"role="main">14 <main id="main" className={ classNames.join( ' ' ) } role="main"> 9 15 { this.props.children } 10 16 </main>
Note: See TracChangeset
for help on using the changeset viewer.