Remove the file check so heatmap renders even if activity.json not present at build time
This commit is contained in:
parent
d30f0884a1
commit
2e21862b9a
1 changed files with 1 additions and 3 deletions
|
|
@ -16,9 +16,7 @@
|
|||
<p><a href="/posts/">All posts →</a></p>
|
||||
|
||||
<h2> Activity map</h2>
|
||||
{{ if fileExists "static/activity.json" }}
|
||||
{{ partial "git-heatmap.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "git-heatmap.html" . }}
|
||||
|
||||
</content>
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue