Johani
(Joe)
07.Декабрь.2020 10:50:56
97
Посмотрите здесь
For quite a while, best practice has been to avoid editing themes installed from a remote Git repository locally on Discourse. Any changes to theme code or uploads get wiped out when updating the theme from the remote repo.
In this commit, we’ve removed the ability to locally edit a remote theme and are now enforcing this best practice in Discourse.
What happens if I have a remote theme with local changes?
Nothing at this point. Your theme stays as is until you remove it or update it from re…
Вам никогда не приходилось редактировать CSS темы для внутренних объявлений. Вам следует создать новый компонент темы с вашим CSS и добавить его в тему.
House Ad Templates
This guide provides templates for creating house ads using the Official Discourse Ad Plugin .
Important: Disable ad blockers (including those built in to browsers, e.g. Brave) before working with these ad customizations.
Before You Start
Create a “House Ads” theme component to store:
CSS for your house ads
Uploaded images used in ads
Add the component to all active themes where ads will appear
Optimize images using TinyPNG to reduce file size while maintain…
Это потенциальное улучшение
Не могли бы вы сообщить, где именно вы сталкиваетесь с этой проблемой?
3 лайка