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

Add support for Tipue Search plugin for current Pelican version. #873

Merged
merged 1 commit into from Dec 13, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

Copy path View file
@@ -57,7 +57,8 @@ def create_json_node(self, page):
node = {'title': page_title,
'text': page_text,
'tags': page_category,
'url': page_url}
'url': page_url,
'loc': page_url} # changed from 'url' following http://blog.siphos.be/2015/08/updates-on-my-pelican-adventure/ (an update to Pelican made it not work, because the update (e.g., in the theme folder, static/tipuesearch/tipuesearch.js is looking for the 'loc' attribute.

self.json_nodes.append(node)

ProTip! Use n and p to navigate between commits in a pull request.