Group talks by type
This commit is contained in:
		
							parent
							
								
									b6609a5f60
								
							
						
					
					
						commit
						2d2cb25023
					
				
					 5 changed files with 31 additions and 23 deletions
				
			
		
							
								
								
									
										6
									
								
								source/_includes/talk-list-item.html.twig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								source/_includes/talk-list-item.html.twig
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| <li> | ||||
|     {{ talk.event.name }} - | ||||
|     <a href="{{ talk.url }}"> | ||||
|         {{ talk.title }} | ||||
|     </a> | ||||
| </li> | ||||
							
								
								
									
										5
									
								
								source/_includes/talk-list.html.twig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								source/_includes/talk-list.html.twig
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| <ul> | ||||
|     {% for talk in talks if talk.type == type %} | ||||
|         {{ include('talk-list-item') }} | ||||
|     {% endfor %} | ||||
| </ul> | ||||
|  | @ -1,6 +0,0 @@ | |||
| {{ talk.event.name }} - | ||||
| {% if talk.fuzzy_date %} | ||||
|     {{ talk.title }} | ||||
| {% else %} | ||||
|     <a href="{{ talk.url }}">{{ talk.title }}</a> | ||||
| {% endif %} | ||||
							
								
								
									
										20
									
								
								source/talks.html.twig
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								source/talks.html.twig
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| --- | ||||
| layout: page | ||||
| nav: talks | ||||
| title: Talks | ||||
| meta: | ||||
|     description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups' | ||||
| use: | ||||
|     - talks | ||||
| --- | ||||
| <p>I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If you would like to me to speak at your group or conference, please <a href="mailto:{{ site.email }}?subject=Speaking%20enquiry">get in touch</a>.</p> | ||||
| <p>There is also information about events that I’ve attended and spoken at on my <a href="{{ site.lanyrd.url }}">Lanyrd</a> and <a href="{{ site.joindin.url }}">Joind.in</a> profiles.</p> | ||||
| 
 | ||||
| <h2>Conferences</h2> | ||||
| 
 | ||||
| {{ include('talk-list', { talks: data.talks, type: 'conference' }) }} | ||||
| 
 | ||||
| <h2>User groups</h2> | ||||
| 
 | ||||
| {{ include('talk-list', { talks: data.talks, type: 'meetup' }) }} | ||||
| 
 | ||||
|  | @ -1,17 +0,0 @@ | |||
| --- | ||||
| layout: default | ||||
| nav: talks | ||||
| title: Talks | ||||
| meta: | ||||
|     description: 'Information about previous and upcoming talks that Oliver has presented at conferences and user groups' | ||||
| use: | ||||
|     - talks | ||||
| --- | ||||
| # Talks | ||||
| 
 | ||||
| I regularly speak at conferences and user groups about a range of subjects including Drupal, Sculpin and Git. If you would like to me to speak at your group or conference, please <a href="mailto:{{ site.email }}?subject=Speaking%20enquiry">get in touch</a>. | ||||
| 
 | ||||
| There is also information about events that I’ve attended and spoken at on my <a href="{{ site.lanyrd.url }}">Lanyrd</a> and <a href="{{ site.joindin.url }}">Joind.in</a> profiles. | ||||
| 
 | ||||
| {{ include('upcoming-talks') }} | ||||
| {{ include('previous-talks') }} | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue