forked from cccb-website-team/www
		
	Kalender: Kommende 5 Termine über max. 14 Tage anzeigen
This commit is contained in:
		
							parent
							
								
									b80015bec3
								
							
						
					
					
						commit
						207ce9a9a0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								build.sh
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								build.sh
									
										
									
									
									
								
							| 
						 | 
					@ -2,5 +2,5 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hugo
 | 
					hugo
 | 
				
			||||||
tools/merge_cals.py
 | 
					tools/merge_cals.py
 | 
				
			||||||
upcoming="$(tools/gen_upcoming.py static/all.ics 7 7|tr '\n' ' ')"
 | 
					upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')"
 | 
				
			||||||
sed -i "s#CALENDAR#$upcoming#g" public/index.html
 | 
					sed -i "s#CALENDAR#$upcoming#g" public/index.html
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue