Move dates into the front matter
This commit is contained in:
		
							parent
							
								
									06acf6f863
								
							
						
					
					
						commit
						bdb50d9462
					
				
					 129 changed files with 129 additions and 0 deletions
				
			
		
							
								
								
									
										39
									
								
								source/_posts/writing-info-file-drupal-7-theme.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								source/_posts/writing-info-file-drupal-7-theme.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| --- | ||||
| title: Writing a .info file for a Drupal 7 theme | ||||
| date: 2012-05-23 | ||||
| excerpt: An example .info file for a Drupal 7 theme. | ||||
| tags: | ||||
|   - theming | ||||
|   - drupal-theming | ||||
|   - drupal | ||||
|   - code | ||||
| --- | ||||
| ```language-ini | ||||
| name = My Theme | ||||
| description = A description of my theme | ||||
| core = 7.x | ||||
| 
 | ||||
| # Add a base theme, if you want to use one. | ||||
| base = mybasetheme | ||||
| 
 | ||||
| # Define regions, otherwise the default regions will be used. | ||||
| regions[header] = Header | ||||
| regions[navigation] = Navigation | ||||
| regions[content] = Content | ||||
| regions[sidebar] = Sidebar | ||||
| regions[footer] = Footer | ||||
| 
 | ||||
| # Define which features are available. If none are specified, all the default  | ||||
| # features will be available. | ||||
| features[] = logo | ||||
| features[] = name | ||||
| features[] = favicon | ||||
| 
 | ||||
| # Add stylesheets | ||||
| stylesheets[all][] = css/reset.css | ||||
| stylesheets[all][] = css/mytheme.css | ||||
| stylesheets[print][] = css/print.css | ||||
| 
 | ||||
| # Add javascript files | ||||
| styles[] = js/mytheme.js | ||||
| ``` | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue