OK it obviously has nothing to do with the for loop in try except because 
the for loop finishes when there are no entries in articles. But some basic 
understanding of python should have told me the solution^^
thats what works if anyone is interested:
{{try:}}
{{print article[0].title}}
{{empty=0}}
{{except:}}
{{empty=1}}
{{pass}}
{{if empty==0}}
#for loop
{{else:}}
static message
{{pass}}

Reply via email to