Skip to content

Commit

Permalink
Adds correct link to CKAN API documentation for CKAN instance
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin authored and tobes committed Feb 15, 2013
1 parent 034c04c commit 113e1f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/templates/footer.html
Expand Up @@ -5,8 +5,9 @@
{% block footer_nav %}
<ul class="unstyled row-fluid">
{% block footer_links %}
{% set api_url = 'http://docs.ckan.org/{0}/ckan-{1}/api.html'.format(request.environ.CKAN_LANG, g.ckan_base_version) %}
<li><a href="{{ h.url_for(controller='home', action='about') }}">{{ _('About {0}'.format( g.site_title)) }}</a></li>
<li><a href="http://docs.ckan.org/en/latest/api.html">CKAN API</a></li>
<li><a href="{{ api_url }}">CKAN API</a></li>
<li><a href="http://www.opendefinition.org/okd/"><img src="http://assets.okfn.org/images/ok_buttons/od_80x15_blue.png"></a></li>
<li><a href="http://www.okfn.org/">{{ _('Open Knowledge Foundation') }}</a></li>
{% endblock %}
Expand Down

0 comments on commit 113e1f4

Please sign in to comment.