Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zen-ipython theme] search form doesn't work #144

Open
zouhx11 opened this issue Mar 18, 2018 · 4 comments
Open

[zen-ipython theme] search form doesn't work #144

zouhx11 opened this issue Mar 18, 2018 · 4 comments

Comments

@zouhx11
Copy link

zouhx11 commented Mar 18, 2018

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 = """

""" % SITE_URL
@Kwpolska
Copy link
Member

The zen themes do not seem to support SEARCH_FORM.

@zouhx11
Copy link
Author

zouhx11 commented Mar 18, 2018

@damianavila What should I do to make some changes?

@damianavila
Copy link
Member

@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 😉

@ralsina
Copy link
Member

ralsina commented Mar 19, 2018

That's about it, yes. Except if it looks like crap, in which case it will need something else ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants