From 2a51793ee79cafa90472153a4532e4caecb30aff Mon Sep 17 00:00:00 2001 From: Rohan Verma Date: Fri, 17 May 2019 16:56:11 +0530 Subject: [PATCH] minor design changes --- config.toml | 2 +- content/blog/_index.md | 3 ++- layouts/_default/list.html | 2 +- layouts/index.html | 23 ++++++++++++++--------- layouts/partials/powered-by.html | 13 +++++++++++++ layouts/section/blog_list.html | 9 ++++++--- 6 files changed, 37 insertions(+), 15 deletions(-) create mode 100644 layouts/partials/powered-by.html diff --git a/config.toml b/config.toml index d3ca371..d7a6922 100644 --- a/config.toml +++ b/config.toml @@ -24,7 +24,7 @@ footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link description = "My Website" # Suggested, controls default description meta author = "Rohan Verma" # Optional, controls author name display on posts hide_author = false # Optional, set true to hide author name on posts - has_cookies = false # Optional, set true to disable cookie disclaimer + has_cookies = true # Optional, set true to disable cookie disclaimer disable_csp = false # Optional, set true to disable content security policy images = [ "https://source.unsplash.com/collection/983219/2000x1322" diff --git a/content/blog/_index.md b/content/blog/_index.md index 59db226..300ca7b 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,3 +1,4 @@ --- -title: "Blog" +title: "Blogs" +listing: "/blog_list" --- diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bd22d05..cddd9bc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,7 @@ {{ end }} {{ define "main" }}
-

{{ .Title }}

+

{{ .Title }} Full Listing

{{ range .Paginator.Pages }} {{ partial "page-summary.html" . }} diff --git a/layouts/index.html b/layouts/index.html index ec4a156..93dce29 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -20,21 +20,26 @@

About

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

+

Social

+ + + + + + +
github https://github.com/rhnvrm
keybase https://keybase.io/rhnvrm
twitter https://twitter.com/rhnvrm
linkedin https://www.linkedin.com/in/rhnvrm/
youtube https://www.youtube.com/user/TheRohanVerma
+ +

Projects

+ My latest sideproject is upi.link, a small and nifty programmable UPI shortlink generator. +

-
  • - - - - - -
  • -
    -
    +

    Blog

    You can read my blog where diff --git a/layouts/partials/powered-by.html b/layouts/partials/powered-by.html new file mode 100644 index 0000000..fc5f060 --- /dev/null +++ b/layouts/partials/powered-by.html @@ -0,0 +1,13 @@ +{{ if ne .Site.Params.has_cookies false }} +
    +
    + + © 2019 - Rohan Verma. +
    + Feel free to use the content of this website with approripate attribution to the author. +
    + This page was generated using + {{ partial "components/external.html" (dict "itemtype" "significantLink" "body" "After Dark" "href" "https://after-dark.habd.as" "referrerpolicy" "origin-when-cross-origin") }} + for Hugo. +
    +{{ end }} diff --git a/layouts/section/blog_list.html b/layouts/section/blog_list.html index c0e58fb..7d4583c 100644 --- a/layouts/section/blog_list.html +++ b/layouts/section/blog_list.html @@ -10,13 +10,16 @@
    -
    {{ end }}