pages/_includes
Maruan 8893d483bc
Update giscus setup via github action (#1792)
giscus settings in `_config.yml` had al-folio repo specified by default.
many users kept these defaults in their own repos, which resulted in
getting comments from blog posts of different users posted to al-folio
discussions. this is undesirable, since users lose control over the
discussions in their blogs.

this PR solves the issue:
- first, we set `giscus.repo` to blank in `_config.yml`. if the field is
kept blank, when the website is built locally, the user will see a
warning saying that giscus comments are misconfigured.
- second, we add a step to the `deploy` workflow that writes repository
name to `giscus.repo` in `_config.yml`. that way, even if `giscus.repo`
field is left black or set to an incorrect repo, it gets correctly
populated at deployment time.

other small changes in this PR are small stylistic adjustments.
2023-10-04 22:27:36 -04:00
..
cv CV Restyled (#1339) 2023-07-11 22:53:53 -03:00
repository Added github 🏆 section in repositories (#1229) 2023-03-18 18:01:30 -04:00
resume Don't display badge if startDate is empty (#1682) 2023-08-28 18:13:01 -03:00
scripts Fixed weird bib btn behavior (#1776) 2023-09-28 17:43:35 -03:00
audio.html Cache busting for _sass and individual files (#1557) 2023-07-30 00:14:23 -03:00
disqus.html Add support for giscus comments (#1028) 2022-12-11 22:33:09 -05:00
figure.html Cache busting for _sass and individual files (#1557) 2023-07-30 00:14:23 -03:00
footer.html Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
giscus.html Update giscus setup via github action (#1792) 2023-10-04 22:27:36 -04:00
head.html Fixed weird bib btn behavior (#1776) 2023-09-28 17:43:35 -03:00
header.html Add a progress bar to show the scroll position (#934) 2022-10-24 15:08:26 +05:30
latest_posts.html Make latest post redirect if the blog post redirects (#1451) 2023-06-10 21:43:31 -04:00
metadata.html Added missing socials to metadata (#1575) 2023-07-17 16:35:33 -03:00
news.html Fixed news limit (#1359) 2023-04-27 12:26:48 -03:00
pagination.html Better SEO, OpenGraph, schema.org and clean generated code (#481) 2021-12-31 11:46:42 -05:00
projects_horizontal.html fix #814 (#818) 2022-08-15 08:40:12 +05:30
projects.html Theme and responsiveness fixes (#509) 2022-02-19 20:46:45 -05:00
related_posts.html Added related posts section (#1168) 2023-02-19 21:26:48 -05:00
selected_papers.html Fixed hard-coded bib files in templates (#1373) 2023-04-27 11:55:57 -03:00
social.html add WeChat to socials (#1730) 2023-09-17 15:49:27 -04:00
video.html Cache busting for _sass and individual files (#1557) 2023-07-30 00:14:23 -03:00