Browse Source

remove webring

master
Amolith 2 years ago
parent
commit
acabfd2468
Signed by: Amolith
GPG Key ID: 5548AD9930655715
  1. 49
      _includes/webring-in.html
  2. 76
      _includes/webring-out.html
  3. 2
      _layouts/blog.html
  4. 2
      _layouts/post.html

49
_includes/webring-in.html

@ -1,49 +0,0 @@
<section class="webring">
<h3>Articles from blogs I follow around the internet</h3>
<section class="articles">
{{range .Articles}}
<div class="article">
<h4 class="title">
<a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
</h4>
<p class="summary">{{.Summary}}</p>
<small class="source">
via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
</small>
<small class="date">{{.Date | date}}</small>
</div>
{{end}}
</section>
<p class="attribution">
Generated by
<a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
</p>
</section>
<style>
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
}
.webring .title {
margin: 0;
}
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
background: #323234;
min-width: 10rem;
}
.webring .summary {
font-size: 0.8rem;
flex: 1 1 0;
}
.webring .attribution {
text-align: right;
font-size: 0.8rem;
color: #fff;
}
</style>

76
_includes/webring-out.html

@ -1,76 +0,0 @@
<section class="webring">
<h3>Articles from blogs I follow around the internet</h3>
<section class="articles">
<div class="article">
<h4 class="title">
<a href="https://drewdevault.com/2020/06/15/Status-update.html" target="_blank" rel="noopener">Status update, June 2020</a>
</h4>
<p class="summary">Like last month, I am writing to you from the past, preparing this status update
a day earlier than usual. This time it’s because I expect to be busy with
planned sr.ht maintenance tomorrow, so I’m getting the status updates written
ahead of time.
aerc has se…</p>
<small class="source">
via <a href="https://drewdevault.com">Drew DeVault&#39;s Blog</a>
</small>
<small class="date">June 15, 2020</small>
</div>
<div class="article">
<h4 class="title">
<a href="https://kevq.uk/how-much-does-it-cost-to-run-this-blog/" target="_blank" rel="noopener">How Much Does It Cost To Run This Blog?</a>
</h4>
<p class="summary">My wife recently asked me how much it costs me to run this blog. I wasn’t really sure to be honest, so I looked into it and the results were surprising. So I thought I would share the details to give you guys a general idea how much it costs to run a blog…</p>
<small class="source">
via <a href="https://kevq.uk">Kev Quirk</a>
</small>
<small class="date">June 13, 2020</small>
</div>
<div class="article">
<h4 class="title">
<a href="https://secluded.site/documenting-with-mediawiki/" target="_blank" rel="noopener">Documenting With MediaWiki</a>
</h4>
<p class="summary">Much to my chagrin, I’ve hardly posted anything at all the past couple of weeks. This is partly due to university summer classes starting and partly due to me putting some work into NixNet’s documentation. After listening to Episode 4 of 2.5 Admins, I dec…</p>
<small class="source">
via <a href="https://secluded.site/posts/">Posts on Secluded.Site</a>
</small>
<small class="date">June 4, 2020</small>
</div>
</section>
<p class="attribution">
Generated by
<a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
</p>
</section>
<style>
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
}
.webring .title {
margin: 0;
}
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
background: #323234;
min-width: 10rem;
}
.webring .summary {
font-size: 0.8rem;
flex: 1 1 0;
}
.webring .attribution {
text-align: right;
font-size: 0.8rem;
color: #fff;
}
</style>

2
_layouts/blog.html

@ -5,6 +5,4 @@ description: Amolith's blog on various tech-related topics
{% include page/title.html %}
{{ content }}
<hr/>
{% include webring-out.html %}
<hr/>
{% include page/footer.html %}

2
_layouts/post.html

@ -24,6 +24,4 @@ document.querySelectorAll('.content h1, .content h2, .content h3').forEach($head
{% include post/about.html %}
<br/>
<br/>
<hr/>
{% include webring-out.html %}
<img class="post-image" src="{{ page.cover }}">

Loading…
Cancel
Save