Skip to content

Commit

Permalink
Need these.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Jacoby committed Dec 20, 2012
1 parent 161f3bc commit c3669ab
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions site/layout/blank.j2
@@ -0,0 +1,24 @@
{% extends "base.j2" %}

{% block menu %}
<nav>
{{ macros.render_main_menu() }}
</nav>
{% endblock %}

{%- block content -%}
{% mark post -%}
<article class="post">
<section>
{% mark content -%}
{% filter markdown|typogrify -%}
{% block post %}{% endblock %}
{%- endfilter %}
{%- endmark %}
</section>
</article>
{% if site.config.mode == "development" %}
{% include media_url('js/disqus.js') %}
{% endif %}
{%- endmark -%}
{% endblock -%}
2 changes: 1 addition & 1 deletion site/layout/macros.j2
Expand Up @@ -10,7 +10,7 @@
<sup><a id="{{ target }}-mark" href="#{{ target }}-note">{{ identifier }}</a></sup>
{% else %}
{% markdown %}
<div id="{{ target }}-note" class="footnote"><a class="footnote-note-number" href="#{{ target }}-mark">{{ identifier }}.</a> {{ content|markdown }}</div>
<div id="{{ target }}-note" class="footnote"><a class="footnote-note-number" href="#{{ target }}-mark">{{ identifier }}. </a> {{ content|markdown }}</div>
{% endmarkdown %}
{% endif %}
{% endmacro %}
Expand Down

0 comments on commit c3669ab

Please sign in to comment.