Skip to content

Commit

Permalink
Made speedlify-js dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
Akashic101 committed Apr 12, 2024
1 parent b2886b2 commit 1fd5bb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/_includes/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
<style>
{{ css | cssmin | safe }}
</style>
{% if stats %}
<script src="https://unpkg.com/[email protected]/speedlify-score.js" type="application/javascript" async defer></script>
{% endif %}
</head>
<body>
<header class="index">
Expand Down
1 change: 1 addition & 0 deletions src/stats.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
permalink: /stats/
layout: base.njk
eleventyExcludeFromCollections: true
stats: true
---

{% postGraph collections.posts, { "highlightColor": "#7eb6c9" } %}
Expand Down

0 comments on commit 1fd5bb9

Please sign in to comment.