{#each post.post.tags as tag}
- {tag}
+ {tag}
{/each}
@@ -99,15 +99,4 @@
flex-direction: row;
flex-wrap: nowrap;
}
-
- .entry-tag-container span {
- font-family: var(--font-mono);
- font-size: 0.8rem;
- background-color: var(--color-background-highlight-alt);
- margin: 0;
- padding: 4px;
- border-radius: 8px;
- line-height: 1.0rem;
- font-weight: 600;
- }
\ No newline at end of file
diff --git a/src/routes/blog/+layout.svelte b/src/routes/blog/+layout.svelte
new file mode 100644
index 0000000..87f21ce
--- /dev/null
+++ b/src/routes/blog/+layout.svelte
@@ -0,0 +1,20 @@
+
+
+{@render children()}
+
+
diff --git a/src/routes/blog/+page.svelte b/src/routes/blog/+page.svelte
index 3202f21..e44ce4f 100644
--- a/src/routes/blog/+page.svelte
+++ b/src/routes/blog/+page.svelte
@@ -2,8 +2,12 @@
import Banner2 from "$lib/banner2.svelte";
import Content from "$lib/viewport/content.svelte";
// import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte";
- import { posts, type BlogPostLink } from "./posts";
+ import { BlogPostTag, posts, type BlogPostLink } from "./posts";
import BlogGallery from "$lib/lists/blog-gallery.svelte";
+
+ function selectFilter(tag: string) {
+ console.log(tag);
+ }
// let entries: GalleryEntry[] = posts.map(mapEntries);
@@ -34,5 +38,35 @@
banner="robert.webp"
bannerAlt="View at a tram bridge rising and then curving to the left." />
+
+
+ {#each Object.values(BlogPostTag) as tag}
+
+ {/each}
+
+
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/routes/blog/posts.ts b/src/routes/blog/posts.ts
index a386ef0..9fb0d86 100644
--- a/src/routes/blog/posts.ts
+++ b/src/routes/blog/posts.ts
@@ -26,8 +26,8 @@ export interface BlogPostLink {
export enum BlogPostTag {
ART = "art-stuff", // ramblings to do with art
DRAWING = "drawing", // self-explanatory
- TECH_TIP = "tech-tip", // tech guides
META = "natconf-meta", // about the website itself
+ TECH_TIP = "tech-tip", // tech guides
}