diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-08-11 03:10:50 +0900 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-08-11 03:10:50 +0900 |
commit | 6e998d9d2233597519eff7d8c3d77f255313c919 (patch) | |
tree | 28a66004ffa6721d68723454ec6054b18c8c4ba5 /etc | |
parent | 59703f2ec84fa366ab1be9a0bfacd302c9c21155 (diff) |
remove 'Save to PDF' link from normal HTML pages
'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>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/pagemenu.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/pagemenu.html b/etc/pagemenu.html index 2bb9d1c06..67601b655 100644 --- a/etc/pagemenu.html +++ b/etc/pagemenu.html @@ -13,7 +13,9 @@ {%- 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> |