fix templates/themes/index.html
Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 0;
|
height: 0;
|
||||||
padding-bottom: 56.25%
|
padding-bottom: 56.25%;
|
||||||
}
|
}
|
||||||
.videoofnow iframe {
|
.videoofnow iframe {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@@ -43,7 +43,7 @@
|
|||||||
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
|
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="videoofnow">
|
<div class="videoofnow">
|
||||||
<iframe src="{{ settings.videoofnow }}" />
|
<iframe src="{{ settings.videoofnow }}"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
@@ -65,38 +65,38 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<h1>Recent Images</h1>
|
<h1>Recent Images</h1>
|
||||||
<div class="box image">
|
<div class="box image">
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in recent_images %}
|
{% for post in recent_images %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ post.link }}">
|
<a href="{{ post.link }}">
|
||||||
<img src="{{ post.src }}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="">
|
<img src="{{ post.src }}" style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="mainBox">
|
<div class="mainBox">
|
||||||
<h2>Latest Posts</h2>
|
<h2>Latest Posts</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in recent_posts %}
|
{% for post in recent_posts %}
|
||||||
<li>
|
<li>
|
||||||
<strong>{{ post.board_name }}</strong>:
|
<strong>{{ post.board_name }}</strong>:
|
||||||
<a href="{{ post.link }}">
|
<a href="{{ post.link }}">
|
||||||
{{ post.snippet }}
|
{{ post.snippet }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="mainBox">
|
<div class="mainBox">
|
||||||
<h2>Stats</h2>
|
<h2>Stats</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Total posts: {{ stats.total_posts }}</li>
|
<li>Total posts: {{ stats.total_posts }}</li>
|
||||||
<li>Unique posters: {{ stats.unique_posters }}</li>
|
<li>Unique posters: {{ stats.unique_posters }}</li>
|
||||||
<li>Active content: {{ stats.active_content|filesize }}</li>
|
<li>Active content: {{ stats.active_content|filesize }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
Reference in New Issue
Block a user