mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
e5f5fb1038
* You can now disable using icons in home's footer links by setting "home_icons" to false in _globals.njk. * Renamed "meta" block to "opengraph" in _layout.njk, since the block only represents opengraph tags anyways. * Moved noscript warning to its own file at views/_partial/noscript.njk. It's also now being included in dashboard and auth pages. * No-JS uploader will no longer use icons in its footer links. It will also no longer load fontello.css. * Updated static files' version string in _globals.njk. * Some other tweaks, mainly to get no-icons mode to work properly.
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
{% extends "_layout.njk" %}
|
|
|
|
{% block stylesheets %}
|
|
<!-- Stylesheets -->
|
|
<link rel="stylesheet" type="text/css" href="../libs/bulma/bulma.min.css?v={{ globals.v }}">
|
|
<link rel="stylesheet" type="text/css" href="../css/style.css?v={{ globals.v }}">
|
|
<style>
|
|
html {
|
|
background-color: #232629;
|
|
}
|
|
|
|
.section {
|
|
background: none;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block opengraph %}
|
|
<!-- Open Graph tags -->
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="{{ title }} – {{ count }} files" />
|
|
<meta property="og:url" content="{{ url }}" />
|
|
<meta property="og:description" content="A pomf-like file uploading service that doesn't suck." />
|
|
<meta property="og:image" content="{{ thumb }}" />
|
|
<meta property="og:locale" content="en_US" />
|
|
|
|
<!-- Twitter Card tags -->
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:title" content="{{ title }} – {{ count }} files">
|
|
<meta name="twitter:description" content="A pomf-like file uploading service that doesn't suck.">
|
|
<meta name="twitter:image" content="{{ thumb }}">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{{ super() }}
|
|
<section class="section">
|
|
<div class="container">
|
|
<h1 id="title" class="title">
|
|
{{ title }}
|
|
</h1>
|
|
<h1 id="count" class="subtitle">
|
|
{{ count }} files
|
|
</h1>
|
|
{% if enableDownload %}
|
|
<a class="button is-primary is-outlined" title="Download album" href="../api/album/zip/{{ identifier }}">Download Album</a>
|
|
{% endif %}
|
|
<hr>
|
|
<div id="table" class="columns is-multiline is-mobile is-centered">
|
|
{% for item in files %}
|
|
<div class="column is-narrow">
|
|
<a href="{{ item.file }}" target="_blank">{{ item.thumb | safe }}</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% endblock %}
|