Index: templates/default.tmpl |
=================================================================== |
--- a/templates/default.tmpl |
+++ b/templates/default.tmpl |
@@ -1,15 +1,7 @@ |
-<!DOCTYPE html> |
-<html |
- lang="{{ locale }}" |
- dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}"> |
- <head> |
- <? include meta/standard ?> |
- <link rel="stylesheet" href="/css/main.css"> |
- <link rel="stylesheet" href="/css/demo.css"> |
- </head> |
- <body> |
- <div class="container content"> |
- {{ body | safe }} |
- </div> |
- </body> |
-</html> |
+{% extends "templates/minimal" %} |
+ |
+{% block body %} |
+ <div class="container content"> |
+ {{ body | safe }} |
+ </div> |
+{% endblock %} |