diff --git a/_layouts/page.html b/_layouts/page.html index 4787c98..dec6cb6 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -21,4 +21,7 @@ layout: default {%- endif %} + {%- if site.giscus.repo and page.giscus_comments -%} + {% include giscus.html %} + {%- endif -%} diff --git a/_projects/2_project.md b/_projects/2_project.md index bebf796..7ff1ea2 100644 --- a/_projects/2_project.md +++ b/_projects/2_project.md @@ -1,10 +1,11 @@ --- layout: page title: project 2 -description: a project with a background image +description: a project with a background image and giscus comments img: assets/img/3.jpg importance: 2 category: work +giscus_comments: true --- Every project has a beautiful feature showcase page.