Al folio main giscus pages (#1596)

Solves #1586 by adding the option for giscus comments sites using the
pages layout and minimally modifies Project 2 to show giscus comments as
an example
This commit is contained in:
David Krassnig 2023-07-23 21:18:03 +02:00 committed by GitHub
parent b2989ea76a
commit c824d12867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -21,4 +21,7 @@ layout: default
</div>
{%- endif %}
{%- if site.giscus.repo and page.giscus_comments -%}
{% include giscus.html %}
{%- endif -%}
</div>

View File

@ -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.