Skip to content

Commit

Permalink
Update base.html: add git hash to js/css respirces
Browse files Browse the repository at this point in the history
To work around cache transitions
  • Loading branch information
GlenDC authored Aug 15, 2024
1 parent 69c1b6b commit 6c8ef1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
<meta property="og:site_name" content="Plabayo" />
<meta property="og:image" content="https://plabayo.tech/img/og.jpeg" />

<script src="/js/htmx.min.js"></script>
<script src="/js/htmx.min.js?h={{ ctx.git_sha }}"></script>

<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/style.css?h={{ ctx.git_sha }}" />
</head>
<body hx-boost="true">
<header {% if this.slug !="" %}class="grid" {% endif %}>
Expand Down

0 comments on commit 6c8ef1a

Please sign in to comment.