alphagov / tech-docs-gem

Gem to distribute the tech docs project
https://tdt-documentation.london.cloudapps.digital/
MIT License
15 stars 38 forks source link

Add possibility to add something to the head #64

Closed selfthinker closed 5 years ago

selfthinker commented 5 years ago

This makes it possible to inject anything, like further styles, scripts or meta data, into the <head> with content_for :head.

jonathanglassman commented 5 years ago

@selfthinker is there a particular user need you have in mind for this change?

selfthinker commented 5 years ago

Yes, I plan to move everything related to accessibility personas into one repo. That will include bad and good example pages. I would need to "break" something only on particular pages like we do on https://empathy-lab-personas.herokuapp.com/. (I will send you the password to that separately.)

jonathanglassman commented 5 years ago

Ok, that makes complete sense, thanks for the clarification. I've asked Tijmen for a review in case he is concerned about anything from a technical point of view.