Skip to content

Commit

Permalink
Al folio main giscus pages (alshedivat#1596)
Browse files Browse the repository at this point in the history
Solves alshedivat#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
  • Loading branch information
DavidKrassnig authored and george-gca committed Jul 30, 2023
1 parent 7cb5964 commit 7244976
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ <h2>References</h2>
</div>
{%- endif %}

{%- if site.giscus.repo and page.giscus_comments -%}
{% include giscus.html %}
{%- endif -%}
</div>
1 change: 1 addition & 0 deletions _projects/2_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: projects.descriptions.project2
img: assets/img/3.jpg
importance: 2
category: work
giscus_comments: true
---

{% translate_file _projects/2_project.md %}

0 comments on commit 7244976

Please sign in to comment.