feat: add worker operations and fix gitea actions
Some checks failed
docker-images / build-and-push (admin, admin, termi-astro-admin, admin/Dockerfile) (push) Successful in 29s
docker-images / build-and-push (backend, backend, termi-astro-backend, backend/Dockerfile) (push) Successful in 33m13s
docker-images / build-and-push (frontend, frontend, termi-astro-frontend, frontend/Dockerfile) (push) Successful in 58s
ui-regression / playwright-regression (push) Failing after 13m24s
Some checks failed
docker-images / build-and-push (admin, admin, termi-astro-admin, admin/Dockerfile) (push) Successful in 29s
docker-images / build-and-push (backend, backend, termi-astro-backend, backend/Dockerfile) (push) Successful in 33m13s
docker-images / build-and-push (frontend, frontend, termi-astro-frontend, frontend/Dockerfile) (push) Successful in 58s
ui-regression / playwright-regression (push) Failing after 13m24s
This commit is contained in:
@@ -15,6 +15,8 @@ import { apiClient, DEFAULT_SITE_SETTINGS } from '../../lib/api/client';
|
||||
import { formatReadTime, getI18n } from '../../lib/i18n';
|
||||
import type { PopularPostHighlight } from '../../lib/types';
|
||||
import {
|
||||
buildCategoryUrl,
|
||||
buildTagUrl,
|
||||
getAccentVars,
|
||||
getCategoryTheme,
|
||||
getPostTypeColor,
|
||||
@@ -206,10 +208,14 @@ const breadcrumbJsonLd = {
|
||||
<span class="h-2.5 w-2.5 rounded-full" style={`background-color: ${typeColor}`}></span>
|
||||
{post.type === 'article' ? t('common.article') : t('common.tweet')}
|
||||
</span>
|
||||
<span class="terminal-chip terminal-chip--accent" style={getAccentVars(categoryTheme)}>
|
||||
<a
|
||||
href={buildCategoryUrl(post.category)}
|
||||
class="terminal-chip terminal-chip--accent"
|
||||
style={getAccentVars(categoryTheme)}
|
||||
>
|
||||
<i class="fas fa-folder-tree"></i>
|
||||
{post.category}
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -238,7 +244,7 @@ const breadcrumbJsonLd = {
|
||||
<div class="flex flex-wrap gap-2">
|
||||
{post.tags.map(tag => (
|
||||
<a
|
||||
href={`/tags?tag=${encodeURIComponent(tag)}`}
|
||||
href={buildTagUrl(tag)}
|
||||
class="terminal-filter"
|
||||
style={getAccentVars(getTagTheme(tag))}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user