Title should now always stay as site name, to avoid tag hell for images with loads of tags.
This commit is contained in:
		
							parent
							
								
									394f4518a3
								
							
						
					
					
						commit
						c645fb4b0e
					
				| @ -10,7 +10,9 @@ class Layout { | |||||||
| 		global $config; | 		global $config; | ||||||
| 
 | 
 | ||||||
| 		$theme_name = $config->get_string('theme', 'default'); | 		$theme_name = $config->get_string('theme', 'default'); | ||||||
|  | 		$site_name = $config->get_string('title'); | ||||||
| 		$data_href = get_base_href(); | 		$data_href = get_base_href(); | ||||||
|  | 		$main_page = $config->get_string('main_page'); | ||||||
| 		$contact_link = $config->get_string('contact_link'); | 		$contact_link = $config->get_string('contact_link'); | ||||||
| 
 | 
 | ||||||
| 		$header_html = ""; | 		$header_html = ""; | ||||||
| @ -67,7 +69,7 @@ $header_html | |||||||
| <table id="header" class="bgtop" width="100%" height="113px"> | <table id="header" class="bgtop" width="100%" height="113px"> | ||||||
| 	<tr> | 	<tr> | ||||||
| 		<td><center> | 		<td><center> | ||||||
| 			<h1><a href="/">{$page->heading}</a></h1> | 			<h1><a href="$data_href/$main_page">{$site_name}</a></h1> | ||||||
| 			<p>[Navigation links go here] | 			<p>[Navigation links go here] | ||||||
| 		</center></td> | 		</center></td> | ||||||
| 		$head_block_html | 		$head_block_html | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user