Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgn975 committed Oct 27, 2022
1 parent a3d3907 commit 493e0c8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const readTime = Math.ceil(numberOfWords / WORDS_PER_MINUTE);
<slot />
</div>

<!-- <script
<script
is:inline
src="https://giscus.app/client.js"
data-repo="nirgn975/portfolio"
Expand All @@ -93,7 +93,7 @@ const readTime = Math.ceil(numberOfWords / WORDS_PER_MINUTE);
data-loading="lazy"
crossorigin="anonymous"
async
></script> -->
></script>
</div>

<div class="w-1/4 sticky top-0 h-fit mt-2 ml-4 pl-4 border-l-4 border-zinc-300 dark:border-zinc-700">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/2022/design-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author: "Nir Galon"
authorLink: "/about"

tags: ["design system", "component library", "vuejs", "storybook", "typescript", "tailwind", "sfc", "composition", "vite"]
category: "tutorials"
category: "development"

hiddenFromHomePage: false
hiddenFromSearch: false
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/2022/github-email.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ draft: false
author: "Nir Galon"
authorLink: "/about"

tags: ["raspberry pi"]
tags: ["github", "private email", "domain"]
category: "tutorials"

hiddenFromHomePage: false
Expand Down
4 changes: 2 additions & 2 deletions src/pages/blog/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ const { page } = Astro.props;
</a>
<div class="max-w-md">
<i class="fa-solid fa-tags inline-block" />
{post.frontmatter.tags.map((tag: string) => (
{post.frontmatter.tags.map((tag: string, index: number) => (
<a href={`/tags/${tag}`} class="ml-1 text-sm inline-block hover:text-zinc-800 dark:hover:text-zinc-300">
{tag}
{index == post.frontmatter.tags.length - 1 ? tag : `${tag},`}
</a>
))}
</div>
Expand Down

0 comments on commit 493e0c8

Please sign in to comment.