-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Stork search URL is not going to correct place #307
Comments
I'm not able to reproduce this issue, the search takes me to the correct place every time. |
I had some similar issue, basically it should work on
SEARCH_INPUT_OPTIONS = f"""url_prefix = "{SITEURL}"
""" I will adapt the documentation, once PR is merged |
@lioman I accepted your PRs. |
As this issue is still open, and I've a question related to stork search, I'll ask it here. Let me know if my question should be administrated in separate issue, please. Why is this issue still open, the code has been integrated? Is it open to include the documentation? But before you close the issue (if it is to be closed), have a look at my question below, please. First an observation: The search field is rather big, compared to the other text in the navigation bar one could say, it is huge. Of course it is now the same width as the search results window, but when there are no search results the field attracts the user's attention. It is possible to make the width 80% ( I did so in my own version, and I like the result ).
However, my main issue at the moment is that the search results do not point to the correct page. I have a SITEURL including a directory, like so: I set the SEARCH_INPUT_OPTIONS variable to SITEURL: And according to the print out, it is set to the SITEURL:
But is has no effect (at all). Is there anyway to get this working correctly on my site? Is this a bug, or I'm doing something wrong? I'm using Flex from git main. |
Small update:
De output is now:
However, the search results still point to |
Got it working with the patch from lioman applied.
|
This is still open, because my PR is still not merged. It seems that the maintainer just can't find time to review it. Will update this issue, once it is done |
@lioman I did merge your last PR. I'm working on Flex v3, which refactors this theme and fixes a few open issues, it will be available later this year. |
@radoeka the style of the input and result query is provided by stork, you can customize it with custom CSS from pelican settings. I created a better styling for v3, once v3 is out, stork should have a look similar to everything else in Flex. |
I didn't mean you, but the maintainer of the search plugin. Sorry if this was not clear enough. |
@alexandrevicenzi @paulocoutinhox You need to configure it like this:
I adapted the wiki and added a site on how to configure it. |
@lioman: I tried to upgrade from 1.0.2 to 1.1.0, but pelican exits with a CRITICAL. The critical error is:
The error is rather cryptic. Do you perhaps know what causes this? I've to admit, that I've the deprecation warnings for SEARCH_HTML_SELECTOR and OUTPUT_MODE. Are they maybe the reason for the error? |
Hi,
When enable search, the stork url is not going to correct place when im inside article:
Example on screenshot above:
http://localhost:8000/2022/06/28/2022/06/28/apocalipse-de-jesus-cristo-fase-3-o-trono-e-os-seres-viventes.html
If im on home, it is working.
Thanks.
The text was updated successfully, but these errors were encountered: