{{#if presskit.widgets}}
<section class="block">
  <h2 id="widgets">Widgets</h2>

  <div>
    {{#if presskit.widgets.appstore}}
    <p>
      <a
        href="https://itunes.apple.com/app/id{{trim presskit.widgets.appstore}}"
        target="_blank"
        class="widget widget--appstore">
        {{>appstore}}
      </a>
    </p>
    {{/if}}

    {{#if presskit.widgets.playstore}}
    <p>
      <a
        href="https://play.google.com/store/apps/details?id={{trim presskit.widgets.playstore}}"
        target="_blank"
        class="widget widget--playstore">
        {{>playstore}}
      </a>
    </p>
    {{/if}}
  </div>

  {{#if presskit.widgets.steam}}
  <p>
    <iframe src="https://store.steampowered.com/widget/{{trim presskit.widgets.steam}}/" frameborder="0" class="widget widget--steam"></iframe>
  </p>
  {{/if}}

  {{#if presskit.widgets.humble}}
  <p>
    <iframe src="https://www.humblebundle.com/widget/v2/product/{{trim presskit.widgets.humble}}" frameborder="0" scrolling="no" class="widget widget--humble"></iframe>
  </p>
  {{/if}}

  {{#if presskit.widgets.itch}}
  <p>
    <iframe src="https://itch.io/embed/{{trim presskit.widgets.itch}}?dark=true" frameborder="0" class="widget widget--itch"></iframe>
  </p>
  {{/if}}

  {{#if presskit.widgets.gamejolt}}
  <p>
    <iframe src="https://widgets.gamejolt.com/package/v1?key={{trim presskit.widgets.gamejolt}}" frameborder="0" class="widget widget--gamejolt"></iframe>
  </p>
  {{/if}}

  {{#if presskit.widgets.bandcamp}}
  <p>
    <!-- TODO: customize `linkcol` with brand color. -->
    <iframe src="https://bandcamp.com/EmbeddedPlayer/album={{trim presskit.widgets.bandcamp}}/size=large/bgcol=ffffff/linkcol=3398ff/tracklist=false/artwork=small/transparent=true/" seamless class="widget widget--bandcamp"></iframe>
  </p>
  {{/if}}
</section>
{{/if}}
