Skip to content

Commit

Permalink
fix: url for blog css and js
Browse files Browse the repository at this point in the history
  • Loading branch information
sjhuskey committed Aug 20, 2023
1 parent 95528f2 commit 4921202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/blog.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ site.title }} - {{ title or meta.title }}</title>

<link rel="stylesheet" href="{{ '/dist/app.css' | url }}" />
<link rel="stylesheet" href="/dist/app.css" />
<link href="https://unpkg.com/[email protected]/themes/prism.css" rel="stylesheet" />

{% include "meta.njk" %}
Expand Down Expand Up @@ -38,6 +38,6 @@
</main>
</div>
{% include "footer.njk" %}
<script type="text/javascript" src="{{ '/dist/app.js' | url }}"></script>
<script type="text/javascript" src="/dist/app.js"></script>
</body>
</html>

0 comments on commit 4921202

Please sign in to comment.