all repos — site @ 19809279de2c0becb80979379676748d1e13523d

source for my site, found at icyphox.sh

Add dates to index
Anirudh Oppiliappan x@icyphox.sh
Thu, 21 Jan 2021 14:01:17 +0530
commit

19809279de2c0becb80979379676748d1e13523d

parent

6ce14863441ded0423ea662c1e266cf35fe06b05

3 files changed, 16 insertions(+), 9 deletions(-)

jump to
M pages/blog/twitter.mdpages/blog/twitter.md

@@ -116,5 +116,5 @@ own echo chambers like Gab. Oh, and the other side propagates massive

blocklists for the tiniest of infractions (defined by them), so they effectively echo chambered themselves too. I'm not complaining. -> "All social media sucks, but the fediverse sucks less." -> — Me, 2020 +> "All social media sucks, but the fediverse sucks less." +> — Me, 2020
M static/style.cssstatic/style.css

@@ -332,7 +332,7 @@ }

blockquote { border-left: 0.25rem solid var(--gray); - color: var(--gray); + color: var(--dark); font-style: italic; margin: .8rem 0; padding: .5rem 1rem

@@ -366,3 +366,12 @@ .post-date {

float: left; color: var(--gray); } + +.post { + height: 100%; + padding: 7px 0 7px 0; +} + +time { + float: right; +}
M templates/index.htmltemplates/index.html

@@ -35,14 +35,12 @@ <header>

{{ .Cfg.Header }} </header>--> {{ .Fm.Body }} - <table> - <tbody> {{ range $_, $post := .Posts }} - <tr> - <td align="left"><a href="/blog/{{ $post.Fm.URL }}">{{ $post.Fm.Title }}</a></td> - </tr> + <section class="post"> + <time>{{ $post.Fm.Date.Format "02 January, 2006" }}</time> + <a href="/blog/{{ $post.Fm.URL }}">{{ $post.Fm.Title }}</a> + </section> {{ end }} - </table> <p><em><b>Note</b>: My current opinions may differ from those expressed in these posts.</em> </div> <footer>