details.php: Fix missing quotes around "download"

Issue #104.
details.html: Use {% extends %} first

Issue #104.