fix: comments seem to work
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Nikolai Rodionov 2023-03-01 18:18:35 +01:00
parent 8fd856c059
commit d6270a4850
7 changed files with 17 additions and 14 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: badhouseplants-net name: badhouseplants-net
description: A Helm chart for Kubernetes description: A Helm chart for Kubernetes
type: application type: application
version: 0.5.7 version: 0.5.8
appVersion: "4.20.0" appVersion: "4.20.0"
dependencies: dependencies:
- name: remark42 - name: remark42

View File

@ -76,17 +76,13 @@ remark42:
secretKey: secret secretKey: secret
emoji: true emoji: true
auth: auth:
anonymous: true anonymous: false
sameSite: "none" sameSite: "none"
oauth: oauth:
google: google:
enabled: true enabled: false
key: ""
secret: ""
github: github:
enabled: true enabled: false
key: ""
secret: ""
istio: istio:
annotations: {} annotations: {}
enabled: true enabled: true

View File

@ -24,7 +24,7 @@ taxonomies:
params: params:
GitBranch: main GitBranch: main
Remark42ID: remark Remark42ID: remark
Remark42URL: https://remark42-add-comments-dev.badhouseplants.net Remark42URL: https://remark42.badhouseplants.net
ShowBreadCrumbs: true ShowBreadCrumbs: true
ShowReadingTime: true ShowReadingTime: true
ShowPostNavLinks: true ShowPostNavLinks: true

View File

@ -573,5 +573,4 @@ Thanks,
Oi! Oi!
{{< comments >}}
{{< comments >}}

View File

@ -11,16 +11,17 @@
annotations: annotations:
link.argocd.argoproj.io/env: https://badhouseplants.net/ link.argocd.argoproj.io/env: https://badhouseplants.net/
link.argocd.argoproj.io/build: $DRONE_BUILD_LINK link.argocd.argoproj.io/build: $DRONE_BUILD_LINK
link.argocd.argoproj.io/remark42: https://remark42-$ARGO_APP_HOSTNAME/web link.argocd.argoproj.io/remark42: https://remark42.badhouseplants.net/web
remark42: remark42:
settings: settings:
auth: secret: $ARGO_REMARK_SECRET
anonymous: false
oauth: oauth:
github: github:
enabled: true
key: 1fb3d33a62b074bc0ea0 key: 1fb3d33a62b074bc0ea0
secret: $ARGO_GITHUB_OAUTH_KEY secret: $ARGO_GITHUB_OAUTH_KEY
google: google:
enabled: true
key: 966815964055-m9t7leuj1arqimqu2pvbs1k10cg54gcg.apps.googleusercontent.com key: 966815964055-m9t7leuj1arqimqu2pvbs1k10cg54gcg.apps.googleusercontent.com
secret: $ARGO_GOOGLE_OAUTH_KEY secret: $ARGO_GOOGLE_OAUTH_KEY
storage: storage:

View File

@ -28,4 +28,6 @@
- remark42-$ARGO_APP_HOSTNAME - remark42-$ARGO_APP_HOSTNAME
settings: settings:
url: https://remark42-$ARGO_APP_HOSTNAME/ url: https://remark42-$ARGO_APP_HOSTNAME/
auth:
anonymous: true

View File

@ -1,4 +1,9 @@
<hr>
<blockquote>
<p> Comments are in the beta testing stage. </p>
</blockquote>
<div id="remark42"></div> <div id="remark42"></div>
<script> <script>
var theme = "light" var theme = "light"
if (document.body.classList.contains("dark")) theme = "dark"; if (document.body.classList.contains("dark")) theme = "dark";