Fix stupid typo, thanks 9soul for the catch!
This commit is contained in:
		
							parent
							
								
									effe855934
								
							
						
					
					
						commit
						d289d6a5a4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -8,7 +8,7 @@ fn statpost { | ||||||
| 	f = $1 | 	f = $1 | ||||||
| 
 | 
 | ||||||
|     updated = `{/bin/date --rfc-3339'=seconds' -r $f |sed 's/ /T/'}  |     updated = `{/bin/date --rfc-3339'=seconds' -r $f |sed 's/ /T/'}  | ||||||
| 	post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,'-e 's/\.(md|tpl)$//g'}} | 	post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,' -e 's/\.(md|tpl)$//g'}} | ||||||
| 	title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' } | 	title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' } | ||||||
| 	date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} | 	date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} | ||||||
| 	# TODO: use mtime(1) and ls(1) instead of lunix's stat(1) | 	# TODO: use mtime(1) and ls(1) instead of lunix's stat(1) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Uriel
						Uriel