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

Don't show "Edit this page" link on search page #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pascalberger
Copy link

@pascalberger pascalberger commented Jan 18, 2023

Sets edit link on search page to an empty string and don't shows the Edit this page link if setting is empty.

Fixes #27

@pascalberger
Copy link
Author

If there is a way to remove a key from a document this would be the cleaner way, but I don't see an easy way to do this.

@girlpunk
Copy link
Contributor

The check on line 13 of _RightSidebar.cshtml should probably be updated as well

@pascalberger
Copy link
Author

The check on line 13 of _RightSidebar.cshtml should probably be updated as well

Good catch 👍! I updated the PR

@daveaglick
Copy link
Member

Just a little note that I'm here and reading every issue/PR/comment :) - hoping to get some Statiq time soon!

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

Successfully merging this pull request may close these issues.

Don't show "Edit This Page" on search page
3 participants