mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-19 14:43:29 +09:00
fixed search results url
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import config from "@/config/config.json";
|
||||
import { humanize, plainify, slugify } from "@/lib/utils/textConverter";
|
||||
import Fuse from "fuse.js";
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import React, { useEffect, useRef, useState } from "react";
|
||||
import {
|
||||
FaRegFolder,
|
||||
FaRegUserCircle,
|
||||
@@ -131,7 +131,7 @@ const Search = ({ searchList }: Props) => {
|
||||
/>
|
||||
)}
|
||||
<h4 className="mb-3">
|
||||
<a href={`/${blog_folder}/${item.data.slug}`}>
|
||||
<a href={`/${blog_folder}/${item.slug}`}>
|
||||
{item.data.title}
|
||||
</a>
|
||||
</h4>
|
||||
@@ -164,7 +164,7 @@ const Search = ({ searchList }: Props) => {
|
||||
</p>
|
||||
<a
|
||||
className="btn btn-outline-primary btn-sm"
|
||||
href={`/${blog_folder}/${item.data.slug}`}
|
||||
href={`/${blog_folder}/${item.slug}`}
|
||||
>
|
||||
read more
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user