mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
sort tags
This commit is contained in:
@@ -9,6 +9,8 @@ const {
|
|||||||
isHidden = false,
|
isHidden = false,
|
||||||
tags = [],
|
tags = [],
|
||||||
} = Astro.props;
|
} = Astro.props;
|
||||||
|
|
||||||
|
tags.sort();
|
||||||
---
|
---
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ export interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { metadata } = Astro.props;
|
const { metadata } = Astro.props;
|
||||||
|
|
||||||
|
metadata.tags?.sort();
|
||||||
---
|
---
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Reference in New Issue
Block a user