Skip to content

Commit 1ab0126

Browse files
committed
添加一些无用的 title
1 parent 8c37977 commit 1ab0126

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/assets/pilot-bust.svg

Lines changed: 1 addition & 0 deletions
Loading

src/layouts/BaseLayout.astro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import HeadMenu from "../components/HeadMenu.astro";
33
import "../styles/global.css";
44
import { ClientRouter } from "astro:transitions";
5-
5+
import gopherImage from "../assets/pilot-bust.svg";
6+
import { Image } from "astro:assets";
67
const { description, keywords ,selected} = Astro.props;
78
---
89

@@ -28,6 +29,7 @@ const { description, keywords ,selected} = Astro.props;
2829
<slot />
2930
<!-- <hr style="width:600px;color:#808080; margin-top: 1rem;" /> -->
3031
<footer>
32+
<Image class="gopher" src={gopherImage} height=32 alt="bust" title="这个博客和 Golang 没有任何关系,但是土拨鼠很可爱"/>
3133
<!-- <Image src={notByAi} alt="not-by-ai" /> -->
3234
<p>&copy; 2024-2025</p>
3335
<p>LingLambda</p>
@@ -125,4 +127,7 @@ const { description, keywords ,selected} = Astro.props;
125127
max-width: 36rem;
126128
}
127129

130+
.gopher{
131+
align-self: flex-end;
132+
}
128133
</style>

src/posts/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ title: index
1212

1313
累了吗,可以在下面的椅子上休息,坐多久都可以!
1414

15-
![chair](../../public/assets/images/chair.webp)
15+
![chair](../../public/assets/images/chair.webp "看起来很结实的椅子")

0 commit comments

Comments
 (0)