{{#> base}}
	{{#*inline "cards-block"}}
        <meta property="og:url" content="https://lolisafe.moe" />
		<meta property="og:type" content="website" />
		<meta property="og:title" content="{{ title }} | {{ count }} files" />
		<meta property="og:description" content="lolisafe.moe | A small safe worth protecting." />
		<meta property="og:image" content="{{ thumb }}" />
		<meta property="og:image:secure_url" content="{{ thumb }}" />

		<meta name="twitter:card" content="summary">
		<meta name="twitter:title" content="{{ title }} | {{ count }} files">
		<meta name="twitter:description" content="lolisafe.moe | A small safe worth protecting.">
		<meta name="twitter:image" content="{{ thumb }}">
		<meta name="twitter:image:src" content="{{ thumb }}">
    {{/inline}}
		{{#*inline "head-block"}}
				<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
        <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
    {{/inline}}
    {{#*inline "body-block"}}
		<section class="hero is-fullheight">
			<div class="hero-head">
				<div class="container">
					<div class="columns">
						<div class="column is-9">
							<h1 class="title" id='title' style='margin-top: 1.5rem;'>{{ title }}</h1>
							<h1 class="subtitle" id='count'>{{ count }} files</h1>
						</div>
						<div class="column is-3" style="text-align: right; padding-top: 45px;">
							{{#if enableDownload}}
								<a class="button is-primary is-outlined" title="Download album" href="/api/album/zip/{{ identifier }}">Download Album</a>
							{{/if}}
						</div>
					</div>
					<hr>
				</div>
			</div>
			<div class="hero-body">
				<div class="container" id='container'>
					<div class="columns is-multiline is-mobile" id="table">
						{{#each files}}
						<div class="column is-2">
							<a href="{{ this.file }}" target="_blank">{{{ this.thumb }}}</a>
						</div>
						{{/each}}
					</div>
				</div>
			</div>
		</section>
    {{/inline}}
{{/base}}
