Skip to content

Instantly share code, notes, and snippets.

@igorgue
Created January 27, 2009 01:30
Show Gist options
  • Save igorgue/53101 to your computer and use it in GitHub Desktop.
Save igorgue/53101 to your computer and use it in GitHub Desktop.
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