Skip to content

Instantly share code, notes, and snippets.

@lu-zero
Created September 4, 2015 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lu-zero/e154b5d5c38c58fd73b1 to your computer and use it in GitHub Desktop.
Save lu-zero/e154b5d5c38c58fd73b1 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<title>Plaid - {{title}}</title>
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/bootstrap.css')}}" />
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/bootstrap-theme.css')}}" />
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/octicons.css')}}" />
<link rel="stylesheet" type="text/css" href="{{url_for('static', filename='css/plaid.css')}}" />
{% block head %}{% endblock %}
</head>
..
{% block content %}{% endblock %}
{% extends "base.html" %}
{% from "macros.html" import render_patches %}
{% block content %}
{{ render_patches() }}
{% endblock %}
{%- macro render_patches() -%}
TEST
{% block head %}HEAD {% endblock %}
{% endmacro %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment