Esempio n. 1
0
def index(request):
  # check if sunday
  now = datetime.now()
  listen_live = now.strftime('%w') == 0

  return render(request, 'index.html', {
    'listen_live': listen_live,
    'recaptcha_publickey': settings.RECAPTCHA_PUBLIC_KEY,
    'sitemaps': StaticViewSitemap.itemnames(StaticViewSitemap),
    #'jaarthema_publish_date': (datetime.now() > datetime.strptime('22-08-2016 00:00', '%d-%m-%Y %H:%M'))
  })
Esempio n. 2
0
def anbi(request):
  return render(request, 'anbi.html', {
    'sitemaps': StaticViewSitemap.itemnames(StaticViewSitemap),
  })
Esempio n. 3
0
def orgel(request):
  return render(request, 'orgel.html', {
    'sitemaps': StaticViewSitemap.itemnames(StaticViewSitemap),
  })
Esempio n. 4
0
def kindercreche(request):
  return render(request, 'kindercreche.html', {
    'sitemaps': StaticViewSitemap.itemnames(StaticViewSitemap),
  })
Esempio n. 5
0
def kerktijden(request):
  return render(request, 'kerktijden.html', {
    'sitemaps': StaticViewSitemap.itemnames(StaticViewSitemap),
  })