| 
					
				 | 
			
			
				@@ -37,6 +37,9 @@ for d in os.listdir(content_dir): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          # meta = meta_match.group(0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          if meta_match: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             output_md += '<div class="page">\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '<div class="info">\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '<div class="info_left">\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             meta = meta_match.group(0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             author_match = re.search(r'Author: (.+)', meta) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -54,10 +57,20 @@ for d in os.listdir(content_dir): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             pres = pres_txt.replace(meta_match.group(0), '').strip() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             # print('pres:',pres) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             output_md += "\n\n## "+title 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             output_md += "\n\n### "+author 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '\n\n</div>\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '<div class="info_right">\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             output_md += "\n\n*"+pres+"*" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '\n\n</div>\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '\n\n</div>\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             export_path = os.path.join(content_dir,d, src) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             print('export_path:', export_path) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if os.path.isfile(export_path): 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -65,7 +78,7 @@ for d in os.listdir(content_dir): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   output_md += "\n\n"+export_f.read() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            output_md += '</div>\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            output_md += '\n\n</div>\n' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 # print('output_md:\n', output_md) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 with open('publi.md', 'w') as md_f: 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -88,6 +101,8 @@ index_html = "<html>\n \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    \t<head>\n \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    \t\t<meta charset='utf-8'>\n" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+index_html += "<link rel='stylesheet' href='/fonts/cmu-Serif/cmun-serif.css'>" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 with open('css/main.css', 'r', encoding="utf8") as css_f: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    index_html += "\n\n"+css_f.read() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |