Closed StephenPCG closed 9 years ago
This is a strange feature to control at post level. Is there are reason why this is not preferable to have as blog level setting?
Hi duilio, initially I just wanted to control it at page level (for per page), not for per post. The motivation is that, I don't want to show a sidebar for pages like "Biography", and "Recent Posts aside" is meaningless for pages like "Archive". For some special cases, I may want to add special aside for certain post, for example I need a "Article Background" aside for a specific post.
Anyway, I thinks this patch just provides possibility to control the sidebar. Without any configuration, it just works like before. But if anyone would like a fine grained control like me, he/she has the option.
ok, fine :-) I would just like two bits of docs in the readme file, i guess you can copy & paste what you've written in the description of this pull request.
use meta to control asides
asides
to control which asides to show and in what order for individual pages:article.asides
is not defined, use global configARTICLE_ASIDES
page.asides
is not defined, use global configPAGE_ASIDES
INDEX_ASIDES
Due to merge conflict with branch
sidebar-switch
, I have merge that branch into this one.