removed: highlightjs
This commit is contained in:
@@ -9,11 +9,6 @@
|
||||
<meta name="theme-color" content="#f5f5fa" media="(prefers-color-scheme: light)">
|
||||
<meta name="theme-color" content="#303030" media="(prefers-color-scheme: dark)">
|
||||
|
||||
<!-- highlight.js -->
|
||||
<link href="https://cdn.taurusxin.com/hugo/assets/highlight.js/9.12.0/styles/atom-one-dark.min.css" rel="stylesheet">
|
||||
<script src="https://cdn.taurusxin.com/hugo/assets/highlight.js/9.12.0/highlight.min.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad()</script>
|
||||
|
||||
<style>
|
||||
@font-face{
|
||||
font-family: 'Maple Font Mono';
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{{ define "body-class" }}article-page keep-sidebar{{ end }}
|
||||
{{ define "main" }}
|
||||
{{ partial "article/article.html" . }}
|
||||
|
||||
<div class="article-list--compact links">
|
||||
{{ $siteResources := resources }}
|
||||
{{ range $i, $link := hugo.Data.links }}
|
||||
@@ -33,6 +31,8 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "article/article.html" . }}
|
||||
|
||||
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
|
||||
{{ partial "comments/include" . }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user