Update hub layout to match the new HPR website #99
Reference in New Issue
Block a user
No description provided.
Delete Branch "newsite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR updates the hub layout to match the new HPR look.
It adds a global $referrerurl to use in links back to the HPR website from which they came to the hub site.
It adds a global $generator_name and $generator_email to use in the footer, and make creating other hub instances easier in the future.
It updates some of the 412 pages to match the format of the rest of the site and make them look nicer. Not sure I updated all instances.
Update meta link URL's to use $baseurl and $hubBaseurl to make testing locally and setting up other hub instances easier in the future.
I ran into one CORS issue when referencing external css file. The regular hpr.css file was fine, but threw a CORS issue when trying to load the font files.
I had to add:
Header set Access-Control-Allow-Origin "*"
to my apache conf file for my local instance of the HPR website (after enabling the headers mod) to fix the issue.
The CORS workaround would be a problem, if necessary we can copy the css localy
When do you suggest we merge these ?
I was thinking the easiest way is to just copy the CSS. Does mean we have to keep it synchronized, but shouldn't be that much of an issue.
I will add the CSS to hub either tonight or tomorrow night. Once that is merged, I am fine to merge both hpr_generator and hpr_hub PRs to main. You can merge the PR for each repository to main. Once we are sure it is all good, we can delete the PRs and the branches.
Thanks for your help and patience with this redesign.
Go for it.