From 431e7760044c49181e09634e1abfa77335ce245e Mon Sep 17 00:00:00 2001 From: invinciblycool Date: Thu, 18 Jun 2020 18:15:48 +0530 Subject: [PATCH] Update toml in examplSite --- .personalize.toml | 4 ++-- exampleSite/data/personalize.toml | 30 +++++++++++++++++++++++++----- layouts/index.html | 2 +- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.personalize.toml b/.personalize.toml index fe56050..63c6607 100644 --- a/.personalize.toml +++ b/.personalize.toml @@ -11,6 +11,8 @@ Resume = "" # Sets the number of posts to display on the front page PostLimit = 4 +GoatCounterCode = "" + [[profiles]] name = "GitHub" url = "" @@ -26,5 +28,3 @@ url = "" [[profiles]] name = "LinkedIn" url = "" - -GoatCounterCode = "" diff --git a/exampleSite/data/personalize.toml b/exampleSite/data/personalize.toml index 4a73a85..87ecb53 100644 --- a/exampleSite/data/personalize.toml +++ b/exampleSite/data/personalize.toml @@ -1,10 +1,30 @@ Name = "Agent Smith" + # Supports markdown About = "We're not here because we're free. We're here because we're __not__ free. There's no escaping reason. No denying purpose. Because as we both know without purpose, we would not exist.
Read more [here](https://matrix.fandom.com/wiki/Agent_Smith)" -Github = "invinciblycool" -Twitter = "getFANDOM" -Goodreads = "https://www.goodreads.com/user/show/91520565-rahul-tiwari" -Linkedin = "https://www.linkedin.com/in/rahul-tiwari-43708b128/" + Email = "agent.smith@thematrix.com" + +# Add the filename with file extension. Resume = "" -PostLimit = 4 \ No newline at end of file + +# Sets the number of posts to display on the front page +PostLimit = 4 + +GoatCounterCode = "" + +[[profiles]] +name = "GitHub" +url = "https://github.com/invinciblycool" + +[[profiles]] +name = "Twitter" +url = "https://twitter.com/getFANDOM" + +[[profiles]] +name = "Goodreads" +url = "https://www.goodreads.com/user/show/91520565-rahul-tiwari" + +[[profiles]] +name = "LinkedIn" +url = "https://www.linkedin.com/in/rahul-tiwari-43708b128/" diff --git a/layouts/index.html b/layouts/index.html index 0bc4f18..914005d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -42,7 +42,7 @@

View all posts

- {{ if ne .Site.Data.personalize.GoatCounterCode ""}} + {{ if ne .Site.Data.personalize.GoatCounterCode "" }} {{ end }}