From baab5dd99bc9e36ec29bce48e14e1aa997dda542 Mon Sep 17 00:00:00 2001 From: Jiachen Yang Date: Mon, 12 Mar 2012 20:51:04 +0900 Subject: add google custom search support --- bootstrap2/templates/base.html | 9 ++++++--- bootstrap2/templates/search_sidebar.html | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 bootstrap2/templates/search_sidebar.html (limited to 'bootstrap2/templates') diff --git a/bootstrap2/templates/base.html b/bootstrap2/templates/base.html index 326bb62..0086f1a 100644 --- a/bootstrap2/templates/base.html +++ b/bootstrap2/templates/base.html @@ -88,10 +88,12 @@ {% endfor %} -
  • + + + -
  • Archives
  • - @@ -140,6 +142,7 @@ {% endfor %} {% include 'twitter_profile.html' %} + {% include 'search_sidebar.html' %} {% if SIDEBAR_CUSTOM %} {{ SIDEBAR_CUSTOM }} diff --git a/bootstrap2/templates/search_sidebar.html b/bootstrap2/templates/search_sidebar.html new file mode 100644 index 0000000..00c81e3 --- /dev/null +++ b/bootstrap2/templates/search_sidebar.html @@ -0,0 +1,15 @@ +{% if GOOGLE_CUSTOM_SEARCH_SIDEBAR %} + +
    Loading
    + + + +{% endif %} \ No newline at end of file -- cgit v1.1