Comparison/Check if user is on a legal/policy page
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 11.9k
- Forks
- 1.5k
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 3
Description
Is there any way to check if the user is on a legal/policy page in Liquid?
I am creating a theme which has an age verification. On this age verification, there would be links to the various policies, and would like the user to be able to see those policies without having to confirm their age.
I know how to get the template, but the legal/policy pages don't have a template, so couldn't do that.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides no file or test entry point; begin by reviewing how Liquid exposes the current template and how themes represent legal or policy pages. Confirm whether a page check is already supported, then define the expected behavior for age-verification links and add coverage for the supported cases.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100