From 6906de25970219254a9ebaa8455b0d904aaceb3a Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Wed, 4 Sep 2019 02:43:52 +0530 Subject: [PATCH] feat: group listings by year, update homepage --- config.toml | 2 +- ...er-containers-to-build-archaic-projects.md | 2 +- content/project_list/_index.md | 3 + layouts/index.html | 91 +++++++++++++++++-- layouts/section/blog_list.html | 24 +++-- layouts/section/project_list.html | 37 ++++++++ 6 files changed, 139 insertions(+), 20 deletions(-) create mode 100644 content/project_list/_index.md create mode 100644 layouts/section/project_list.html diff --git a/config.toml b/config.toml index d7a6922..f508446 100644 --- a/config.toml +++ b/config.toml @@ -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" diff --git a/content/blog/2019-08-04-docker-containers-to-build-archaic-projects.md b/content/blog/2019-08-04-docker-containers-to-build-archaic-projects.md index 13bd10e..893319a 100644 --- a/content/blog/2019-08-04-docker-containers-to-build-archaic-projects.md +++ b/content/blog/2019-08-04-docker-containers-to-build-archaic-projects.md @@ -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" +++ diff --git a/content/project_list/_index.md b/content/project_list/_index.md new file mode 100644 index 0000000..e46fc3d --- /dev/null +++ b/content/project_list/_index.md @@ -0,0 +1,3 @@ ++++ +title= "Project List" ++++ \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 2a94809..e9bf02c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -19,10 +19,49 @@

About

- I’m a Software Developer working at Zerodha Tech. -
-
+

Work

+ I’m currently working as a Software Developer at + Zerodha Tech + where I am writing Golang, Python and a bit of Javascript to + build fintech products used at scale everyday. + +

+ + 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. +

+ + 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. + +

+ 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. + +

+ 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. +

+ +

Personal

+ 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). + +

+

Social

@@ -36,26 +75,54 @@ My latest sideproject is upi.link, a small and nifty programmable UPI shortlink generator. + +

+ + Here is a list of my most recent projects: + +

+ + {{ range first 10 .Site.Taxonomies.categories.projects }} +
  • + {{ .Page.Title }} +
  • + {{ end }}
    -
    + + You can find all my projects at the project listing page. + +

    Blog

    You can read my blog 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 the blog listing page. -
    -
    +

    + + Here are the most recent blogs I wrote, + +

    + + {{ range first 10 .Site.RegularPages }} +
  • + {{ .Page.Title }} +
  • + {{ end }} + +

    - categories: + categories:
    {{range ($.Site.GetPage "taxonomyTerm" "categories").Pages }} {{lower .Title}} {{end}}

    - tags: + tags:
    {{range ($.Site.GetPage "taxonomyTerm" "tags").Pages }} {{lower .Title}} {{end}} @@ -65,6 +132,10 @@ My blog is also available via [RSS] +

    + + + {{ end }} {{ define "footer" }} {{ partial "powered-by.html" . }} diff --git a/layouts/section/blog_list.html b/layouts/section/blog_list.html index 7d4583c..3f8eb0f 100644 --- a/layouts/section/blog_list.html +++ b/layouts/section/blog_list.html @@ -10,16 +10,24 @@
    -
    github https://github.com/rhnvrm
    + {{ $prev := 3000}} {{range .Site.RegularPages}} - {{if .Date}} - - - - + {{if .Date}} + {{if gt $prev (.Date.Format "2006")}} + {{ if ne $prev 3000}} +
    {{.Date.Format "2006-01-02"}}{{.Title}}
    + {{ end }} +

    {{ .Date.Format "2006" }}

    + + {{end}} + + + + + {{ $prev = .Date.Format "2006"}} + {{end}} {{end}} - {{end}} -
    {{.Date.Format "02 Jan"}}{{.Title}}
    + {{ end }} diff --git a/layouts/section/project_list.html b/layouts/section/project_list.html new file mode 100644 index 0000000..5fb82cf --- /dev/null +++ b/layouts/section/project_list.html @@ -0,0 +1,37 @@ +{{ define "title" -}} + Project List | {{ .Site.Title }} +{{- end }} +{{ define "header" }} + {{ partial "masthead.html" . }} +{{ end }} +{{ define "main" }} +
    +

    {{ .Title }}

    +
    + +
    + {{ $prev := 3000}} + {{range .Site.Taxonomies.categories.projects}} + {{if .Date}} + {{if gt $prev (.Date.Format "2006")}} + {{ if ne $prev 3000}} + + {{ end }} +

    {{ .Date.Format "2006" }}

    + + {{end}} + + + + + {{ $prev = .Date.Format "2006"}} + {{end}} + {{end}} +
    {{.Date.Format "02 Jan"}}{{.Title}}
    +
    + +{{ end }} +{{ define "footer" }} + {{ partial "powered-by.html" . }} + {{ partial "cookie-disclaimer.html" . }} +{{ end }}