optimze render blocking

This commit is contained in:
JamesFlare1212
2024-04-07 04:28:22 -04:00
parent 80651e3007
commit 32ffb9e664
2 changed files with 16 additions and 18 deletions

View File

@@ -1,18 +0,0 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>{{ partial "head.html" . }}</head>
<body>
<div id="all">
<div class="container-fluid">
<link href="https://artalk.jamesflare.com/dist/Artalk.css" rel="stylesheet">
<script src="https://artalk.jamesflare.com/dist/Artalk.js"></script>
<div class="row row-offcanvas row-offcanvas-left">
{{ partial "sidebar.html" . }}
{{ block "main" . }}
{{ end }}
</div>
</div>
</div>
{{ partial "scripts.html" . }}
</body>
</html>

View File

@@ -0,0 +1,16 @@
{{ define "main" }}
<div class="col-xs-12 col-sm-8 col-md-9 content-column white-background">
{{ partial "mobile_nav_toggle.html" . }}
<div class="row">
<div class="col-lg-8">
<div class="content-column-content">
<h1>{{ .Title }}</h1>
<link href="https://artalk.jamesflare.com/dist/Artalk.css" rel="stylesheet">
<script src="https://artalk.jamesflare.com/dist/Artalk.js"></script>
{{ .Content }}
{{ template "_internal/disqus.html" . }}
</div>
</div>
</div>
</div>
{{ end }}