Index: templates/default.tmpl |
=================================================================== |
--- a/templates/default.tmpl |
+++ b/templates/default.tmpl |
@@ -1,17 +1,7 @@ |
-<!DOCTYPE html> |
-<html |
- lang="{{ locale }}" |
- dir="{{ "rtl" if config.has_option("rtl", locale) else "ltr" }}" |
- class="no-js"> |
- <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> |
- <script src="/js/main.js"></script> |
- </body> |
-</html> |
+{% extends "templates/minimal" %} |
juliandoucette
2017/11/10 11:42:54
Detail: You can add this change and minimal.tmpl s
ire
2017/11/13 17:57:43
Done.
|
+ |
+{% block body %} |
+ <div class="container content"> |
+ {{ body | safe }} |
+ </div> |
+{% endblock %} |