diff --git a/hugo/content/_index.md b/hugo/content/_index.md index 1e98f71..8d369f8 100644 --- a/hugo/content/_index.md +++ b/hugo/content/_index.md @@ -4,10 +4,6 @@ date: 2023-05-31T09:14:56-04:00 draft: false --- -Welcome to Balki's Blog ------------------------ +Balki's Blog +============ - -I am Balakrishnan Balasubramanian (a) balki. - -Nothing much here. Checkout the nav bar above for interesting stuff. diff --git a/hugo/content/posts/vim-stt.md b/hugo/content/posts/vim-stt.md new file mode 100644 index 0000000..03d9b71 --- /dev/null +++ b/hugo/content/posts/vim-stt.md @@ -0,0 +1,7 @@ +--- +title: "Vim Send To Terminal" +date: 2023-07-15T20:18:03-04:00 +draft: true +--- + +## Semi automate scripts with vim `:terminal` diff --git a/hugo/layouts/_default/baseof.html b/hugo/layouts/_default/baseof.html index c705aba..753e544 100644 --- a/hugo/layouts/_default/baseof.html +++ b/hugo/layouts/_default/baseof.html @@ -5,14 +5,18 @@ - {{ block "title" . }} + {{- block "title" . -}} {{ .Site.Title }} - {{ end }} + {{- end -}} + @@ -23,10 +27,13 @@ diff --git a/hugo/layouts/_default/list.html b/hugo/layouts/_default/list.html index 192c2e5..b356040 100644 --- a/hugo/layouts/_default/list.html +++ b/hugo/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "main" }} -

Posts

+

Posts

{{ range .Pages }} {{ partial "postcard" . }} {{ end }} diff --git a/hugo/layouts/_default/single.html b/hugo/layouts/_default/single.html index 6124b1b..c952f33 100644 --- a/hugo/layouts/_default/single.html +++ b/hugo/layouts/_default/single.html @@ -4,6 +4,7 @@ {{ define "main" }}

{{ .Title }}

+

{{ .Content }}
{{ end }} diff --git a/hugo/layouts/index.html b/hugo/layouts/index.html index 4967d5c..fd0bda5 100644 --- a/hugo/layouts/index.html +++ b/hugo/layouts/index.html @@ -1,10 +1,16 @@ {{ define "main" }}
+
{{ .Content }} +
+

Under construction. Come back later! :)

+
+

Recent posts

{{ range .Pages }} {{ range .Pages }} {{ partial "postcard" . }} {{ end }} {{ end }} +
{{ end }} diff --git a/hugo/layouts/partials/postcard.html b/hugo/layouts/partials/postcard.html index 371ee99..d8fc329 100644 --- a/hugo/layouts/partials/postcard.html +++ b/hugo/layouts/partials/postcard.html @@ -1,6 +1,12 @@ -
+{{ define "styles" }} + a.title-link { + text-decoration: none; + } +{{ end }} +
-

{{ .Title }}

+

{{ .Title }}

+

{{ .Date.Format "2006-01-02" }}

{{ .Summary }}