{# An audio link template for including elsewhere. Eventually this will be enabled by default. #} {%- import "lexicon.macros" as macros with context -%} {% set has_audio = lexicon_entry|xpath('./lg/audio')|length > 0 %} {%- if has_audio -%} {%- set audio = lexicon_entry|xpath('./lg/audio/a') %} {%- endif -%} {# vim: set ts=4 sw=4 tw=72 syntax=htmljinja : #}