diff --git a/templates/base.css b/templates/base.css new file mode 100644 index 0000000..06f5b20 --- /dev/null +++ b/templates/base.css @@ -0,0 +1,3 @@ +#sidebar .highlight ul { + margin-left: 20px; +} diff --git a/templates/base.html b/templates/base.html index ddbe842..88c3c0d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@ - {{ page.name }} + {{ page.title }} @@ -13,6 +13,7 @@ {% block styles %} + {% endblock styles %} @@ -81,18 +82,25 @@

{{ page.parent.name }}

- {% endif %} - - {% if page.is_directory %} + {% else %}

{{ page.name }}

@@ -110,7 +118,7 @@ {% for ancestor in ancestors %} {% if ancestor.name %} {{ ancestor.name }} {% else %} Home {% endif %} » {% endfor %} - {% if page.name %} {{ page.name }} {% else %} Home {% endif %} + {% if page.name %} {{ page.title }} {% else %} Home {% endif %} {% block content %}