add feed link to app.html

This commit is contained in:
Joseph Montanaro 2023-09-23 20:20:35 -07:00
parent 7b3ae4dea8
commit 453dad1e0d
4 changed files with 4 additions and 9 deletions

View File

@ -6,6 +6,7 @@
<link rel="preload" href="/Baskerville-Regular.woff2" as="font" type="font/woff2" />
<link rel="stylesheet" href="/style.css" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="alternate" type="application/atom+xml" href="/feed">
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
</head>

View File

@ -1,7 +1,5 @@
<style>
.header {
grid-column-start: 1;
grid-column-end: 4;
background-color: #4f5f68;
}
@ -13,10 +11,10 @@
}
nav a {
color: white;
width: 8rem;
min-width: 6rem;
font-size: 1.5rem;
color: white;
text-decoration: none;
text-align: center;
padding: 0.25rem 0;

View File

@ -1,6 +1,8 @@
import { tag, text, serialize } from '$lib/xml.js';
import { postData } from '../_posts/all.js';
export const prerender = true;
export function GET() {
return new Response(renderFeed(), {

View File

@ -74,10 +74,6 @@ p {
margin-bottom: 1rem;
}
/*ul, ol {
margin: 0.5rem 0;
}*/
code {
background: #eee;
border-radius: 0.2rem;
@ -89,5 +85,3 @@ code {
pre > code {
font-size: 0.8rem;
}
/* TESTING */