https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/templates/sphinx/layout.html#L6-L7shows
how I've done it in the past. Making it a template tag is probably a
good approach, like you have done.


On Wed, Feb 12, 2014 at 12:04 PM, Masakazu Kitajo
<notifications@github.com>wrote:

> In readthedocs/restapi/views/footer_views.py:
>
> > @@ -29,6 +29,7 @@ def footer_html(request):
> >          'project': project,
> >          'downloads': version.get_downloads(pretty=True),
> >          'current_version': version.slug,
> > +        'current_page': page_slug + '.html',
>
> aha, now I understood why it doesn't contain extension.
> I'll think about it.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/rtfd/readthedocs.org/pull/661/files#r9655309>
> .
>



-- 
Eric Holscher
Maker of the internet residing in Portland, Or
http://ericholscher.com