Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2375] Add hooks to the footer for extension
- Loading branch information
Showing
2 changed files
with
33 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
<footer class="site-footer"> | ||
<div class="container"> | ||
|
||
<nav class="footer-links row-fluid"> | ||
<ul class="unstyled row-fluid"> | ||
{% block footer_links %} | ||
<li><a href="#">Terms and Conditions</a></li> | ||
<li><a href="#">Accessibility</a></li> | ||
<li><a href="#">Code of conduct</a></li> | ||
<li><a href="#">Moderation policy</a></li> | ||
<li><a href="#">FAQ</a></li> | ||
<li><a href="#">Privacy</a></li> | ||
<li><a href="#">Contact us</a></li> | ||
<li><a href="#">Consultation</a></li> | ||
{% block footer_content %} | ||
<nav class="footer-links row-fluid"> | ||
{% block footer_nav %} | ||
<ul class="unstyled row-fluid"> | ||
{% block footer_links %} | ||
<li><a href="#">Terms and Conditions</a></li> | ||
<li><a href="#">Accessibility</a></li> | ||
<li><a href="#">Code of conduct</a></li> | ||
<li><a href="#">Moderation policy</a></li> | ||
<li><a href="#">FAQ</a></li> | ||
<li><a href="#">Privacy</a></li> | ||
<li><a href="#">Contact us</a></li> | ||
<li><a href="#">Consultation</a></li> | ||
{% endblock %} | ||
</ul> | ||
{% endblock %} | ||
</nav> | ||
<div class="attribution"> | ||
{% block footer_attribution %} | ||
<p><strong>Powered by</strong> <a class="hide-text ckan-footer-logo" href="http://ckan.org">CKAN</a></p> | ||
{% endblock %} | ||
</ul> | ||
</nav> | ||
<div class="attribution"> | ||
{% block footer_attribution %} | ||
<p><strong>Powered by</strong> <a class="hide-text ckan-footer-logo" href="http://ckan.org">CKAN</a></p> | ||
{% endblock %} | ||
{% block footer_lang %} | ||
{% snippet "snippets/language_selector.html" %} | ||
{% endblock %} | ||
</div> | ||
{% block footer_lang %} | ||
{% snippet "snippets/language_selector.html" %} | ||
{% endblock %} | ||
</div> | ||
{% endblock %} | ||
</div> | ||
{% if config.debug %} | ||
{% include 'snippets/debug.html' %} | ||
{% endif %} | ||
|
||
{% block footer_debug %} | ||
{% if config.debug %} | ||
{% include 'snippets/debug.html' %} | ||
{% endif %} | ||
{% endblock %} | ||
</footer> |