Mercurial > p > roundup > code
comparison doc/_templates/layout.html @ 4811:7cf0468a9fa4
Remove duplicated link to page source from doc footer
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Sun, 25 Aug 2013 09:52:49 +0300 |
| parents | bca7c59ac400 |
| children | 515ab1749b14 |
comparison
equal
deleted
inserted
replaced
| 4810:7b575e1f7368 | 4811:7cf0468a9fa4 |
|---|---|
| 155 {%- if hasdoc('copyright') %} | 155 {%- if hasdoc('copyright') %} |
| 156 {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} | 156 {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %} |
| 157 {%- else %} | 157 {%- else %} |
| 158 {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} | 158 {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %} |
| 159 {%- endif %} | 159 {%- endif %} |
| 160 {%- if show_source and has_source and sourcename %} | |
| 161 <p class="source"><a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('source') }}</a></p> | |
| 162 {%- endif %} | |
| 163 </div> | 160 </div> |
| 164 {%- endblock %} | 161 {%- endblock %} |
| 165 </body> | 162 </body> |
| 166 </html> | 163 </html> |
