# gpress-doks **Repository Path**: gpress/gpress-doks ## Basic Information - **Project Name**: gpress-doks - **Description**: 迁移hugo-doks主题 https://github.com/gethyas/doks - **Primary Language**: HTML - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-20 - **Last Updated**: 2026-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 迁移hugo-doks主题 https://github.com/gethyas/doks 代码高亮css样式调整: - 将 ```.expressive-code``` 修改为 ```.highlight``` - 将 ```.highlight .frame``` 修改为 ```.highlight``` 搜索功能```flexsearch.4fbcf65295026503d4d24ebe0aaa0bd656946284d6427b8231f61fc71aa40e99.js```代码调整 - ```fetch("/search-index.json")``` 修改为 ```fetch((basePath?basePath:"/")+"public/search-data.json")``` - ```p.innerHTML=m.title,p.href=m.permalink,c.innerText=m.date``` 修改为 ```if(!!!m.summary){m.summary="";};p.innerHTML=m.title,p.href=m.hrefURL,c.innerText=m.createTime``` - ```{field:"tags"},{field:"content"},{field:"date",tokenize:"strict",encode:!1}],store:["title","summary","date","permalink"]}})``` 修改为 ```{field:"tag"},{field:"content"},{field:"createTime",tokenize:"strict",encode:!1}],store:["title","summary","createTime","hrefURL"]}})``` - ```"Jost", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"``` 修改为 ```"Segoe UI",Segoe,Tahoma,Arial,Verdana,sans-serif``` - ```&&Ee.relList.supports("prefetch")?``` 修改为 ```&&false?``` - ```function Pe(r){return new Promise(function(f,u,o){(o=new XMLHttpRequest).open("GET",r,o.withCredentials=!0),o.onload=function(){o.status===200?f():u()},o.send()})}``` 修改为 ```function Pe(r){}```