simple question but could not find the answer yet:
I want to use an advanced theme to output some html if it is a question site, e.g. question URL:
http://www.question2answer.org/qa/12973/how-to-identify-main-page-from-custom-theme
How do I do this?
if ($this->template=='???') { ...
if ($this->request=='???') { ...
if ($this->content...
I assume the latter but do not know how...
For the question view, you want:
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.