Skip to content

Commit

Permalink
office commit
Browse files Browse the repository at this point in the history
  • Loading branch information
soulincsl committed Mar 20, 2024
1 parent 759fe0c commit 6aa2e07
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
12 changes: 11 additions & 1 deletion src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,14 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
<!-- Google and Microsoft -->
<meta name="google-site-verification" content="F4BrqsA0T17AcYtPsSAcB1RI5jQw4_JpWVLOFTur3UU" />
<meta name="msvalidate.01" content="A4750DF417057BD77FDD08359A00BAF1" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5349802525175772" crossorigin="anonymous" data-ad-client="ca-pub-5349802525175772" ></script>
<!-- Google Anylitic -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X5KVRBGT4S"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5349802525175772" crossorigin="anonymous" data-ad-client="ca-pub-5349802525175772" ></script>

<script type="javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'MEASUREMENT_ID');
</script>
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { SITE_TITLE } from "../consts";
class="flex items-center space-x-3 rtl:space-x-reverse"
>
<img
src="https://flowbite.com/docs/images/logo.svg"
src="/logo.png"
class="h-8"
alt="Flowbite Logo"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/nkauj/[...slug].astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { type CollectionEntry, getCollection } from 'astro:content';
import BlogNkauj from '../../layouts/BlogNkauj.astro';
export const prerender = true;
export async function getStaticPaths() {
const posts = await getCollection('nkauj');
return posts.map((post:any) => ({
Expand Down
3 changes: 1 addition & 2 deletions src/pages/nkauj/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ const posts = (await getCollection("nkauj")).sort(
<body>
<Header />
<main class="max-w-6xl mx-auto px-4 py-3">
ww {posts} ww
<section>
{
posts.map((post: any) => (
<div class="border-b mb-2">
<a
href={`/nkauj/nkauj/${post.slug}/`}
href={`/nkauj/${post.slug}/`}
class="shadow-md rounded shadow-orange-300 hover:shadow-orange-600"
>
<h4 class="title">{post.data.title}</h4>
Expand Down

0 comments on commit 6aa2e07

Please sign in to comment.