diff options
Diffstat (limited to 'megapixels/app/site/parser.py')
| -rw-r--r-- | megapixels/app/site/parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/megapixels/app/site/parser.py b/megapixels/app/site/parser.py index 87539ade..f6e308f3 100644 --- a/megapixels/app/site/parser.py +++ b/megapixels/app/site/parser.py @@ -136,11 +136,11 @@ def intro_section(metadata, s3_path): # colorize the first instance of the database name in the header if 'color' in metadata and metadata['title'] in desc: desc = desc.replace(metadata['title'], "<span style='color: {}'>{}</span>".format(metadata['color'], metadata['title']), 1) - section += "<div class='hero_desc'><span>{}</span></div>".format(desc, desc) + section += "<div class='hero_desc'><span class='bgpad'>{}</span></div>".format(desc, desc) if 'subdesc' in metadata: subdesc = markdown(metadata['subdesc']).replace('<p>', '').replace('</p>', '') - section += "<div class='hero_subdesc'><span>{}</span></div>".format(subdesc, subdesc) + section += "<div class='hero_subdesc'><span class='bgpad'>{}</span></div>".format(subdesc, subdesc) section += "</div>" section += "</section>" |
