sort tags

This commit is contained in:
Oliver Bryan
2025-09-30 16:33:09 +01:00
parent e4b4e2b10f
commit 5ccaf76b86
2 changed files with 4 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ const {
isHidden = false, isHidden = false,
tags = [], tags = [],
} = Astro.props; } = Astro.props;
tags.sort();
--- ---
<style> <style>

View File

@@ -16,6 +16,8 @@ export interface Props {
} }
const { metadata } = Astro.props; const { metadata } = Astro.props;
metadata.tags?.sort();
--- ---
<style> <style>