docs/.templates/macros/html @ 8ef26ddc1bd8
Split the keyword help into its own topic.
fixes issue 8
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 24 Nov 2009 20:45:09 -0500 |
parents |
2a8eea4463c3 |
children |
(none) |
{% macro cssimport(css_href, document_root="", media="screen, projection") -%}
<link rel="stylesheet" type="text/css" href="{{ document_root }}{{ css_href }}" {% if media %}media="{{ media }}" {% endif %}/>
{%- endmacro %}
{% macro css() -%}
<style type="text/css">
{{ caller() }}
</style>
{%- endmacro %}
{% macro jsimport(js_href, document_root="") -%}
<script type="application/javascript" src="{{ document_root }}{{ js_href }}"></script>
{%- endmacro %}
{% macro js() -%}
<script type="text/javascript">
{{ caller() }}
</script>
{%- endmacro %}