GitHub PushEvent at 2014-06-16 06:39:37
Repository: pelican
Actor: Scheirle
Payload: {"shas":[["3c271f4faa0c6a18aaab38758f90ef48f175a40e","0cb9dbc962ed7dc64b3ac76db5df9ac44d1964e6@scheirle.de","Fixes wrongly generated relative urls for pagination.\n\nWhen `RELATIVE_URLS` is `True` and the `PAGINATION_PATTERNS` adds folder to the path, the relative urls to these pages does not respect these additional folders.\n\nExample:\n\tSettings:\n\t\tRELATIVE_URLS = True\n\t\tPAGINATION_PATTERNS = (\n\t\t\t(1, '{base_name}/', '{base_name}/index.html'),\n\t\t\t(2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),)\n\n\tTheme:\n\t\t<link href=\"{{ SITEURL }}/theme/css/style.css\" rel=\"stylesheet\">\n\nIf you are on page 2 then \"{{ SITEURL }}/theme/css/style.css\" expands to \"./theme/css/style.css\" instead of \"./../../theme/css/style.css\".\n\nFix:\nSimply compute the relative url from the paginated url instead of the not paginated one.","Bernhard Scheirle",true]],"size":1,"ref":"refs/heads/paginated_relative_urls_fix2","head":"3c271f4faa0c6a18aaab38758f90ef48f175a40e"}