|
|
@ -66,7 +66,7 @@ for member in memberpages:
|
|
|
|
workpage_mw = replace_gallery(workpage_mw)
|
|
|
|
workpage_mw = replace_gallery(workpage_mw)
|
|
|
|
workpage_mw = replace_video(workpage_mw)
|
|
|
|
workpage_mw = replace_video(workpage_mw)
|
|
|
|
workdict = parse_work(member, workpage_mw) # create dictionary workpage_mw template
|
|
|
|
workdict = parse_work(member, workpage_mw) # create dictionary workpage_mw template
|
|
|
|
if len(workdict['Creator'])>1 and len(workdict['Title'])>1 and len(workdict['Description'])>1:
|
|
|
|
if len(workdict['Creator'])>1 and len(workdict['Title'])>1 and len(workdict['Description'])>1 and len(workdict['Thumbnail'])>1:
|
|
|
|
for key in workdict.keys(): # convert Extra, Description, Bio to HTML
|
|
|
|
for key in workdict.keys(): # convert Extra, Description, Bio to HTML
|
|
|
|
if key in ['Extra', 'Description', 'Bio'] and workdict[key]:
|
|
|
|
if key in ['Extra', 'Description', 'Bio'] and workdict[key]:
|
|
|
|
workdict[key] = pandoc2html( (workdict[key].decode('utf-8')))
|
|
|
|
workdict[key] = pandoc2html( (workdict[key].decode('utf-8')))
|
|
|
|