summary: - adds prettier formatter configuration - formats the entire repo using prettier, ignoring minified files (`*.min.css`) and heavy generated html - changes extensions of all `.html` files to `.liquid`, which is more correct and necessary for prettier to work correctly - replaces "%-" and "-%" with just "%" — manual liquid formatting using minus signs is superfluous since we are compressing and minifying the code anyway - adds CI action for running prettier check on PR and pushes to master
26 lines
519 B
Plaintext
26 lines
519 B
Plaintext
---
|
|
layout: default
|
|
---
|
|
<!-- page.html -->
|
|
<div class="post">
|
|
<header class="post-header">
|
|
<h1 class="post-title">{{ page.title }}</h1>
|
|
<p class="post-description">{{ page.description }}</p>
|
|
</header>
|
|
|
|
<article>
|
|
{{ content }}
|
|
</article>
|
|
|
|
{% if page.related_publications %}
|
|
<h2>References</h2>
|
|
<div class="publications">
|
|
{% bibliography --cited_in_order %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if site.giscus and page.giscus_comments %}
|
|
{% include giscus.liquid %}
|
|
{% endif %}
|
|
</div>
|