feature: 调整站点地图
This commit is contained in:
parent
b4185eb668
commit
13e7e4026d
6 changed files with 65 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ const links = [
|
||||||
{ href: '/', label: '首页' },
|
{ href: '/', label: '首页' },
|
||||||
{ href: '/archive/', label: '归档' },
|
{ href: '/archive/', label: '归档' },
|
||||||
{ href: '/tags/', label: '标签' },
|
{ href: '/tags/', label: '标签' },
|
||||||
{ href: '/site-map/', label: '站点地图' },
|
|
||||||
{ href: '/rss.xml', label: 'RSS' }
|
{ href: '/rss.xml', label: 'RSS' }
|
||||||
];
|
];
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ const { archiveYears } = Astro.props;
|
||||||
|
|
||||||
<footer class="yar-footer">
|
<footer class="yar-footer">
|
||||||
<p>由 osaet 构建</p>
|
<p>由 osaet 构建</p>
|
||||||
|
<p><a href="/site-map/">站点地图</a></p>
|
||||||
<p>© 2026 Osaet. All rights reserved.</p>
|
<p>© 2026 Osaet. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -299,6 +300,18 @@ const { archiveYears } = Astro.props;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yar-footer a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: rgb(138 144 137 / 38%);
|
||||||
|
text-underline-offset: 0.22em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yar-footer a:hover {
|
||||||
|
color: #53605a;
|
||||||
|
text-decoration-color: rgb(83 96 90 / 70%);
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.yar-shell {
|
.yar-shell {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,7 @@ function formatPublishedAt(date: string): string {
|
||||||
|
|
||||||
<footer class="yar-footer">
|
<footer class="yar-footer">
|
||||||
<p>由 osaet 构建</p>
|
<p>由 osaet 构建</p>
|
||||||
|
<p><a href="/site-map/">站点地图</a></p>
|
||||||
<p>© 2026 Osaet. All rights reserved.</p>
|
<p>© 2026 Osaet. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -451,6 +452,18 @@ function formatPublishedAt(date: string): string {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yar-footer a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: rgb(138 144 137 / 38%);
|
||||||
|
text-underline-offset: 0.22em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yar-footer a:hover {
|
||||||
|
color: #53605a;
|
||||||
|
text-decoration-color: rgb(83 96 90 / 70%);
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.yar-shell {
|
.yar-shell {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ function formatPublishedAt(value: string): string {
|
||||||
|
|
||||||
<footer class="yar-footer">
|
<footer class="yar-footer">
|
||||||
<p>由 osaet 构建</p>
|
<p>由 osaet 构建</p>
|
||||||
|
<p><a href="/site-map/">站点地图</a></p>
|
||||||
<p>© 2026 Osaet. All rights reserved.</p>
|
<p>© 2026 Osaet. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -300,6 +301,18 @@ function formatPublishedAt(value: string): string {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yar-footer a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: rgb(138 144 137 / 38%);
|
||||||
|
text-underline-offset: 0.22em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yar-footer a:hover {
|
||||||
|
color: #53605a;
|
||||||
|
text-decoration-color: rgb(83 96 90 / 70%);
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.yar-shell {
|
.yar-shell {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ const { tag, posts } = Astro.props;
|
||||||
|
|
||||||
<footer class="yar-footer">
|
<footer class="yar-footer">
|
||||||
<p>由 osaet 构建</p>
|
<p>由 osaet 构建</p>
|
||||||
|
<p><a href="/site-map/">站点地图</a></p>
|
||||||
<p>© 2026 Osaet. All rights reserved.</p>
|
<p>© 2026 Osaet. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -212,6 +213,18 @@ const { tag, posts } = Astro.props;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yar-footer a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: rgb(138 144 137 / 38%);
|
||||||
|
text-underline-offset: 0.22em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yar-footer a:hover {
|
||||||
|
color: #53605a;
|
||||||
|
text-decoration-color: rgb(83 96 90 / 70%);
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.yar-shell {
|
.yar-shell {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ const { tags } = Astro.props;
|
||||||
|
|
||||||
<footer class="yar-footer">
|
<footer class="yar-footer">
|
||||||
<p>由 osaet 构建</p>
|
<p>由 osaet 构建</p>
|
||||||
|
<p><a href="/site-map/">站点地图</a></p>
|
||||||
<p>© 2026 Osaet. All rights reserved.</p>
|
<p>© 2026 Osaet. All rights reserved.</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -190,6 +191,18 @@ const { tags } = Astro.props;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yar-footer a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration-color: rgb(138 144 137 / 38%);
|
||||||
|
text-underline-offset: 0.22em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.yar-footer a:hover {
|
||||||
|
color: #53605a;
|
||||||
|
text-decoration-color: rgb(83 96 90 / 70%);
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.yar-shell {
|
.yar-shell {
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue