Browse Source

Use Hugo pipes to minify isso.css

master
BBaoVanC 4 months ago
parent
commit
896cf1eb27
Signed by: bbaovanc GPG Key ID: 18089E4E3CCF1D3A
  1. 0
      assets/css/isso.css
  2. 4
      layouts/partials/comments.html

0
static/isso.css → assets/css/isso.css

4
layouts/partials/comments.html

@ -1,4 +1,6 @@
<link rel="stylesheet" href="/blog/isso.css">
{{ $css := resources.Get "css/isso.css" }}
{{ $style := $css | resources.Minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<script data-isso="https://bbaovanc.com/isso/"
data-isso-css="false"
src="https://bbaovanc.com/isso/js/embed.min.js"></script>