1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-22 05:33:16 +00:00

SEO: robots.txt with sitemap, related posts links, canonical tags, better CTR snippet

This commit is contained in:
alexandrev-tibco
2026-04-13 19:05:52 +02:00
parent d850207ba9
commit 39511642e4
6 changed files with 69 additions and 4 deletions
+43
View File
@@ -254,6 +254,49 @@ code {
border-radius: 6px;
}
.related-posts {
margin-top: 3rem;
padding: 1.5rem;
border: 1px solid var(--border);
border-radius: 8px;
background: rgba(255,255,255,0.03);
}
.related-posts h3 {
margin: 0 0 0.75rem;
font-size: 1rem;
color: var(--accent);
}
.related-posts ul {
list-style: none;
padding: 0;
margin: 0 0 1rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.related-posts ul a {
color: var(--text);
text-decoration: none;
}
.related-posts ul a:hover {
color: var(--accent);
text-decoration: underline;
}
.related-cta {
margin: 0;
font-size: 0.85rem;
color: var(--muted);
}
.related-cta a {
color: var(--accent);
}
@media (max-width: 720px) {
.header-grid { grid-template-columns: 1fr; }
.nav { flex-wrap: wrap; }