New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Privacy config flags #3241
Comments
Just a thought, to keep our config clean and structured I was wondering if we could introduce the new options as one setting? Disable everything: Disable specific options
|
If no one is working on this one, I call dibs ✋ |
This is mostly ready, just having an issue on trying to exclude Google Fonts - WIP code here: morficus@0b59e81 If anyone has some time, I could use some help creating some type of template helper working that will still execute when inside conditional blocks like |
What's not working with the {{#unless}} helper you're using? |
The helper doesn't get called at all with the {{#unless}} (you can put a But if I only do {{skip_google_fonts}} then the helper is executed. Maurice W. Sent from a mobile device. Please forgive any typos.
|
Handlebars won't execute a function as an argument. |
This is how I did a similar thing: bb490e4 Might not be the right way, but it worked |
@ErisDS thanks for the hint 👍 |
closes TryGhost#3241 - in config.js, the `privacy` attribute holds all privacy-related flags - `privacy.userTinfoil: true` disables everything (equivalent to setting all flags to false) - added helper function to core/server/config/index.js to checking privacy flags - added helper function to core/server/config/index.js to show warning about deprecated items
From #3064
To achieve this there needs to be config options for:
googleFonts: false
gravatar: false
rpcPing: false
We already have
updateCheck: false
The text was updated successfully, but these errors were encountered: