Добавил комментарии
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:
- toc
comments: true
---
# Варианты добавления в проект

View File

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

View File

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

View File

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