src/Tolkien/CompileSite.php
public function compileAuthors()
	{
		foreach ($this->site->getAuthors() as $author) 
		{
			$template = $this->twig->loadTemplate( 'author.html.tpl' );
			$content = $template->render(array('site' => $this->site, 'author' => $author));
			$this->createFile($content, $author);
		}
	}
public function compileAuthors()
	{
		foreach ($this->site->getAuthors() as $author) 
		{
			$template = $this->twig->loadTemplate( 'author.html.tpl' );
			$content = $template->render(array('site' => $this->site, 'author' => $author));
			$this->createFile($content, $author);
		}
	}
public function compileAuthors ( ) { foreach ( $ this -> site -> getAuthors ( ) as $ author ) { $ template = $ this -> twig -> loadTemplate ( 'author.html.tpl' ) ; $ content = $ template -> render ( array ( 'site' => $ this -> site , 'author' => $ author ) ) ; $ this -> createFile ( $ content , $ author ) ; } }
Compile authors page

@return void
Compile authors page