typo
This commit is contained in:
		
							parent
							
								
									133e1e4aac
								
							
						
					
					
						commit
						8f290ec3b5
					
				|  | @ -65,7 +65,6 @@ fn show(content: Content) -> Template { | |||
| fn index() -> io::Result<Template> { | ||||
|     let cwd = std::env::current_dir()?; | ||||
|     let title = String::from(cwd.to_str().unwrap().split("/").last().unwrap()); | ||||
|     //println!("{}", title);
 | ||||
|     let contents = list_contents()?; | ||||
|     let context = IndexContext { title: title, items: contents }; | ||||
|     Ok(Template::render("index", &context)) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue