🎨 🐛 Fixed the friends link code block & others imports.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
{{ partialCached "footer.html" . }}
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{{ partial "head/config.html" . }}
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
|
||||
|
||||
@@ -60,6 +60,5 @@
|
||||
theme.active();
|
||||
})(window);
|
||||
</script>
|
||||
{{ partial "head/config.html" . }}
|
||||
{{ partialCached "head/script/analytics.html" . }}
|
||||
|
||||
|
||||
@@ -83,15 +83,4 @@
|
||||
{{ $pageCfg = merge $pageCfg (dict "math" $math) }}
|
||||
{{ end }}
|
||||
|
||||
<script class="next-config" data-name="page" type="application/json">{{ $pageCfg }}</script>
|
||||
|
||||
{{/** Special CSS Style for page **/}}
|
||||
{{ if .IsPage }}
|
||||
<style type="text/css">
|
||||
.post-footer, .flinks-list-footer hr:after {
|
||||
content: "{{ .Site.Params.postFooter.endLineTip }}";
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
{{ end }}
|
||||
<script class="next-config" data-name="page" type="application/json">{{ $pageCfg }}</script>
|
||||
@@ -1,3 +0,0 @@
|
||||
.post-footer, .flinks-list-footer hr:after {
|
||||
content: "{{ .Site.Params.postFooter.endLineTip }}";
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{{/* Defind loading plugin entend style which only need in pages */}}
|
||||
{{ if .IsPage }}
|
||||
|
||||
{{/** Short code params **/}}
|
||||
{{ $scParam := .Store.Get "scParams" }}
|
||||
|
||||
{{ if $scParam.mermaid }}
|
||||
.post-block .post-body .mermaid {
|
||||
background: var(--highlight-foreground);
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
@@ -20,8 +20,22 @@
|
||||
|
||||
<!-- Extend Style -->
|
||||
<style type="text/css">
|
||||
{{ partialCached "head/style/global.html" . }}
|
||||
{{ partial "head/style/plugins.html" . }}
|
||||
.post-footer hr:after {
|
||||
content: "{{ .Site.Params.postFooter.endLineTip }}";
|
||||
}
|
||||
|
||||
.flinks-list-footer hr:after {
|
||||
content: "{{ .Site.Params.postFooter.endLineTip }}";
|
||||
}
|
||||
|
||||
{{ $scParam := .Store.Get "scParams" }}
|
||||
{{ if $scParam.mermaid }}
|
||||
.post-block .post-body .mermaid {
|
||||
background: var(--highlight-foreground);
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
{{ end }}
|
||||
</style>
|
||||
|
||||
<!-- Custom Style file -->
|
||||
|
||||
Reference in New Issue
Block a user