mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-03 23:30:09 +05:30
fix perf issues
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com> rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
@@ -6,16 +6,3 @@ window.remark_config = {
|
||||
no_footer: true,
|
||||
};
|
||||
|
||||
!(function (e, n) {
|
||||
for (var o = 0; o < e.length; o++) {
|
||||
var r = n.createElement("script"),
|
||||
c = ".js",
|
||||
d = n.head || n.body;
|
||||
"noModule" in r
|
||||
? ((r.type = "module"), (c = ".mjs"))
|
||||
: (r.async = !0),
|
||||
(r.defer = !0),
|
||||
(r.src = remark_config.host + "/web/" + e[o] + c),
|
||||
d.appendChild(r);
|
||||
}
|
||||
})(remark_config.components || ["embed"], document);
|
||||
|
||||
@@ -34,12 +34,10 @@
|
||||
{{ end }}
|
||||
<p> {{ .Summary | truncate 250 }}</p>
|
||||
</a>
|
||||
<a href="" target="_blank">
|
||||
<span class="flex flex-wrap py-6 space-x-2">
|
||||
<a class="px-3 py-1 m-1 rounded-sm hover:underline bg-pink-400 text-gray-900 font-bold" href="/posts/category/{{ .Params.Category }}">
|
||||
{{ .Params.Category }}</a>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
@@ -67,16 +65,14 @@
|
||||
<p> {{ .Summary | truncate 150 }}</p>
|
||||
|
||||
</a>
|
||||
<a href="" target="_blank">
|
||||
<span class="flex flex-wrap py-6 space-x-2">
|
||||
<a class="px-3 py-1 m-1 rounded-sm hover:underline bg-pink-400 text-gray-900 font-bold" href="/posts/category/{{ .Params.Category }}">
|
||||
{{ .Params.Category }}</a>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -1 +1,18 @@
|
||||
<div id="remark42" class="md:p-4 mb-16"></div>
|
||||
<script>
|
||||
!(function (e, n) {
|
||||
for (var o = 0; o < e.length; o++) {
|
||||
var r = n.createElement("script"),
|
||||
c = ".js",
|
||||
d = n.head || n.body;
|
||||
"noModule" in r
|
||||
? ((r.type = "module"), (c = ".mjs"))
|
||||
: (r.async = !0),
|
||||
(r.defer = !0),
|
||||
(r.src = remark_config.host + "/web/" + e[o] + c),
|
||||
d.appendChild(r);
|
||||
}
|
||||
})(remark_config.components || ["embed"], document);
|
||||
</script>
|
||||
|
||||
<div id="remark42" class="md:p-4 mb-16"></div>
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.2 MiB After Width: | Height: | Size: 275 KiB |
Reference in New Issue
Block a user