AbsorbingChaos / unmuteable-com

UN ✕ MUTE ✕ ABLE
https://unmuteable.com
0 stars 0 forks source link

Customize Forestry Admin Page #25

Closed whoabuddy closed 4 years ago

whoabuddy commented 4 years ago

The current admin page loads CSS/JS from forestry, and it takes quite a while to load. The elements are not styled the same as the website, and the finalized page could benefit from the partials used in the main build.

Based on Hugo Directory Structure, this likely means creating an admin page in the content directory versus the static directory, and appending the required scripts into the current layout.

It will also require an update in the forestry config to match. Maybe rename to login or another name?

whoabuddy commented 4 years ago

Tried this and failed due to content security policy. The admin page uses several external scripts, inline css, and other features that require too much modification to the CSP just to achieve an updated layout. Rather than adjust the CSP for this one page, it's easier to leave as-is in the static folder.