mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-31 11:00:08 +00:00 
			
		
		
		
	added support for .md extension in bootstrap -- for bettur support for github links...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									f3b86a73e4
								
							
						
					
					
						commit
						d8946fca74
					
				| @ -12,11 +12,12 @@ var glob = require('glob') | ||||
| 
 | ||||
| var bootstrap = {} | ||||
| 
 | ||||
| glob('bootstrap/**/*.tpl') | ||||
| // XXX add support for json...
 | ||||
| glob('bootstrap/**/*.@(tpl|md)') | ||||
| 	.on('match', function(path){ | ||||
| 		var p = path | ||||
| 			.replace('bootstrap/', '') | ||||
| 			.replace('.tpl', '') | ||||
| 			.replace(/.tpl|.md/, '') | ||||
| 
 | ||||
| 		if(p) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user