fix templates/themes/index.html

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2022-11-18 11:33:25 +05:30
parent a0791f8aec
commit d6251f2614
2 changed files with 34 additions and 34 deletions

View File

@@ -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;

View File

@@ -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/>