{% macro relationships_links(resource) %} {% if resource.tools %}
Tools
{% for tool in resource.tools %}
{{ resource_lead(tool,size=2) }}
{% endfor %}
{% endif %} {% if resource.books %}
Books
{% for book in resource.books %}
{{ resource_lead(book,size=2) }}
{% endfor %}
{% endif %} {% if resource.practices %}
Practices
{% for practice in resource.practices %}
{{ resource_lead(practice,size=2) }}
{% endfor %}
{% endif %} {% endmacro %} {% macro resource_with_related(resource, loop, show_number=true) %}
{{ resource_lead(resource) }}
{% if resource.tools %}
{% for tool in resource.tools %}
{{ resource_lead(tool,size=2) }}
{% endfor %}
{% endif %} {% if resource.books %}
{% for book in resource.books %}
{{ resource_lead(book,size=2) }}
{% endfor %}
{% endif %} {% if resource.practices %}
{% for practice in resource.practices %}
{{ resource_lead(practice,size=2) }}
{% endfor %}
{% endif %}
{% endmacro %} {% macro popup_link(title,url) %} {{ title }} {% endmacro %} {% macro resource_lead(resource,size=1) %} {% if (resource['type'] == 'book') %} cover for {{ resource['name'] }} {% endif %}

{{ resource['name'] }}

{% if resource['year'] %}
{{ resource['year'] }}{% if resource['author'] %}, {{ resource['author'] }}{% endif%}
{% endif %}
{{ resource['description'] | truncate(150) }}
{% if current_user.is_authenticated %}
{% if resource['type'] == 'tool' %} Edit {% elif resource['type'] == 'practice' %} Edit {% elif resource['type'] == 'book' %} Edit {% endif %}
{% endif %} {% endmacro %} {{ moment.include_moment() }} Experimental Publishing Compendium
Loading...
{% with messages = get_flashed_messages() %} {% if messages %}
{{ messages[0] }}
{% endif %} {% endwith %} {% block content %} {% endblock %}