Hi,
I have trouble with the replacement of an old theme. When building under a new theme (canterville), I get a __M_writer(str(post.meta('banner'))) AttributeError: 'Undefined' object has no attribute 'meta' ######################################## render_galleries:output/galleries/index.html <stdout>: Maybe its because I misused conf.py ? GLOBAL_CONTEXT = { "BANNER_URL": '/assets/img/oeil.jpg', } Yet I've been careful with the Global_context location... Or in my template ? <div class="site-wrapper"> % if 'main_index' in pagekind: <header class="main-header" style="background-image: url(${BANNER_URL})"> % else: <header class="main-header" style="background-image: url(${post.meta('banner')})"> % else: <header class="main-header post-head no-cover"> % endif Can you help me ? -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/18d436ab-0fe6-45d2-bfdf-f47768b6a729%40googlegroups.com.