Closed ericholscher closed 8 months ago
I'm not sure how we are differentiating community from commercial templates. I didn't find these differentiation in the repository, but I assume we could just remove the footer_sponsors
block in commercial ones:
Yea, @agjohnson is there a pattern here for this?
In other contexts, USE_ORGANIZATIONS
makes sense, though less so here. I would just reuse that context variable for now, ie:
Cool, I used USE_PROMOS
, since hopefully we'll get ORGANIZATIONS on .com before we ship ads on it 😆
At this point, I think we should have a ON_READTHEDOCS_COMMUNITY
and/or ON_READTHEDOCS_BUSINESS
instead of using settings that were meant for different purposes 😄
@humitos Yea. I think we have PRODUCTION_DOMAIN == 'readthedocs.org'
, which is probably what we actually want? Though we could always just have another value in our context processor that precomputed that :D
Realized we have the "sponsored by" content in the footer on the commercial side. Would be good to have a flag where we can only show this on community.