🐛 Fixed the post creative commons link & post end style only work in page section.

This commit is contained in:
凡梦星尘
2022-06-16 19:57:49 +08:00
parent 892e13a848
commit 42f4028f2d
3 changed files with 8 additions and 5 deletions

View File

@@ -23,8 +23,11 @@
{{- $css := $scss | toCSS (dict "targetPath" "/css/main.css" "outputStyle" "expanded") }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
<link rel="stylesheet" href="/css/hover.css">
{{- if .IsPage }}
<style type="text/css">
.post-footer hr:after {
content: "{{ .Site.Params.postFooter.endLineTip }}";
}
</style>
</style>
{{- end }}