Skip to content

Commit

Permalink
comments & analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
gatheesha committed Jun 18, 2023
1 parent 09012fd commit 94dc8c2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 13 deletions.
20 changes: 10 additions & 10 deletions config.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -50,7 +50,7 @@ weight = 6
ordered = false
startLevel = 2
[markup.highlight]
codeFences = true
codeFences = false
guessSyntax = false
hl_Lines = ""
lineNoStart = 1
Expand Down Expand Up @@ -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 = "<github_username>/<github_reponame>"
# 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
Expand Down
4 changes: 2 additions & 2 deletions content/clientwork.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
+++
title = "Design Portfolio"
cover = ""
layout = "index"
Toc = "false"
layout = "design"
+++

# Social Media Designs
Expand Down Expand Up @@ -135,4 +135,4 @@ Toc = "false"
alt="kindrox-waves-new-episode-post-template"
caption="kindrox Waves New Episode Post Template">}}
</div>
<br><hr>
<br><hr>
2 changes: 1 addition & 1 deletion content/digitalart.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Design Portfolio"
cover = ""
layout = "index"
layout = "design"
Toc = "false"
+++

Expand Down
14 changes: 14 additions & 0 deletions layouts/_default/design.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ define "main" }}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<!-- TODO: gallery -->
<div class="content" itemprop="articleBody">
{{ if (eq .Type "search") }}
<!-- TODO: search https://gohugo.io/tools/search/ -->
{{ else }}
{{ .Content }}
{{ end }}

</div>
</article>

{{ end }}

0 comments on commit 94dc8c2

Please sign in to comment.