Omnibus commited on
Commit
73598d5
·
verified ·
1 Parent(s): 4d7e173

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -263,6 +263,7 @@ def load_html(inp,title):
263
  #print(f'prom:: {prom}')
264
  ht+=f"""<div class="div_box">"""
265
  if blog:
 
266
  ht+=f"""<pre class="bpost">{blog}</pre>"""
267
  if comm:
268
  ht+=f"""<pre class="resp1">{comm}</pre>"""
@@ -273,6 +274,7 @@ def load_html(inp,title):
273
  html=h.read()
274
  html = html.replace("$body",f"{ht}")
275
  html = html.replace("$title",f"{title}")
 
276
  h.close()
277
  return html
278
 
 
263
  #print(f'prom:: {prom}')
264
  ht+=f"""<div class="div_box">"""
265
  if blog:
266
+ ht+=f"""<div class="bhead"><div><h1>$btitle</h1></div></div>"""
267
  ht+=f"""<pre class="bpost">{blog}</pre>"""
268
  if comm:
269
  ht+=f"""<pre class="resp1">{comm}</pre>"""
 
274
  html=h.read()
275
  html = html.replace("$body",f"{ht}")
276
  html = html.replace("$title",f"{title}")
277
+ html = html.replace("$btitle",f"{title}")
278
  h.close()
279
  return html
280