mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
feat: add RSS feed link to blog footer and update blog page background color
This commit is contained in:
@@ -301,6 +301,10 @@ class StaticBlogGenerator {
|
|||||||
' </a>',
|
' </a>',
|
||||||
' <div class="blog-footer-links">',
|
' <div class="blog-footer-links">',
|
||||||
this.renderHeaderLinks(),
|
this.renderHeaderLinks(),
|
||||||
|
' <a class="quick-link rss-link" href="/rss.xml" aria-label="RSS feed" title="RSS feed">',
|
||||||
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19.01 7.38 20 6.18 20C4.98 20 4 19.01 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27V4.44m0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93V10.1z"/></svg>',
|
||||||
|
' RSS',
|
||||||
|
' </a>',
|
||||||
' </div>',
|
' </div>',
|
||||||
` <p class="blog-footer-copy">© ${new Date().getFullYear()} lit.ruv.wtf</p>`,
|
` <p class="blog-footer-copy">© ${new Date().getFullYear()} lit.ruv.wtf</p>`,
|
||||||
' </div>',
|
' </div>',
|
||||||
|
|||||||
@@ -898,6 +898,7 @@ body.blog-page {
|
|||||||
border-top: 1px solid rgba(205, 214, 244, 0.1);
|
border-top: 1px solid rgba(205, 214, 244, 0.1);
|
||||||
margin-top: 48px;
|
margin-top: 48px;
|
||||||
padding: 32px 16px;
|
padding: 32px 16px;
|
||||||
|
background: var(--ctp-mantle);
|
||||||
}
|
}
|
||||||
|
|
||||||
.blog-footer-inner {
|
.blog-footer-inner {
|
||||||
|
|||||||
Reference in New Issue
Block a user