From bd268036ed4fd111f0ae3156c324acbf4d2707e7 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 21 May 2013 11:18:04 -0400 Subject: A thorough revamp of grimoire.ca's look and feel. The new look is based, loosely, on print aesthetics, and uses Baskerville (and Menlo, for code) throughout, with Google's Buenard as a fallback for Windows and Linux users. I've retained the basic visual flow, but reworked it to be both more visible and more readable, and to have less-crazy layout rules (no more borders-as-gaps). --- .templates/listing.html | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to '.templates/listing.html') diff --git a/.templates/listing.html b/.templates/listing.html index a26eb04..71c9b31 100644 --- a/.templates/listing.html +++ b/.templates/listing.html @@ -1,4 +1,43 @@ -{% extends 'markdoc-default/listing.html' %} +{% extends 'base.html' %} + +{% block title %}ls /{{ directory|e }}{% endblock %} + +{% block content %} +
+

ls /{{ directory|e }}

+ + {% if sub_directories %} +
+

Directories

+ +
+ {% endif %} + + {% if pages %} +
+

Pages

+ +
+ {% endif %} + + {% if files %} +
+

Files

+ {% for file in files %} +
  • {{ file.basename|e }}
  • + {% endfor %} +
    + {% endif %} +
    +{% endblock %} {% block github_info %} See this directory on GitHub (history). -- cgit v1.2.3