A series of blog posts that unfortunately became a book. Not recommended.
diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html new file mode 100644 index 0000000..9ac142c --- /dev/null +++ b/layouts/partials/post_meta.html @@ -0,0 +1,25 @@ +{{- $scratch := newScratch }} + +{{- if not .Date.IsZero -}} +{{- $scratch.Add "meta" (slice (printf "🗓 %s" (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} +{{- end }} + +{{- if (.Param "ShowReadingTime") -}} +{{- $scratch.Add "meta" (slice (i18n "read_time" .ReadingTime | default (printf "%d min" .ReadingTime))) }} +{{- end }} + +{{- if (.Param "ShowWordCount") -}} +{{- $scratch.Add "meta" (slice (i18n "words" .WordCount | default (printf "%d words" .WordCount))) }} +{{- end }} + +{{- $author := (partial "author.html" .) }} +{{- $tags := (partial "tags.html" .) }} +{{- if $tags }} + {{- $scratch.Add "meta" (slice $tags) -}} +{{- else}} + {{- $scratch.Add "meta" (slice $author) -}} +{{- end}} + +{{- with ($scratch.Get "meta") }} +{{- delimit . " " -}} +{{- end -}} diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html new file mode 100644 index 0000000..0d2601b --- /dev/null +++ b/layouts/partials/tags.html @@ -0,0 +1,9 @@ +{{- $tags := .Params.tags -}} +{{- if $tags -}} + {{- $lastIndex := sub (len $tags) 1 -}} + {{- range $index, $tag := $tags -}} + {{- if eq $index 0 }}🔖 {{ end -}} + {{ $tag }} + {{- if ne $index $lastIndex }} · {{ end -}} + {{- end -}} +{{- end -}} diff --git a/public/about/index.html b/public/about/index.html index dc9a353..945dd5a 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -200,7 +200,7 @@ So to solve this little problem of mine, I came up with this unoriginal idea."/>
Check it out on Goodreads Now that I’ve moved away from reading fiction, I find that I face a lot of inertia to pick up something purely for pleasure. Maybe this is a nasty by-product of wanting to be as “productive” as possible. But the more I have drifted away from reading for pleasure, more mechanical the whole process has become for me. Partly to avoid this feeling, and partly because of my shame at seeing my bookshelf filled with dusty unread books, I picked up this one to assuage my feelings of guilt....
- + @@ -222,7 +222,7 @@ Now that I’ve moved away from reading fiction, I find that I face a lot of ine Pain is inevitable, suffering is optional. I have no affinity for running, even for short jogs, and much less for wanting to run long distances. Although this is not because I hate exercises - one of those rare things that I figured out early in life was my desire to remain healthy as long as possible and that of course means I need to keep myself fit - but probably my distaste for running stems from the monotonous nature of the activity.... - + @@ -235,7 +235,7 @@ I have no affinity for running, even for short jogs, and much less for wanting tCheck it out on Goodreads I find India really fascinating sometimes, even though I’ve lived my whole life here. What the cultural multitudes and colorful festivals hide underneath is an ugly facade which threatens to break everything that has been built over the years. What I find most fascinating is how we’ve conditioned ourselves to ignore the blatant reality and move ahead with an oblivious calm, living in shit and aspiring for the gold....
- + @@ -249,7 +249,7 @@ I find India really fascinating sometimes, even though I’ve lived my whole lif I have had a very curious relationship with religion, although now that I talk to others, it was a much more normal experience than what I led myself to believe. I followed the typical path of receiving a particular religion from my parents (born a “Hindu child”), which had a supporting role in my life up until my late-teenage/early-adolescent years. As is the norm for every child brought up in religion, I used to consider myself special believing that I had a “personal relationship” with God.... - + @@ -262,7 +262,7 @@ As is the norm for every child brought up in religion, I used to consider myselfCheck it out on Goodreads I don’t have a lot of friends who are supporters of the ruling BJP (well at least the ones who have disclosed it publicly), and consequently whenever the conversation shifts towards the ongoings in India, more often than not, we find ourselves agreeing with each other. Although this is perfectly alright for me on most days, on few ocaasions, I find a shadow of a doubt slowly creeping up inside - what if I’m living inside a bubble, an echo-chamber where I only get exposed to the ideas which I already hold to be true, especially relevant now that everything in our lives are getting regulated by algorithms....
- + @@ -275,7 +275,7 @@ I don’t have a lot of friends who are supporters of the ruling BJP (well at leCheck it out on Goodreads Reading fiction has always been a double-edged sword for me. Some of the most intimate moments I’ve spent alone is while reading fictional stories, while at the same time, feeling a pang of disappointment for myself because I wasn’t doing anything “productive.” Is this mere entertainment? Am I just escaping my real-life responsibilities and reading stories of make-believe? While I still haven’t found sincere answers to these questions, I’ve grown more confident of what I enjoy and what I don’t, which has consequently helped me find peace with this conflict....
- +