refactoring of code to support themes and new hellug theme
	
		
			
	
		
	
	
		
	
		
			Κάποιοι έλεγχοι απέτυχαν
		
		
	
	
		
			
				
	
				Hellug Projects/Hellug/www/pipeline/head There was a failure building this commit
				
			
		
		
	
	
		
	
		
			Κάποιοι έλεγχοι απέτυχαν
		
		
	
	Hellug Projects/Hellug/www/pipeline/head There was a failure building this commit
				
			Αυτό το commit περιλαμβάνεται σε:
		
					γονέας
					
						
							
								781ede797c
							
						
					
				
			
			
				commit
				
					
						acfecc9a4d
					
				
			
		
					 119 αρχεία άλλαξαν με 3973 προσθήκες και 7 διαγραφές
				
			
		
							
								
								
									
										40
									
								
								themes/hellug-minimal/layouts/partials/column2.html
									
										
									
									
									
										Κανονικό αρχείο
									
								
							
							
						
						
									
										40
									
								
								themes/hellug-minimal/layouts/partials/column2.html
									
										
									
									
									
										Κανονικό αρχείο
									
								
							| 
						 | 
				
			
			@ -0,0 +1,40 @@
 | 
			
		|||
<h4>HEL.L.U.G Meetups!</h4>
 | 
			
		||||
{{- $counter := 0 }}
 | 
			
		||||
{{- $newlimit := (sub now.Unix 604800 ) }}
 | 
			
		||||
{{- range first 3 (index .Site.Taxonomies.draseis "meetups") }}
 | 
			
		||||
{{- if .Params.meetupdate }}
 | 
			
		||||
{{- $meetuptime := time .Params.meetupdate }}
 | 
			
		||||
{{- $meetuptimeunix := add $meetuptime.Unix 86400 }}
 | 
			
		||||
{{- if ge $meetuptimeunix now.Unix }}
 | 
			
		||||
{{- $counter = add $counter 1 }}
 | 
			
		||||
<a href="{{ .Permalink}}">{{- if lt .Date.Unix $newlimit }} Nέο {{- end }}{{ dateFormat "02/01/2006" $meetuptime }} - {{ .Params.meetuplocation }} </a>
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- if eq $counter 0 }}
 | 
			
		||||
<a>Δεν υπάρχουν</a>
 | 
			
		||||
{{- end }}
 | 
			
		||||
<h4> Εκδηλώσεις </h4>
 | 
			
		||||
{{- $counter = 0 }}
 | 
			
		||||
{{- $newlimit := (sub now.Unix 604800 ) }}
 | 
			
		||||
{{- range first 5 (index .Site.Taxonomies.draseis "event") }}
 | 
			
		||||
{{- if .Params.eventdate }}
 | 
			
		||||
{{- $eventtime := time .Params.eventdate }}
 | 
			
		||||
{{- if ge $eventtime.Unix now.Unix }}
 | 
			
		||||
{{- $counter = add $counter 1 }}
 | 
			
		||||
<a href="{{ .Permalink }}">{{- if lt .Date.Unix $newlimit }} Nέο{{- end }}{{- dateFormat "02/01/2006" $eventtime }} - {{ .Title }}</a>
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- if eq $counter 0 }}
 | 
			
		||||
<a>Δεν υπάρχουν</a>
 | 
			
		||||
{{- end }}
 | 
			
		||||
 | 
			
		||||
<h4>Σύνδεσμοι</h4>
 | 
			
		||||
{{- range .Site.Data.main.links.hellug }}
 | 
			
		||||
<a href="{{ .url }}">{{ .name }}</a></br>
 | 
			
		||||
{{- end }}
 | 
			
		||||
<h4>Ακολουθήστε τον HEL.L.U.G.</h4>
 | 
			
		||||
<a href="https://twitter.com/hellug"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Twitter.png">Twitter</button></a>
 | 
			
		||||
<a href="http://www.linkedin.com/groups/HELLUG-108292/about"><button type="button" style="padding-top:1px; padding-bottom:1px; margin-bottom:4px;"><img src="/media/LinkedIn.png">LinkedIn</button></a>
 | 
			
		||||
<a href="https://www.facebook.com/groups/hellug/"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Facebook.png">Facebook</button></a>
 | 
			
		||||
		Φόρτωση…
	
	Προσθήκη πίνακα
		Προσθήκη υπερσυνδέσμου
		
	
		Παράθεση σε νέο ζήτημα