summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2011-04-29 15:09:19 +0200
committerMarcel Hellkamp <marc@gsites.de>2011-04-29 15:10:18 +0200
commitc116e5631b47eea66883de1632d69e80edf607c8 (patch)
tree4b9b1c123ee64bcb659ea60c54487ffa49cbcae0
parent5bdd7b58f351343b008451d85a65e68fffceaf7e (diff)
downloadbottle-c116e5631b47eea66883de1632d69e80edf607c8.tar.gz
docs: Correct download links.
-rwxr-xr-xdocs/_templates/layout.html2
-rw-r--r--docs/_templates/sidebar-intro.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index d2a7f2a..32b46cb 100755
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -19,7 +19,7 @@
<div id="disqus_thread" style="margin: 2em 0;"></div>
<script type="text/javascript">
var disqus_shortname = 'bottlepy';
- var disqus_identifier = 'docs_{{pagename}}_{{version}}';
+ var disqus_identifier = 'docs_{{pagename}}';
var disqus_title = '{{title}}';
//var disqus_url = 'http://example.com/permalink-to-page.html';
(function() {
diff --git a/docs/_templates/sidebar-intro.html b/docs/_templates/sidebar-intro.html
index 8f99a80..eac97dd 100644
--- a/docs/_templates/sidebar-intro.html
+++ b/docs/_templates/sidebar-intro.html
@@ -13,7 +13,7 @@
<p>Install Bottle with <code>pip&nbsp;install&nbsp;bottle</code> or download the source package at <a href="http://pypi.python.org/pypi/bottle">PyPI</a>.</p>
<h3>Documentation</h3>
<p>
- Download this documentation as <a href="http://bottlepy.org/docs/bottle-docs.pdf">PDF</a> or <a href="http://bottlepy.org/docs/bottle-docs.zip">HTML (zip)</a> for offline use.
+ Download this documentation as <a href="{{ pathto('bottle-docs.pdf', 1) }}">PDF</a> or <a href="{{ pathto('bottle-docs.zip', 1) }}">HTML (zip)</a> for offline use.
</p>
<h3>Sources</h3>
<p>Browse the sources at <a href="https://github.com/defnull/bottle">GitHub</a>.</p>