Skip to content

Commit

Permalink
refactor: migrate Giscus repo
Browse files Browse the repository at this point in the history
fix i18n featuredImage naming
  • Loading branch information
aoudiamoncef committed Jun 22, 2022
1 parent 8322dff commit 9108106
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ showComments = true
# Enable / Disable Giscus comments
giscus = true
giscusJsUrl = "https://giscus.app/client.js"
giscusRepository = "aoudiamoncef/discussions.maoudia.com"
giscusRepository = "maoudia/discussions.maoudia.com"
giscusRepositoryId = "R_kgDOGX153A"
giscusMapping = "pathname"
giscusCategory = "General"
Expand All @@ -128,6 +128,8 @@ giscusTheme = "light"
giscusReactions = "1"
giscusEmitMetadata = "0"
# giscusLanguage = "en"
giscusInputPosition = "bottom"
giscusLoading = "lazy"
giscusCrossOrigin = "anonymous"

# Enable / Disable Webmentions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ series = ["MongoDB Reactive CLI"]
categories = ["Tutorial", "Reactive Programming"]
slug = "mise-a-jour-en-masse-avec-spring-data-mongodb-reactive"
type = "article"
images = ["featuredImage-fr.jpg"]
[twitter]
card = "summary_large_image"
site = "@AoudiaMoncef"
Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/giscus.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
data-reactions-enabled="{{ .Site.Params.giscusReactions }}"
data-emit-metadata="{{ .Site.Params.giscusMetadata }}"
data-theme="{{ .Site.Params.giscusTheme }}"
data-input-position="{{ .Site.Params.giscusInputPosition }}"
data-loading="{{ .Site.Params.giscusLoading }}"
{{ if isset .Site.Params "giscusLanguage" }}
data-lang="{{ .Site.Params.giscusLanguage }}"
{{ else }}
Expand Down

0 comments on commit 9108106

Please sign in to comment.