Created
January 27, 2009 01:30
-
-
Save igorgue/53101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/templates/flatpages/default.html b/templates/flatpages/default.html | |
index 3a32a20..90ac531 100644 | |
--- a/templates/flatpages/default.html | |
+++ b/templates/flatpages/default.html | |
@@ -1,10 +1,4 @@ | |
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" | |
- "http://www.w3.org/TR/REC-html40/loose.dtd"> | |
-<html> | |
-<head> | |
-<title>{{ flatpage.title }}</title> | |
-</head> | |
-<body> | |
-{{ flatpage.content }} | |
-</body> | |
-</html> | |
+{% extends "base.html" %} | |
+ | |
+{% block title %}{{ flatpage.title }}{% endblock %} | |
+{% block content %}{{ flatpage.content }}{% endblock %} | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment