From 6c5e33fbfcb8e805112a42148b92e9931932509a Mon Sep 17 00:00:00 2001 From: adesanto asman Date: Tue, 1 May 2012 14:53:12 +0700 Subject: [PATCH] - Memperbaiki base.html krn block placeholder terhapus - Menambahkan load cms dan sekizai tags - menempatan block cms content di class='content' di dalam div class='row' --- idpython/templates/base.html | 9 ++++++++- idpython/templates/template_1.html | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/idpython/templates/base.html b/idpython/templates/base.html index 9879617..98edbe1 100644 --- a/idpython/templates/base.html +++ b/idpython/templates/base.html @@ -1,4 +1,3 @@ -<<<<<<< HEAD @@ -32,6 +31,9 @@ +{% load cms_tags sekizai_tags %} +{% render_block "css" %} + @@ -105,6 +107,10 @@

Python adalah bahasa pemrograman yang memungkinkan Anda untuk bekerja dengan
+
+ {% placeholder base_content %} + {% block base_content %} {% endblock%} +

BERITA

@@ -179,4 +185,5 @@

Lorem Ipsum

+{% render_block "js" %} diff --git a/idpython/templates/template_1.html b/idpython/templates/template_1.html index a5549bd..1592836 100644 --- a/idpython/templates/template_1.html +++ b/idpython/templates/template_1.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load cms_tags %} +{% load cms_tags sekizai_tags %} {% block base_content %} {% placeholder template_1_content %}