From 7196f9eb161121acf2b9de27b534d9fb74e35990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 2 Jun 2022 18:28:45 +0200 Subject: odstranil komentiranje --- _config.yml | 1 + _layouts/post.html | 2 ++ api/php/api.php | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 603e22e..0299d60 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,5 @@ name: Anton Luka Šijanec +comments: false long_date_format: "%A, %d. %B %Y %H:%M:%S" short_date_format: "%d. %m. %Y" short_datetime_format: "%d. %m. %Y ob %H:%M:%S" diff --git a/_layouts/post.html b/_layouts/post.html index 8ef9181..c6d1215 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -47,6 +47,7 @@ layout: default {% endif %}
+{% if site.comments %}

kometarji

@@ -78,3 +79,4 @@ layout: default {% include commentreplyform.html %} {{ return }} +{% endif %} diff --git a/api/php/api.php b/api/php/api.php index d274cee..348d73a 100644 --- a/api/php/api.php +++ b/api/php/api.php @@ -1,5 +1,7 @@