diff --git a/src/Moonglade.Web/Pages/Post.cshtml b/src/Moonglade.Web/Pages/Post.cshtml index 97750029f..3c7c5fec6 100644 --- a/src/Moonglade.Web/Pages/Post.cshtml +++ b/src/Moonglade.Web/Pages/Post.cshtml @@ -92,7 +92,7 @@ } - var pid = document.querySelector('article').dataset.postid; + var pid = document.querySelector('article').dataset.postid; window.fitImageToDevicePixelRatio = @BlogConfig.ImageSettings.FitImageToDevicePixelRatio.ToString().ToLower(); @@ -206,60 +206,7 @@ @SharedLocalizer["Comments"] -
-
-
-
- -
-
- -
-
-
- -
-
-
-
- Captcha image - -
-
-
- -
-
-
-
+ } else diff --git a/src/Moonglade.Web/Pages/_CommentForm.cshtml b/src/Moonglade.Web/Pages/_CommentForm.cshtml new file mode 100644 index 000000000..e017e8727 --- /dev/null +++ b/src/Moonglade.Web/Pages/_CommentForm.cshtml @@ -0,0 +1,54 @@ +
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+
+ Captcha image + +
+
+
+ +
+
+
+
\ No newline at end of file