Skip to content

Commit

Permalink
feat: remove RSS style and update it's data
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRoger committed Dec 9, 2023
1 parent b2afa13 commit e7dd5a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 78 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import vercel from "@astrojs/vercel/serverless";

export default defineConfig({
integrations: [tailwind(), mdx()],
site: "http://localhost:4321",
site: "https://lrtechblog.vercel.app",
output: "hybrid",
adapter: vercel({
webAnalytics: {
Expand Down
75 changes: 0 additions & 75 deletions public/rss/style.xsl

This file was deleted.

3 changes: 1 addition & 2 deletions src/pages/rss.xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ export async function GET(context) {

return rss({
title: "LR Tech Blog",
description: "",
description: "Blog de tecnologia com conteúdo técnico sobre programação e software.",
site: context.site,
stylesheet: "/rss/style.xsl",
items: blogPosts.map(p => ({
title: p.data.title,
description: p.data.description,
Expand Down

0 comments on commit e7dd5a3

Please sign in to comment.