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="#f5f5fa" media="(prefers-color-scheme: light)">
|
||||||
<meta name="theme-color" content="#303030" media="(prefers-color-scheme: dark)">
|
<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>
|
<style>
|
||||||
@font-face{
|
@font-face{
|
||||||
font-family: 'Maple Font Mono';
|
font-family: 'Maple Font Mono';
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{{ define "body-class" }}article-page keep-sidebar{{ end }}
|
{{ define "body-class" }}article-page keep-sidebar{{ end }}
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "article/article.html" . }}
|
|
||||||
|
|
||||||
<div class="article-list--compact links">
|
<div class="article-list--compact links">
|
||||||
{{ $siteResources := resources }}
|
{{ $siteResources := resources }}
|
||||||
{{ range $i, $link := hugo.Data.links }}
|
{{ range $i, $link := hugo.Data.links }}
|
||||||
@@ -33,6 +31,8 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ partial "article/article.html" . }}
|
||||||
|
|
||||||
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
|
{{ if or (not (isset .Params "comments")) (eq .Params.comments "true")}}
|
||||||
{{ partial "comments/include" . }}
|
{{ partial "comments/include" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user