Sha256: 004b569e0de25b37d8013003faee399d12449e155436f3b606b620210c03343f

Contents?: true

Size: 1008 Bytes

Versions: 4

Compression:

Stored size: 1008 Bytes

Contents

<div class="__js-root">
  {% if site.env.GOOGLE_CALENDAR_APIKEY and include.calendarId %}
    <ui-calendar-google-provider v-slot="{ events, onShowMore, hasMore }" :calendar-id="'{{ include.calendarId }}'" :api-key="'{{ site.env.GOOGLE_CALENDAR_APIKEY }}'">
      <ui-calendar-renderer
        :events="events"
        :on-show-more="onShowMore"
        :has-more="hasMore" :name="'{{ include.calendarTitle | default: 'Kalendář' }}'"
        {% if include.hideBanner %}:show-banner="false"{% endif %}
      ></ui-calendar-renderer>
    </ui-calendar-google-provider>
  {% else %}
    {% if include.calendarPage %}
      <iframe src="{{ include.calendarPage }}" style="border-width:0; width: 100%; height: 410px; border: 0; overflow: hidden;"></iframe>
      <p class="mt-4">
        <a class="btn btn--orange-200 btn--hoveractive" href="{{ include.calendarPage | relative_url }}">
          <span class="btn__body">Zobrazit všechny akce</span>
        </a>
      </p>
    {% endif %}
  {% endif %}
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-pirati-8.0.0.pre.alpha4 _includes/calendar.html
jekyll-theme-pirati-8.0.0.pre.alpha3 _includes/calendar.html
jekyll-theme-pirati-8.0.0.pre.alpha2 _includes/calendar.html
jekyll-theme-pirati-8.0.0.pre.alpha1 _includes/calendar.html