Open ivargrimstad opened 1 year ago
Yeah, I have opened a PR: https://github.com/jakartaee/jakarta.ee/pull/1925 which needs to be merged.
Once that is done I think the outstanding PR will be ready for review
Yeah, I have opened a PR: jakartaee/jakarta.ee#1925 which needs to be merged.
Once that is done I think the outstanding PR will be ready for review
We've now merged that change, I hadn't seen the email for the updated review. Should be live in the next 5 minutes!
Hi @autumnfound , I noticed when fetching the footer from the Jakarta.ee endpoint the html fragment that I am receiving in response does not have the opening tags as well as the html code for some of the elements for e.g. html, body tags don't have an opening tag.
For inspecting I tried a curl request and viewed the response, Is there any particular reason for this?
For Faces in particular, valid XHTML would be far preferable.
For inspecting I tried a curl request and viewed the response, Is there any particular reason for this?
When it was generated, this was stated as the header and footer of the page that come together to create the base Jakarta page. When combined, the final output would be valid HTML. The intention is that it could be easier to do the string replaces for the placeholders in the header, and attempts to make it less complicated for integration.
For Faces in particular, valid XHTML would be far preferable.
If it would make it easier, we can look at creating a single HTML document that would be the full page, where the body content would need to be injected into the DOM manually. Should we start tracking a request for that change?
Another, less "proper" approach would be to just strip out the
and
The header (with menu), as well as the footer, must be synced with the one at https://jakarta.ee
This is the Starter header today:
This is how it should be:
The sources for the https://jakarta.ee website can be found here: https://github.com/jakartaee/jakarta.ee It is built with Hugo, but should it should be possible to include the header and footer in Faces.