{% set metaTitle %} {{- album.name | truncate(60, true, '…') + ' – ' + files.length + ' file' + ('s' if files.length !== 1) -}} {% endset %} {% set metaDesc = album.description | striptags | truncate(200, true, '…') %} {% set metaUrl = '/' + album.url %} {% set fileRoot = config.domain %} {% set metaImage = fileRoot + '/' + album.thumb %} {% extends "_layout.njk" %} {% set noJsUrl = '../' + album.url + '?nojs' %} {% set generateZips = config.uploads.generateZips %} {% set usingCdn = config.cloudflare and config.cloudflare.purgeCache %} {% block stylesheets %} {% endblock %} {% block scripts %} {% if not nojs -%} {%- endif %} {% endblock %} {% block endmeta %} {% if not nojs -%} {% set noscriptRefreshUrl = noJsUrl %} {% include "_partial/noscript-refresh.njk" %} {%- endif %} {% endblock %} {% block content %} {{ super() }}
{% if album.description -%}
{{ album.description | safe }}
{%- endif %}
{% if nojs -%}

You are viewing No-JS version of this album, so file size will be displayed in bytes.

Please click here if you want to view its regular version.

{%- endif %} {% if files.length -%} {%- else -%}
There are no files in the album.
{%- endif %}
{% set floatingHomeHref = '..' %} {% include "_partial/floating-home.njk" %} {% if not nojs -%} {% set noscriptMessage = '

If you are not automatically redirected to its No-JS version, click here.

' %} {% include "_partial/noscript.njk" %} {%- endif %} {% endblock %}