Skip to content

Commit

Permalink
fix reference disappearing for distill blog in absence of author (als…
Browse files Browse the repository at this point in the history
  • Loading branch information
YifanJiang233 authored and wangmagg committed May 14, 2024
1 parent 8ac0bad commit 0e0e614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _layouts/distill.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@
<h1>{{ page.title }}</h1>
<p>{{ page.description }}</p>
</d-title>

{%- if page.authors -%}
<d-byline></d-byline>
{%- endif -%}

<d-article>
{% if page.toc -%}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/distillpub/template.v2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e0e614

Please sign in to comment.