Add title before screenshots
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ def build_screenshots_html(app):
|
|||||||
screenshots = [s for s in screenshots if not s.get("hardware")]
|
screenshots = [s for s in screenshots if not s.get("hardware")]
|
||||||
|
|
||||||
if screenshots:
|
if screenshots:
|
||||||
screenshots_html = ''
|
screenshots_html = '<h3>Screenshots</h3>'
|
||||||
for idx, screenshot in enumerate(screenshots, 1):
|
for idx, screenshot in enumerate(screenshots, 1):
|
||||||
url = screenshot.get("url", "")
|
url = screenshot.get("url", "")
|
||||||
width = screenshot.get("width", "auto")
|
width = screenshot.get("width", "auto")
|
||||||
|
|||||||
Reference in New Issue
Block a user