Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed link to entries (no more reinout.vanrees.org/./weblog/....)

  • Loading branch information...
commit 7838be4a2a3c9f7c0af1d979eaf79b31d5ea7dc6 1 parent 342b385
Reinout van Rees authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  rvo/weblog.py
3  rvo/weblog.py
@@ -231,7 +231,8 @@ def assign_to_tags(self, tag_dict, weblogdir):
231 231 @property
232 232 def url(self):
233 233 """Return url relative to weblog root (excluding starting slash)"""
234   - return self.filename.replace('.txt', '.html').replace('source/', '')
  234 + return self.filename.replace('.txt', '.html').replace(
  235 + 'source/', '').replace('./weblog', 'weblog')
235 236
236 237 @property
237 238 def atom_content(self):

0 comments on commit 7838be4

Please sign in to comment.
Something went wrong with that request. Please try again.