'Save to PDF' should be appeared in single HTML pages.
JIRA: DOCS-156
Change-Id: I4566a976a8590a521bff4d0038597421f367f8e3
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
{%- if show_source and has_source and sourcename %}
<li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
rel="nofollow">{{ _('Show Source') }}</a></li>
+ {%- else %}
+ {# Note: single HTML won't have source rst #}
+ <li><a href="//pdfcrowd.com/url_to_pdf/">Save to PDF</a></li>
{%- endif %}
- <li><a href="//pdfcrowd.com/url_to_pdf/">Save to PDF</a></li>
</ul>
</div>