Open Holton1 opened 4 years ago
I certify that I have first consulted (check with "x")
我确认我已经查看了 (选择时请使用 "x" 取代方括号中的空格)
我在站点_config.yml中添加了: suka_theme: search: enable: true path: search.xml field: post # Page | Post | All. Default post prism: enable: true line_number: true theme: default 并做了hexo clean, hexo g 但是search功能不能使用。在网页点击search,会报错Cannot GET /search/
需要单独写一个用于搜索的独立页面(suka文档的“独立页面”那里有讲怎么做),比如search.md,放到source文件里的任意位置,然后把搜索功能的link指search.md向它所在的目录。 欢迎访问我的网站wuhang.xyz交流哦
I certify that I have first consulted (check with "x")
我确认我已经查看了 (选择时请使用 "x" 取代方括号中的空格)
我在站点_config.yml中添加了: suka_theme: search: enable: true path: search.xml field: post # Page | Post | All. Default post prism: enable: true line_number: true theme: default 并做了hexo clean, hexo g 但是search功能不能使用。在网页点击search,会报错Cannot GET /search/