content: edukia eguneratzen du
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@ import sitemap from "@astrojs/sitemap";
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://blahg.netlify.app/",
|
site: "https://txarli.dev/",
|
||||||
base: "/",
|
base: "/",
|
||||||
integrations: [sitemap()],
|
integrations: [sitemap()],
|
||||||
markdown: {
|
markdown: {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ const today = new Date();
|
|||||||
---
|
---
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
© {today.getFullYear()} cassidoo. <a href="https://github.com/cassidoo/blahg">This blog is open source</a>! <3
|
{today.getFullYear()} aitor c. urrutia aranburu. <a href="https://github.com/txarli/txarli.dev">Blog honen kodea irekia da</a>! <3
|
||||||
</footer>
|
</footer>
|
||||||
<style>
|
<style>
|
||||||
footer {
|
footer {
|
||||||
|
|||||||
@@ -12,9 +12,10 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<nav>
|
<nav>
|
||||||
<HeaderLink href="/">home</HeaderLink>
|
<HeaderLink href="/">hasiera</HeaderLink>
|
||||||
<HeaderLink href="/posts">posts</HeaderLink>
|
<HeaderLink href="/posts">sarrerak</HeaderLink>
|
||||||
<HeaderLink href="https://cassidoo.co/newsletter">etc</HeaderLink>
|
<HeaderLink href="/rss.xml">rss</HeaderLink>
|
||||||
|
<HeaderLink href="https://mastodon.eus/@txarli">mastodon</HeaderLink>
|
||||||
</nav>
|
</nav>
|
||||||
<style>
|
<style>
|
||||||
h2 {
|
h2 {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
const { tags, all } = Astro.props;
|
const { tags, all } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
{all && <h3 class="tag-title">View posts by tag</h3>}
|
{all && <h3 class="tag-title">Ikusi postak etiketaren arabera</h3>}
|
||||||
<div class=`${all && "tags"}`>
|
<div class=`${all && "tags"}`>
|
||||||
{
|
{
|
||||||
tags &&
|
tags &&
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export const SITE_TITLE = "Cassidy's blog template";
|
export const SITE_TITLE = "txarli.dev";
|
||||||
export const SITE_DESCRIPTION = "A blog template for you!";
|
export const SITE_DESCRIPTION = "Kaixo! Aitor naiz 🙋♂️";
|
||||||
|
|||||||
@@ -1,9 +1 @@
|
|||||||
Welcome to this blog template by [cassidoo](https://cassidoo.co)!
|
Ongi etorri nire webgunera.
|
||||||
|
|
||||||
It's using Astro and TinaCMS. You can [clone it on GitHub](https://github.com/cassidoo/blahg) to use it for yourself, and see how it works! I would _love_ if you told me when you do use it, I love seeing variations on it!
|
|
||||||
|
|
||||||
The tags at the bottom of the page are dynamically generated. The more tags you use, the more tags are added to the list! Posts are simple markdown files.
|
|
||||||
|
|
||||||
You should also check out [my newsletter](https://cassidoo.co/newsletter) or my [GitHub profile](https://github.com/cassidoo). Or don't. Follow your dreams.
|
|
||||||
|
|
||||||
Enjoy!
|
|
||||||
|
|||||||
@@ -24,15 +24,9 @@ const tags = getTags(posts);
|
|||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<h3>Here's my most recent posts</h3>
|
<h3>Honatx nire azken postak</h3>
|
||||||
|
|
||||||
<HomePosts allPosts={posts} />
|
<HomePosts allPosts={posts} />
|
||||||
|
|
||||||
<p class="center">
|
|
||||||
You can also <a href="https://blahg.netlify.app/rss.xml">
|
|
||||||
subscribe with RSS!
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<Tags tags={tags} all />
|
<Tags tags={tags} all />
|
||||||
|
|||||||
@@ -27,5 +27,4 @@ export const GET = () =>
|
|||||||
}</updated>`,
|
}</updated>`,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
stylesheet: "/rss-styles.xsl",
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ let sortedPosts = tag.sort(
|
|||||||
<Header />
|
<Header />
|
||||||
<main>
|
<main>
|
||||||
<content>
|
<content>
|
||||||
<h3>Posts tagged with "{currentTag}"</h3>
|
<h3>"{currentTag}" etiketa daukaten postak</h3>
|
||||||
<ul class="tags-list">
|
<ul class="tags-list">
|
||||||
{
|
{
|
||||||
sortedPosts.map(
|
sortedPosts.map(
|
||||||
|
|||||||
Reference in New Issue
Block a user