From 94dc8c2136e0dd770e1cba7dc4a24788fc7781fa Mon Sep 17 00:00:00 2001 From: "DESKTOP-I4D7B2N\\gath" Date: Sun, 18 Jun 2023 18:26:53 +0530 Subject: [PATCH] comments & analytics --- config.toml | 20 ++++++++++---------- content/clientwork.md | 4 ++-- content/digitalart.md | 2 +- layouts/_default/design.html | 14 ++++++++++++++ 4 files changed, 27 insertions(+), 13 deletions(-) create mode 100644 layouts/_default/design.html diff --git a/config.toml b/config.toml index d37fa64..90446de 100644 --- a/config.toml +++ b/config.toml @@ -1,10 +1,10 @@ -baseURL = "https://example.com" +baseURL = "https://gatheeshanipulma.github.io/" languageCode = "en-us" title = "gath's blog" #theme = "cactus" copyright = "gath" # cactus will use title if copyright is not set -disqusShortname = "example" # Used when comments is enabled. Cactus will use site title if not set -# googleAnalytics = "UA-1234-5" +#disqusShortname = "example" # Used when comments is enabled. Cactus will use site title if not set +googleAnalytics = "G-B5QYXWB0HB" # summaryLength = 2 @@ -50,7 +50,7 @@ weight = 6 ordered = false startLevel = 2 [markup.highlight] - codeFences = true + codeFences = false guessSyntax = false hl_Lines = "" lineNoStart = 1 @@ -88,16 +88,16 @@ weight = 6 mainSectionTitle = "Latest Blog Posts" [params.comments] - enabled = false # default - # engine = "cactus_comments" # only disqus, utterances, and cactus_comments is supported + enabled = true # default + engine = "cactus_comments" # only disqus, utterances, and cactus_comments is supported # [params.comments.utterances] # repo = "/" # label = "hugo-site-name" # you can use however you want to label your name in your repo's issues # theme = "github-light" - # [params.comments.cactuscomments] - # siteName = "your_cactus_comments_sitename" # see https://cactus.chat/ on how to register your site name - # serverUrl = "" # Defaults to https://matrix.cactus.chat:8448 (Cactus Chat public server) - # serverName = "" # Defaults to cactus.chat + [params.comments.cactuscomments] + siteName = "gathsblog" # see https://cactus.chat/ on how to register your site name + serverUrl = "" # Defaults to https://matrix.cactus.chat:8448 (Cactus Chat public server) + serverName = "" # Defaults to cactus.chat # the value of name should be an valid font awesome icon name (brands type) # https://fontawesome.com/icons?d=gallery&s=brands diff --git a/content/clientwork.md b/content/clientwork.md index 39d24a5..96a71c4 100644 --- a/content/clientwork.md +++ b/content/clientwork.md @@ -1,8 +1,8 @@ +++ title = "Design Portfolio" cover = "" -layout = "index" Toc = "false" +layout = "design" +++ # Social Media Designs @@ -135,4 +135,4 @@ Toc = "false" alt="kindrox-waves-new-episode-post-template" caption="kindrox Waves New Episode Post Template">}} -

\ No newline at end of file +

diff --git a/content/digitalart.md b/content/digitalart.md index 27bdbb6..92000d8 100644 --- a/content/digitalart.md +++ b/content/digitalart.md @@ -1,7 +1,7 @@ +++ title = "Design Portfolio" cover = "" -layout = "index" +layout = "design" Toc = "false" +++ diff --git a/layouts/_default/design.html b/layouts/_default/design.html new file mode 100644 index 0000000..7066a31 --- /dev/null +++ b/layouts/_default/design.html @@ -0,0 +1,14 @@ +{{ define "main" }} +
+ +
+ {{ if (eq .Type "search") }} + + {{ else }} + {{ .Content }} + {{ end }} + +
+
+ +{{ end }} \ No newline at end of file