diff --git a/src/app/pages/guide/[slug].page.ts b/src/app/pages/guide/[slug].page.ts index 7f7523aff..69bfe4ba7 100644 --- a/src/app/pages/guide/[slug].page.ts +++ b/src/app/pages/guide/[slug].page.ts @@ -10,14 +10,14 @@ import PostAttributes from '../../post-attributes'; imports: [AsyncPipe, MarkdownComponent, CommonModule], template: ` @if (post | async; as post) { -
+

@if(post.attributes.type !== undefined){ Guides > } {{post.attributes.title}}

-
+
diff --git a/src/app/pages/guide/index.page.ts b/src/app/pages/guide/index.page.ts index 940323b4e..78417133f 100644 --- a/src/app/pages/guide/index.page.ts +++ b/src/app/pages/guide/index.page.ts @@ -10,7 +10,7 @@ import { CommonModule } from '@angular/common'; standalone: true, imports: [RouterLink, CommonModule], template: ` -
+

Guides

@for (post of posts;track post.attributes.slug) { @@ -19,7 +19,7 @@ import { CommonModule } from '@angular/common';

{{ post.attributes.title }}

-
+

{{ post.attributes.description }}

diff --git a/src/app/pages/news/[slug].page.ts b/src/app/pages/news/[slug].page.ts index c3bc1d012..cd046bfcc 100644 --- a/src/app/pages/news/[slug].page.ts +++ b/src/app/pages/news/[slug].page.ts @@ -10,11 +10,11 @@ import PostAttributes from '../../post-attributes'; imports: [AsyncPipe, MarkdownComponent, CommonModule], template: ` @if (post | async; as post) { -
+

News > {{post.attributes.title}}

-
+

{{post.attributes.date !== undefined? (post.attributes.date | date:'longDate') : ''}}

diff --git a/src/app/pages/news/index.page.ts b/src/app/pages/news/index.page.ts index 4b39cdd24..ee56c8d88 100644 --- a/src/app/pages/news/index.page.ts +++ b/src/app/pages/news/index.page.ts @@ -9,7 +9,7 @@ import { CommonModule } from '@angular/common'; standalone: true, imports: [RouterLink, CommonModule], template: ` -
+

News

@for (post of posts;track post.attributes.slug) { @@ -19,7 +19,7 @@ import { CommonModule } from '@angular/common';

{{ post.attributes.title }}

{{post.attributes.date | date:'longDate'}}

-
+

{{ post.attributes.description }}

diff --git a/src/styles.css b/src/styles.css index a9309698a..5158af93c 100644 --- a/src/styles.css +++ b/src/styles.css @@ -31,6 +31,9 @@ .analog-markdown { + font-size: small; + @apply md:text-base; + @apply select-none; >h1 { font-size: large;