Добавил комментарии
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2023-02-20 00:22:10 +03:00
parent e0553f529c
commit 3fe0e701d3
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
4 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,6 @@
--- ---
hide: hide:
- toc - toc
comments: true
--- ---
# Варианты добавления в проект # Варианты добавления в проект

View File

@ -1,6 +1,7 @@
--- ---
hide: hide:
- navigation - navigation
- commants
title: Home title: Home
--- ---

View File

@ -19,6 +19,7 @@ nav:
theme: theme:
name: material name: material
custom_dir: overrides
language: ru language: ru
favicon: assets/favicon.ico favicon: assets/favicon.ico
icon: icon:

View File

@ -1,5 +1,6 @@
{% if page.meta.comments %} {% if "comments" in page.meta.hide %}
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2> {% else %}
<h2 id="__comments" >{{ lang.t("meta.comments") }}</h2>
<script> <script>
var remark_config = { var remark_config = {
host: "https://comments.struchkov.dev", host: "https://comments.struchkov.dev",