Skip to content

Commit

Permalink
load css and js without cache on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrylkowski committed Aug 13, 2023
1 parent a4cdf3e commit 071870c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<link rel="canonical" href="{{ site.url }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/index.min.css">
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<script src="{{ "/assets/js/main.js" | relative_url }}"></script>
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}?v={{ site.time | date: '%s' }}">
<script src="{{ "/assets/js/main.js" | relative_url }}"?v={{ site.time | date: '%s' }}></script>
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include extensions/google-analytics.html -%}
Expand Down

0 comments on commit 071870c

Please sign in to comment.