Skip to content

Commit

Permalink
fix template monstruosity on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
mauforonda committed Dec 6, 2022
1 parent 051c8de commit a18d4ca
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions templates/digest.html.jinja
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% include "style.html.jinja" %}
<!-- <script src="https://static-cdn.mastodon.social/embed.js" async="async"></script> -->
</head>
<body>
</head>
<body>
<div id="container">
<h1>Mastodon Digest</h1>
<span id="render-description">Rendered <span id="rendered-value">{{ rendered_at }}</span> from your timeline over the past <span id="hours-value">{{ hours }}</span> hours</span><br />
<span id="scorer">Scorer: <span id="scorer-value">{{ scorer }}</span></span><br /><span id="threshold">Threshold: <span id="threshold-value">{{ threshold }}</span></span>
<h2>Here are some popular posts you may have missed:</h2>
{% with posts=posts %}
{% include "posts.html.jinja" %}
{% endwith %}
<h2>Here are some popular boosts you may have missed:</h2>
{% with posts=boosts %}
{% include "posts.html.jinja" %}
{% endwith %}
<h1>Mastodon Digest</h1>
<span id="render-description">Rendered <span id="rendered-value">{{ rendered_at }}</span> from your timeline over the past <span id="hours-value">{{ hours }}</span> hours</span><br />
<span id="scorer">Scorer: <span id="scorer-value">{{ scorer }}</span></span><br /><span id="threshold">Threshold: <span id="threshold-value">{{ threshold }}</span></span>
<h2>Here are some popular posts you may have missed:</h2>
{% with posts=posts %}
{% include "posts.html.jinja" %}
{% endwith %}
<h2>Here are some popular boosts you may have missed:</h2>
{% with posts=boosts %}
{% include "posts.html.jinja" %}
{% endwith %}
</div>
</body>
</body>
</html>

0 comments on commit a18d4ca

Please sign in to comment.