diff options
author | invinciblycool <jprrahultiwari@gmail.com> | 2020-06-18 15:45:48 +0300 |
---|---|---|
committer | invinciblycool <jprrahultiwari@gmail.com> | 2020-06-18 15:45:48 +0300 |
commit | adb19bd8e32202b1d784691c9e906a7839ca2282 (patch) | |
tree | 78496991c862a75b8cce45c2d955c3496b207287 | |
parent | 9be6b41d25ea390f1aad77cd59756f03592755a6 (diff) |
Update toml in examplSite
-rw-r--r-- | .personalize.toml | 4 | ||||
-rw-r--r-- | exampleSite/data/personalize.toml | 30 | ||||
-rw-r--r-- | 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.<br/> 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 @@ <h3><a href="posts/">View all posts</a></h3> </div> - {{ if ne .Site.Data.personalize.GoatCounterCode ""}} + {{ if ne .Site.Data.personalize.GoatCounterCode "" }} <script data-goatcounter="{{ .Site.Data.personalize.GoatCounterCode }}" async src="//gc.zgo.at/count.js"></script> {{ end }} </body> |