• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{%- include snippets/get-locale-string.html key='LICENSE_ANNOUNCE' -%}
2{%- assign _license_announce = __return -%}
3
4{%- if include.license -%}
5
6  {%-assign _license_name = '<a itemprop="license" rel="license" href="[URL]">[NAME]</a>' | replace: "[URL]", include.license.url | replace: "[NAME]", include.license.name -%}
7  <div class="license">
8    <p>{{ _license_announce | replace: "[LICENSE]", _license_name }}
9      <a rel="license" href="{{ include.license.url }}">
10        <img alt="{{ include.license.name }}" src="{{ include.license.image }}" />
11      </a>
12    </p>
13  </div>
14{%- endif -%}