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

Feature/private pages (PR 579 rebased) #694

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

orel1
Copy link

@orel1 orel1 commented Jan 8, 2024

Hello,
The feature allowing private pages is interesting. I simply rebased the PR #579 commits and all works! In response to the initial pull request, I've added some documentation on how it works.
For the sake of completeness, it would be preferable for these private pages to be filtered in the pages "All pages" or "Recent activity", but I'm unable to do that in haskell 😢
Do you think this feature could be merged as it stands?

Jassob and others added 7 commits December 8, 2023 14:03
Added functions and types for handling private pages.
Added a handler predicate, unlessPrivatePage, that takes two handlers as
arguments and runs the first if the requested page is not listed as a
private page, otherwise it runs the fallback handler.

Also wired up the predicate with the default gitit settings.
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

Successfully merging this pull request may close these issues.

None yet

2 participants