File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ function githubLinks (options) {
221221      var  url  =  'https://github.com/nodejs/nodejs.org/edit/master/locale/'  +  options . locale  +  '/'  +  path . replace ( '.html' ,  '.md' ) 
222222
223223      var  contents  =  file . contents . toString ( ) . replace ( / \< h 1 \> ( .+ ) \< \/ h 1 \> / ,  function  ( $1 ,  $2 )  { 
224-         return  '<h1>'   +   $2   +   ' < a class="edit-link" href="'   +   url   +   ' ">Edit on GitHub</a>< /h1>' 
224+         return  `< a class="edit-link" href="${ url }  <h1> ${ $2 } < /h1>` 
225225      } ) 
226226
227227      file . contents  =  new  Buffer ( contents ) 
Original file line number Diff line number Diff line change 135135
136136.edit-link 
137137    float  right 
138-     font-size  0.6 em  
138+     font-size  0.9 em  
139139    margin  0.5em   0 
140140
141141@media  screen  and  (max-width : 480px  )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments