diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 81faca6..f8f5d0a 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -147,14 +147,13 @@ class Audio(object): "source": source, "target": target, "binary": "%s" % options["binary"], - "format": ".%s" % options["format"], "loglevel": "-loglevel %s" % options["loglevel"], "audio": "-c:a %s" % options["audio"], } warning("Generation", source) - - command = "{binary} {loglevel} -i {source} {audio} -y {target}{format}".format(**ffmpeg_switches) + + command = "{binary} {loglevel} -i {source} {audio} -y {target}".format(**ffmpeg_switches) print(command) error(os.system(command) == 0, "%s command failed" % ffmpeg_switches["binary"]) diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 0b4d886..6567993 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -315,9 +315,11 @@ a.google { width: 80px; } +/* .author-meta { padding-bottom: 7em; } +*/ .author-info { color: #ccc; @@ -443,3 +445,30 @@ a.google { font-size: 10px; } +blockquote { + margin: 1.5em 10px; + padding: 0.5em 10px; + quotes: "\201C""\201D""\2018""\2019"; +} + +blockquote:before { + color: #ccc; + content: open-quote; + font-size: 4em; + line-height: 0.1em; + margin-right: 0.25em; + vertical-align: -0.4em; +} + +blockquote:after { + color: #ccc; + content: close-quote; + font-size: 4em; + line-height: 0.1em; + margin-left: 0.25em; + vertical-align: -0.4em; +} + +blockquote p { + display: inline; +} diff --git a/prosopopee/themes/exposure/templates/sections/audio.html b/prosopopee/themes/exposure/templates/sections/audio.html index 8363e3b..42472cb 100644 --- a/prosopopee/themes/exposure/templates/sections/audio.html +++ b/prosopopee/themes/exposure/templates/sections/audio.html @@ -1,10 +1,8 @@ -{% if section.image.type == "audio" %} {% set audio = Audio(section.image) %} {{ audio.copy() }} -{% endif %}