Fix call() Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Tue, 26 May 2020 19:37:26 +0530
4 files changed,
33 insertions(+),
15 deletions(-)
M
bin/openring.py
→
bin/openring.py
@@ -39,11 +39,10 @@ post_link = fp.entries[0].link
post_title = fp.entries[0].title html_out.append(f"""<div class="openring-feed"> - <h4><a href="{post_link}">{post_title}</a></h4> + <h4>{pretty_date} <a href="{post_link}">{post_title}</a></h4> <p>{trunc_summ}</p> <p>via <a href="{feed_link}">{feed_title}</a></p> - {pretty_date} </div> """ )
M
static/style.css
→
static/style.css
@@ -119,6 +119,19 @@
html { font-size: 18px; } + + .openring { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + min-width: 0; + } + + .openring-feed { + grid-row: 1; + font-size: 16px; + padding: 4px 8px 4px; + } + } @media only screen and (min-width: 1200px) {@@ -143,6 +156,18 @@ }
html { font-size: 18px; + } + + .openring { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + min-width: 0; + } + + .openring-feed { + grid-row: 1; + font-size: 16px; + padding: 4px 8px 4px; } }@@ -292,13 +317,11 @@ cursor: pointer;
} .openring { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); + display: block; min-width: 0; } .openring-feed { - grid-row: 1; font-size: 16px; padding: 4px 8px 4px; }
M
templates/text.html
→
templates/text.html
@@ -48,26 +48,23 @@ <hr>
<div class="openring"> <div class="openring-feed"> - <h4><a href="https://peppe.rs/posts/auto-currying_rust_functions/">Auto-currying Rust Functions</a></h4> - <p>This post contains a gentle introduction to procedural macros in Rust and a guide to writing a procedural macro to curry Rust functions. The source code for the entire library can be found here. It is also available on crates.io. -The following links might …</p> + <h4>May 25, 2020 <a href="https://www.bellingcat.com/resources/2020/05/25/investigate-tiktok-like-a-pro/">Investigate TikTok Like A Pro!</a></h4> + <p>TikTok videos have grown increasingly popular over the last few years, with short clips showing people dancing, lip syncing, doing viral challenges, and so on. This relatively new platform lets users share short video clips, and can be looped. It is simila…</p> - <p>via <a href="https://peppe.rs">nerdypepper's μblog</a></p> - May 09, 2020 + <p>via <a href="https://www.bellingcat.com">bellingcat</a></p> </div> <div class="openring-feed"> - <h4><a href="https://gru.gq/2020/05/08/zoom-keybase/">Zoom + Keybase</a></h4> + <h4>May 08, 2020 <a href="https://gru.gq/2020/05/08/zoom-keybase/">Zoom + Keybase</a></h4> <p>There is an opportunity here to signal that Zoom is not a Chinese asset. Zoom can effectively remove itself from the board by completely mitigating passive surveillance. When no state’s intelligence agency benefits from a home field advantage with Zoom, th…</p> <p>via <a href="https://gru.gq">grugq’s domain</a></p> - May 08, 2020 </div> <div class="openring-feed"> - <h4><a href="https://drewdevault.com/2020/05/15/Status-update.html">Status update, May 2020</a></h4> + <h4>May 15, 2020 <a href="https://drewdevault.com/2020/05/15/Status-update.html">Status update, May 2020</a></h4> <p>Hello, future readers! I am writing to you from one day in the past. I finished my plans for today early and thought I’d get a head start on writing the status updates for tomorrow, or rather, for today. From your reference frame, that is.@@ -75,7 +72,6 @@
Let’s start wit…</p> <p>via <a href="https://drewdevault.com">Drew DeVault's Blog</a></p> - May 15, 2020 </div>