Open zouhx11 opened 6 years ago
The zen themes do not seem to support SEARCH_FORM
.
@damianavila What should I do to make some changes?
@zouhx11 you probably need to add something like this: https://github.com/getnikola/nikola-themes/blob/master/v7/slidemenu/templates/base_header.tmpl#L9-L13, to the templates in the zen-ipython theme. But maybe I am missing something else and @Kwpolska will correct me :wink:
That's about it, yes. Except if it looks like crap, in which case it will need something else ;-)
I tried the following default codes, but I didn't see search box show up: ''' This search form works for any site and looks good in the "site" theme where it appears on the navigation bar: ''' SEARCH_FORM = """
<form method="get" id="search" action="//duckduckgo.com/" class="navbar-form pull-left">
<input type="text" name="q" maxlength="255" placeholder="Search…" class="span2" style="margin-top: 4px;"/>
""" % SITE_URL