| 
									
										
										
										
											2024-05-23 17:09:30 +01:00
										 |  |  | --- | 
					
						
							|  |  |  | title: Building Static Websites with Sculpin | 
					
						
							|  |  |  | events: | 
					
						
							| 
									
										
										
										
											2024-08-28 13:00:00 +01:00
										 |  |  |   - name: PHP Berkshire | 
					
						
							|  |  |  |     date: 2024-08-28 | 
					
						
							|  |  |  |     location: Reading, UK | 
					
						
							|  |  |  |     url: https://www.meetup.com/php-berkshire/events/301850284 | 
					
						
							|  |  |  |   - name: BrumPHP | 
					
						
							|  |  |  |     date: 2024-05-23 | 
					
						
							|  |  |  |     location: Birmingham, UK | 
					
						
							|  |  |  |     url: https://www.eventbrite.com/e/brumphp-23rd-may-2024-tickets-803037766577 | 
					
						
							| 
									
										
										
										
											2024-05-23 17:09:30 +01:00
										 |  |  | --- | 
					
						
							|  |  |  | // end yaml | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // start twig | 
					
						
							|  |  |  | {% set talkCount = 0 %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% for talk in data.talks %} | 
					
						
							|  |  |  |   {% for event in talk.events if 'today'|date('U') >= event.date|date('U') %} | 
					
						
							|  |  |  |     {% set talkCount = talkCount + 1 %} | 
					
						
							|  |  |  |   {% endfor %} | 
					
						
							|  |  |  | {% endfor %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <p>I have given {{ talkCount }} talks.</p> |