Skip to content

Commit

Permalink
Merge pull request #53 from Dilettante258/main
Browse files Browse the repository at this point in the history
Some bug fixed
  • Loading branch information
one-aalam authored Jan 1, 2024
2 parents e104e6c + 46fa5a7 commit f4c952d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
User-agent: *
Disallow: /
Allow: /

Sitemap: https://astro-ink.vercel.app/sitemap-index.xml
1 change: 1 addition & 0 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const { title = SITE.title, description, permalink, image } = Astro.props;
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="sitemap" href="/sitemap-index.xml" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />

Expand Down
4 changes: 2 additions & 2 deletions src/components/SearchModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
{/if}
<style>
.modal {
@apply absolute top-0 left-0 w-full h-full grid justify-center content-center pointer-events-none;
@apply fixed top-0 left-0 w-full h-full grid justify-center content-center pointer-events-none;
}
.modal__backdrop {
@apply absolute top-0 left-0 w-full h-screen opacity-50 bg-gradient-to-tr from-fuchsia-600 to-fuchsia-900 z-0;
@apply fixed top-0 left-0 w-full h-screen opacity-50 bg-gradient-to-tr from-fuchsia-600 to-fuchsia-900 z-0;
}
.modal__cnt {
@apply w-full z-10 pointer-events-auto;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags/[tag]/[page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function getStaticPaths({ paginate }) {
const allPosts = await getCollection('blog')
const allTags = new Set<string>()
allPosts.map(post => {
post.data.tags && post.data.tags.map(tag => allTags.add(tag.toLowerCase()))
post.data.tags && post.data.tags.map(tag => allTags.add(tag))
})
return Array.from(allTags).flatMap((tag) => {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags/[tag]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function getStaticPaths({ }) {
const allPosts = await getCollection('blog')
const allTags = new Set()
allPosts.map(post => {
post.data.tags && post.data.tags.map(tag => allTags.add(tag.toLowerCase()))
post.data.tags && post.data.tags.map(tag => allTags.add(tag))
})
return Array.from(allTags).map((tag) => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"types": ["astro/env"],
"strictNullChecks": true
},
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts"],
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/pages/rss.xml.js"],
}

1 comment on commit f4c952d

@vercel
Copy link

@vercel vercel bot commented on f4c952d Jan 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

astro-ink – ./

astro-ink-git-main-aalam.vercel.app
ilm.aalam.in
astro-ink.vercel.app
astro-ink-aalam.vercel.app

Please sign in to comment.