diff --git a/.forestry/front_matter/templates/blog-post.yml b/.forestry/front_matter/templates/blog-post.yml
deleted file mode 100644
index 5d6ba1e..0000000
--- a/.forestry/front_matter/templates/blog-post.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-label: Blog post
-hide_body: false
-fields:
-- type: text
- name: title
- label: title
-- type: text
- name: author
- label: author
-- type: text
- name: type
- label: type
-- type: datetime
- name: date
- label: date
-- type: text
- name: url
- label: url
-- type: list
- name: categories
- label: categories
-- type: list
- name: tags
- label: tags
-pages:
-- content/blog/deep-work-a-summary.md
diff --git a/.forestry/settings.yml b/.forestry/settings.yml
deleted file mode 100644
index 8e1142c..0000000
--- a/.forestry/settings.yml
+++ /dev/null
@@ -1,50 +0,0 @@
----
-new_page_extension: md
-auto_deploy: false
-admin_path:
-webhook_url:
-sections:
-- type: directory
- path: content
- label: Pages
- create: all
- match: "*"
-- type: directory
- path: content/blog_list
- label: Blog list
- create: all
- match: "**/*"
-- type: directory
- path: content/blog
- label: Blog
- create: all
- match: "**/*"
-- type: directory
- path: content/search
- label: Search
- create: all
- match: "**/*"
-- type: directory
- path: content/wp-content
- label: Wp content
- create: all
- match: "**/*"
-upload_dir: static/uploads
-public_path: "/uploads"
-front_matter_path: ''
-use_front_matter_path: false
-file_template: ":filename:"
-build:
- preview_command: hugo -E -F -D -b $DEPLOY_URL -d public
- publish_command: hugo -d public
- preview_env:
- - HUGO_ENV=staging
- - HUGO_VERSION=0.55.2
- publish_env:
- - HUGO_ENV=production
- - HUGO_VERSION=0.55.2
- preview_output_directory: public
- output_directory: public
- instant_preview_command: hugo server -D -E -F --port 8080 --bind 0.0.0.0 --renderToDisk
- -d public
-version: 0.55.2
diff --git a/assets/css/custom.css b/assets/css/custom.css
index cb985c7..9717489 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -3,26 +3,42 @@ dark-mode-toggle {
--dark-mode-toggle-light-icon: url("/wp-content/moon.png");
}
-body.light {
- background: #fffcf5;
-}
-@media screen and (min-width: 1615px) {
- #disqus_thread{
- position: absolute;
- top:50px;
- right: 10px;
- width: calc(100rem - 75rem);
- }
+@font-face {
+ font-family: 'Inter';
+ font-display: auto;
+ font-style: normal;
+ font-weight: 400;
+ src: url("https://rsms.me/inter/font-files/Inter-Regular.woff2") format("woff2"),
+ url("https://rsms.me/inter/font-files/Inter-Regular.woff") format("woff");
+}
+@font-face {
+ font-family: 'Inter';
+ font-display: auto;
+ font-style: normal;
+ font-weight: 500;
+ src: url("https://rsms.me/inter/font-files/Inter-Medium.woff2") format("woff2"),
+ url("https://rsms.me/inter/font-files/Inter-Medium.woff") format("woff");
}
+body.light {
+ background: #ededed;
+}
+body.dark {
+ background: #222;
+}
-.hack, .hack blockquote, .hack code, .hack em, .hack h1, .hack h2, .hack h3, .hack h4, .hack h5, .hack h6, .hack strong {
+.hack code {
font-family: 'Roboto Mono', monospace;
}
+.hack, .hack blockquote, .hack em, .hack h1, .hack h2, .hack h3, .hack h4, .hack h5, .hack h6, .hack strong {
+ font-family: 'Inter', monospace;
+}
.hack {
- font-family: "Roboto Slab", serif;
+ font-family: "Inter", serif;
+ font-weight: 400;
+ text-align: justify;
}
a[rel*="external"]::after {
@@ -39,9 +55,17 @@ nav a {
color: #422eff;
border-bottom: 1px solid #00ff9c;
}
+.light pre {
+ border: none;
+ background: #222;
+ padding: 1rem;
+}
+.light pre code {
+ color: #00bcd4;
+}
.dark a {
color: rgb(82, 174, 255);
- border-bottom: 1px solid rgb(0, 204, 125);
+ border-bottom: 1px solid rgb(15, 143, 94);
}
.light a:hover {
color: #000;
@@ -49,7 +73,14 @@ nav a {
}
.dark a:hover {
color: #333;
- background-color: #00ff9c;
+ background-color: rgb(15, 143, 94);
+}
+.dark pre {
+ background-color: #222;
+ padding: 1rem;
+}
+.dark table tbody td:first-child {
+ color: #ccc;
}
.muted, .help-block {
opacity: 0.70;
@@ -86,4 +117,15 @@ nav a {
small {
font-weight: 400;
+}
+
+a.no-underline {
+border: none;
+}
+
+.archive h1 {
+ display: grid;
+ grid-template-columns: 1fr minmax(min-content, auto);
+ column-gap: 20px;
+ grid-template-areas: "div div";
}
\ No newline at end of file
diff --git a/config.toml b/config.toml
index a10b630..4bef923 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", "project_list"] # exclude homepage and blog postings
+ exclude = ["search", "archive", "project_list"] # exclude homepage and blog postings
[[menu.main]]
name = "Home"
diff --git a/content/about.md b/content/about.md
index 69152c0..e6aebff 100644
--- a/content/about.md
+++ b/content/about.md
@@ -1,8 +1,10 @@
-## About
+---
+title: "About"
+---
-### Work
+## Work
I’m currently working as a Software Developer at
-Zerodha Tech
+[Zerodha Tech](https://zerodha.com/products)
where I am writing Golang, Python and a bit of Javascript to
build fintech products used at scale everyday.
@@ -17,8 +19,8 @@ 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
+also worked remotely during my participation in [Google Summer
+of Code](/blog/2016/08/09/apache-allura-gsoc-2016-summary/) 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
@@ -26,7 +28,7 @@ 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
+## 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
diff --git a/content/archive/_index.md b/content/archive/_index.md
new file mode 100644
index 0000000..d5cb5b1
--- /dev/null
+++ b/content/archive/_index.md
@@ -0,0 +1,3 @@
++++
+title= "Blog Archive"
++++
\ No newline at end of file
diff --git a/content/blog/2019/2019-11-15-hugo-group-by-year.md b/content/blog/2019/2019-11-15-hugo-group-by-year.md
index fb116b7..e4e4742 100644
--- a/content/blog/2019/2019-11-15-hugo-group-by-year.md
+++ b/content/blog/2019/2019-11-15-hugo-group-by-year.md
@@ -9,7 +9,7 @@ url = "blog/2019/11/15/archive-pages-group-by-year-hugo"
author = "Rohan Verma"
+++
-I was on the hunt to find out how to organize my [blog](/blog_list) and
+I was on the hunt to find out how to organize my [blog](/archive) and
[project](/project) archive pages by year in Hugo. After being unable to find
any easy solutions I decided I would sit down and write the go template to
render these pages myself. The idea was simple, iterate over the list divided
@@ -43,7 +43,7 @@ page.
{{end}}
| {{.Date.Format "02 Jan"}} |
- {{.Title}} |
+ {{.Title}} |
{{ $prev = .Date.Format "2006"}}
{{end}}
diff --git a/content/blog/_index.md b/content/blog/_index.md
index 300ca7b..5308425 100644
--- a/content/blog/_index.md
+++ b/content/blog/_index.md
@@ -1,4 +1,4 @@
---
title: "Blogs"
-listing: "/blog_list"
+listing: "/archive"
---
diff --git a/content/blog_list/_index.md b/content/blog_list/_index.md
deleted file mode 100644
index fd5d38a..0000000
--- a/content/blog_list/_index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-+++
-title= "Blog List"
-+++
\ No newline at end of file
diff --git a/content/project_list/_index.md b/content/project_list/_index.md
deleted file mode 100644
index e46fc3d..0000000
--- a/content/project_list/_index.md
+++ /dev/null
@@ -1,3 +0,0 @@
-+++
-title= "Project List"
-+++
\ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 44e5703..c161be8 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -2,8 +2,17 @@
{{ partial "masthead.html" . }}
{{ end }}
{{ define "main" }}
-