Skip to content

Manage <head> separately from the layout #4

@arshavinel

Description

@arshavinel

Google and Social Media should be able to get the <head> data even if there is a Gateway.

Those make a request using HEAD method.
So let's implement the possibility to restrict access for methods all without HEAD one.


TODO:

  • create possibility to store <head> data separately;
    • ex: in layouts/[...]/head.php.
  • allow specific routes to overwrite this head;
    • ex: in outcomes/[...]/head.php
  • for HEAD method, return only head data, instead of the entire layout.

Note: making Gateway bypass HEAD method (from gates/ folder) is the responsibility of the developer (the user of Arshwell).


Note: this task is part of the milestone named Improve Request methods usage.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions