修复svg错误

This commit is contained in:
小赵同学 committed 2024-09-20 22:57:41 +08:00
1 parent 967da91dfc
commit 807e2d7ecc
4 files changed
+7 -9

No files matched your search

@@ -1,7 +1,7 @@
---
title: "测试文章置顶"
date: "2024-09-19T23:29:32+08:00"
slug: "20240919-zhiding"
title: "运动打卡帖"
date: "2024-09-20T22:56:52+08:00"
slug: "20240920-sports"
draft: false
categories: []
tags: []
@@ -10,7 +10,7 @@ layout: "post"
status: "public"
categories: ["生活"]
tags: []
weight: -10
weight: -1
---
测试文章置顶
+1 -1
View File
@@ -26,7 +26,7 @@
<!-- 判断发布时间和 weight 属性 -->
{{ if .Params.weight }}
<!-- 如果有 weight 属性,添加 pushpin 图标 -->
<svg t="1726831630742" style="width: 19px;position: relative;bottom: 7px;left: 2px;" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="82845" width="200" height="200"><path d="M770.389333 512H814.933333a38.4 38.4 0 0 1 38.4 38.4v264.533333a38.4 38.4 0 0 1-38.4 38.4H550.4a38.4 38.4 0 0 1-38.4-38.4v-47.701333h215.722667a42.666667 42.666667 0 0 0 42.666666-42.666667V512zM253.610667 512H209.066667a38.4 38.4 0 0 1-38.4-38.4V209.066667A38.4 38.4 0 0 1 209.066667 170.666667h264.533333a38.4 38.4 0 0 1 38.4 38.4v47.701333H296.277333a42.666667 42.666667 0 0 0-42.666666 42.666667V512z" fill="#666666" p-id="82846"></path><path d="M298.666667 298.666667m51.2 0l324.266666 0q51.2 0 51.2 51.2l0 324.266666q0 51.2-51.2 51.2l-324.266666 0q-51.2 0-51.2-51.2l0-324.266666q0-51.2 51.2-51.2Z" fill="#000000" p-id="82847"></path></svg>
<img src="/image/zd_top.png" alt="" srcset="" style="width: 19px;position: relative;bottom: 2px;right: 3px;box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);cursor: pointer;transform: 1s;">
{{ end }}
</div>
{{ end }}
+1 -3
View File
@@ -2129,6 +2129,4 @@ img[atk-emoticon] {
font-size: 14px;
background-color: #e3e3e3!important;
color: #000000!important;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB