Reorganize http resources and build logic
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{% from "macros.html.j2" import make_header %}{% from "macros.html.j2" import make_social_links %}<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{ make_header(config, alttitle=post.title, css_bundle=css_bundle, js_bundle=js_bundle) }}
|
||||
<body>
|
||||
<div id="preloader" class="nojs"><div class="spinner"><div></div></div></div>
|
||||
{% for media in post.media %}
|
||||
<div class="post-media" style="background-image: url('{{ media.preload_url(config) }}')"><div class="overlay"></div></div>
|
||||
{% endfor %}
|
||||
<div id="download-source" class="nojs"><i class="fas fa-cloud-download-alt"></i></div>
|
||||
<div id="link" class="nojs"><i class="fas fa-link"></i></div>
|
||||
<div id="media-previous" class="nojs"><i class="fas fa-chevron-left"></i></div>
|
||||
<div id="media-next" class="nojs"><i class="fas fa-chevron-right"></i></div>
|
||||
|
||||
<div id="content">
|
||||
<div id="header">
|
||||
<h1>
|
||||
Explore {{ config.title }}
|
||||
|
||||
<span class="float-right">
|
||||
{{ make_social_links(config) }}
|
||||
</span>
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
{% for post in posts %}
|
||||
<li class="article primary-text">
|
||||
<div class="article-banner" style="background-image: url('{{ post.banner_url(config) }}');">
|
||||
<a href="{{ post.slug }}/" class="article-content">
|
||||
<h2>{{ post.title }}</h2>
|
||||
<p>
|
||||
<i class="fas fa-map-marker-alt"></i>{{ post.location.title }}
|
||||
<i class="far fa-calendar-alt"></i>{{ post.date }}
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user