{{#each fields.content.climateList}}
  {{#isnt ../fields.content.type 'resort'}}
    <h3><a href="{{siteUrlOverview}}">{{name}}</a></h3>
  {{/isnt}}
  <table class="cux-weather-year">
    <tbody>
    <tr>
      <th>&nbsp;</th>
      {{#each climate}}
        <th scope="col"><abbr title="{{getResource ../../fields.resource.fields.items month}}">{{substring (getResource ../../fields.resource.fields.items month) 0 3}}</abbr></th>
      {{/each}}
    </tr>
    <tr>
      <th scope="row">{{getResource ../fields.resource.fields.items 'dayLabel'}}</th>
      {{#each climate}}
        <td class="temp-{{weatherCssClass dayTemperature}}">{{#if dayTemperature}}{{dayTemperature}}°{{else}}-{{/if}}</td>
      {{/each}}
    </tr>
    <tr>
      <th scope="row">{{getResource ../fields.resource.fields.items 'nightLabel'}}</th>
      {{#each climate}}
        <td class="temp-{{weatherCssClass nightTemperature}}">{{#if nightTemperature}}{{nightTemperature}}°{{else}}-{{/if}}</td>
      {{/each}}
    </tr>
    <tr>
      <th scope="row">{{getResource ../fields.resource.fields.items 'waterLabel'}}</th>
      {{#each climate}}
        <td class="temp-water">{{#if waterTemperature}}{{waterTemperature}}°{{else}}-{{/if}}</td>
      {{/each}}
    </tr>
    <tr>
      <th scope="row">{{getResource ../fields.resource.fields.items 'rainFreeDaysLabel'}}</th>
      {{#each climate}}
        <td class="days">{{#if numberOfRainFreeDays}}{{numberOfRainFreeDays}}{{else}}-{{/if}}</td>
      {{/each}}
    </tr>
    </tbody>
  </table>
{{/each}}
