Selaa lähdekoodia

feat: group listings by year, update homepage

pull/1/head
Rohan Verma 6 vuotta sitten
vanhempi
commit
6906de2597
6 muutettua tiedostoa jossa 139 lisäystä ja 20 poistoa
  1. +1
    -1
      config.toml
  2. +1
    -1
      content/blog/2019-08-04-docker-containers-to-build-archaic-projects.md
  3. +3
    -0
      content/project_list/_index.md
  4. +81
    -10
      layouts/index.html
  5. +16
    -8
      layouts/section/blog_list.html
  6. +37
    -0
      layouts/section/project_list.html

+ 1
- 1
config.toml Näytä tiedosto

@@ -32,7 +32,7 @@ footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link

[params.layout.menu.main]
hidden = false # Optional, set false or remove to show section menu
exclude = ["search", "blog_list"] # exclude homepage and blog postings
exclude = ["search", "blog_list", "project_list"] # exclude homepage and blog postings

[[menu.main]]
name = "Home"

+ 1
- 1
content/blog/2019-08-04-docker-containers-to-build-archaic-projects.md Näytä tiedosto

@@ -5,7 +5,7 @@ date = "2019-08-04T07:30:00+00:00"
draft = false
tags = ["notes", "docker"]
title = "Using Docker containers for building Archaic Projects"
type = ""
type = "post"
url = "blog/2019/08/04/docker-containers-to-build-archaic-projects"

+++

+ 3
- 0
content/project_list/_index.md Näytä tiedosto

@@ -0,0 +1,3 @@
+++
title= "Project List"
+++

+ 81
- 10
layouts/index.html Näytä tiedosto

@@ -19,10 +19,49 @@

<br>
<h2>About</h2>
I’m a Software Developer working at <a class="no-underline text-grey-dark" href="https://zerodha.com/products">Zerodha Tech</a>.

<br>
<br>
<h3>Work</h3>
I’m currently working as a Software Developer at
<a class="no-underline text-grey-dark" href="https://zerodha.com/products">Zerodha Tech</a>
where I am writing Golang, Python and a bit of Javascript to
build fintech products used at scale everyday.

<br><br>

Before Zerodha, I interned with Dell Technologies as a
Software Engineering Intern and graduated in the Summer of 2018 from
Shiv Nadar University, Dadri, India.
<br><br>

At Dell, I was part of a team that was building a
new end-to-end microservice based product using Golang (and Python) to solve an
invoice-to-order matching problem which had an effect of increasing
the cash flows for Dell and customer facing invoice accuracy
via last mile automation.
<br><br>
I have
also worked remotely during my participation in Google Summer
of Code in 2016 and contributed to the Open Source Apache
Allura Project that powers SourceForge.com.
<br><br>
Out of interest and curiosity, I have (little) experience with
Machine Learning and AI through my pursuit of a Machine Learning
Nanodegree which I earned through a MOOC curated by Udacity
which I undertook in the summer of 2017.
<br><br>

<h3>Personal</h3>
I am from New Delhi, India and am currently
based in Bengaluru, India. I write code for a living,
and often write code as a hobby, or to automate the
little things. You might find me lurking on online
message boards, online games and IRC as rhnvrm (an alias I took
long ago).

<br><br>

<h2>Social</h2>
<table>
<tr><td>github</td> <td><a href="https://github.com/rhnvrm">https://github.com/rhnvrm</a></td></tr>
@@ -36,26 +75,54 @@

My latest sideproject is <a class="no-underline text-grey-dark" href="https://upi.link/">upi.link</a>, a small and nifty
programmable UPI shortlink generator.
<br><br>

Here is a list of my most recent projects:

<br><br>

{{ range first 10 .Site.Taxonomies.categories.projects }}
<li>
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
</li>
{{ end }}

<br>
<br>

You can find all my projects at the <a href="project_list">project listing page</a>.

<br><br>

<h2>Blog</h2>

You can read my <a class="no-underline text-grey-dark" href="/blog">blog</a> where
I try to write about what I am doing and things I find interesting. I have organized my blog using categories
and tags. You can navigate the blog by using them, or if you prefer to view by date, you can visit
I try to write about what I am doing and things I find interesting.
I have organized my blog using categories
and tags. You can navigate the blog by using them,
or if you prefer to view by date, you can visit
<a href="blog_list">the blog listing page</a>.
<br>
<br>
<br><br>

Here are the most recent blogs I wrote,

<br><br>

{{ range first 10 .Site.RegularPages }}
<li>
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
</li>
{{ end }}

<br><br>

<section>
<b>categories</b>:
<b>categories</b>: <br>
{{range ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
<a href="{{.Permalink}}">{{lower .Title}}</a>
{{end}}
<br><br>
<b>tags</b>:
<b>tags</b>: <br>
{{range ($.Site.GetPage "taxonomyTerm" "tags").Pages }}
<a href="{{.Permalink}}">{{lower .Title}}</a>
{{end}}
@@ -65,6 +132,10 @@
My blog is also available via <a href="/blog/index.xml">[RSS]</a>

<br><br>



{{ end }}
{{ define "footer" }}
{{ partial "powered-by.html" . }}

+ 16
- 8
layouts/section/blog_list.html Näytä tiedosto

@@ -10,16 +10,24 @@
</header>
<section>
<table class="all-posts">
{{ $prev := 3000}}
{{range .Site.RegularPages}}
{{if .Date}}
<tr>
<td>{{.Date.Format "2006-01-02"}}</td>
<td><a href="{{.Permalink}}">{{.Title}}</a></td>
</tr>
{{if .Date}}
{{if gt $prev (.Date.Format "2006")}}
{{ if ne $prev 3000}}
</table>
{{ end }}
<h2>{{ .Date.Format "2006" }}</h2>
<table class="all-posts">
{{end}}
<tr>
<td>{{.Date.Format "02 Jan"}}</td>
<td><a href="{{.Permalink}}">{{.Title}}</a></td>
</tr>
{{ $prev = .Date.Format "2006"}}
{{end}}
{{end}}
{{end}}
</table>
</table>
</section>

{{ end }}

+ 37
- 0
layouts/section/project_list.html Näytä tiedosto

@@ -0,0 +1,37 @@
{{ define "title" -}}
Project List | {{ .Site.Title }}
{{- end }}
{{ define "header" }}
{{ partial "masthead.html" . }}
{{ end }}
{{ define "main" }}
<header>
<h1>{{ .Title }}</h1>
</header>
<section>
{{ $prev := 3000}}
{{range .Site.Taxonomies.categories.projects}}
{{if .Date}}
{{if gt $prev (.Date.Format "2006")}}
{{ if ne $prev 3000}}
</table>
{{ end }}
<h2>{{ .Date.Format "2006" }}</h2>
<table class="all-posts">
{{end}}
<tr>
<td>{{.Date.Format "02 Jan"}}</td>
<td><a href="{{.Permalink}}">{{.Title}}</a></td>
</tr>
{{ $prev = .Date.Format "2006"}}
{{end}}
{{end}}
</table>
</section>

{{ end }}
{{ define "footer" }}
{{ partial "powered-by.html" . }}
{{ partial "cookie-disclaimer.html" . }}
{{ end }}

Loading…
Peruuta
Tallenna