diff --git a/README.md b/README.md index 1b55465..8a5cb59 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ - 增加了一言、和风天气的 API。 -## 安装 - -关于 Windows/Linux 下详细的安装与使用说明,请参考文档: - -[WebStack-Hugo | 一个简洁的静态导航主题](https://www.yuque.com/shenweiyan/cookbook/webstack-hugo) - [语雀](https://www.yuque.com/shenweiyan) +## hugo 安装 +文档: +https://gohugo.io/getting-started/ +安装包: +https://github.com/gohugoio/hugo/releases ## 本地启动 diff --git a/src/config.toml b/src/config.toml index cbe46de..72f0e92 100644 --- a/src/config.toml +++ b/src/config.toml @@ -5,7 +5,7 @@ theme = "WebStack" preserveTaxonomyNames = true disablePathToLower = true hasCJKLanguage = true -publishDir = "docs" +publishDir = "../www" [params] @@ -14,7 +14,7 @@ publishDir = "docs" siteurl = "./" about = "./about" # 左侧导航栏的"关于导航"页面(./about) enablePreLoad = true # 网站完全打开前预加载动画 - textPreLoad = "Hugo 网址导航主题" # 预加载的动画文字, 只有当enablePreLoad=true时生效 + textPreLoad = "Fullstack Club" # 预加载的动画文字, 只有当enablePreLoad=true时生效 expandSidebar = false # 默认展开左侧边导航栏 logosPath = "assets/images/logos" # 网站每个导航地址logo存放地址 defaultLogo = "assets/images/logos/default.webp" # logo图片资源不存在或者错误时, 默认显示的logo; 该参数如为空,将会一直加载对应的logo,直至成功 @@ -24,13 +24,13 @@ publishDir = "docs" key = "085791e805a24491b43b06cf58ab31e7" [params.images] - favicon = "assets/images/favicon.png" + favicon = "assets/images/favicon.ico" searchImageL = "assets/images/bg-dna.jpg" #搜索部分浅色背景图 searchImageD = "assets/images/bg-dna.jpg" #搜索部分深色背景图 logoExpandLight = "assets/images/bt8-expand-light.png" logoExpandDark = "assets/images/bt8-expand-dark.png" - logoCollapseLight = "assets/images/bt.png" - logoCollapseDark = "assets/images/bt.png" + logoCollapseLight = "assets/images/favicon-128x128.png" + logoCollapseDark = "assets/images/favicon-128x128.png" [markup.goldmark.renderer] unsafe = true diff --git a/src/content/about.md b/src/content/about.md index 9fc6cf2..872ef9d 100644 --- a/src/content/about.md +++ b/src/content/about.md @@ -1,33 +1,7 @@ --- title: "关于网站" -date: 2020-07-28T19:27:08+08:00 +date: 2022-10-01T12:00:08+08:00 draft: false --- -#### 这是 Hugo 版 WebStack 主题 - -本项目是基于**纯静态**的网址导航网站 [webstack.cc](https://github.com/WebStackPage/WebStackPage.github.io) 制作的 [Hugo](https://gohugo.io/) 主题,其中部分代码参考了以下几个开源项目:

- -- [https://github.com/liutongxu/liutongxu.github.io](https://github.com/liutongxu/liutongxu.github.io) -- [https://github.com/iplaycode/webstack-hugo](https://github.com/iplaycode/webstack-hugo) - -
- -主题安装后,将 exampleSite 目录下的文件复制到 hugo 站点根目录,根据需要把 config.toml 的一些信息改成自己的,导航的网址信息可通过 data 目录下 webstack.yml 修改。 - -这是一个开源的公益项目,你可以拿来制作自己的网址导航,也可以做与导航无关的网站。 - -WebStack 有非常多的魔改版本,这是其中一个。如果你对本主题进行了一些个性化调整,欢迎来本项目中 issue 分享一下! - -
- -#### 主题开源地址 - -[https://github.com/shenweiyan/webstack-hugo](https://github.com/shenweiyan/webstack-hugo) - -
- -#### 主题演示地址 - -- [https://nav.bioitee.com](https://nav.bioitee.com) -- [https://shenweiyan.github.io/webstack-hugo](https://shenweiyan.github.io/webstack-hugo) +本项目是 fullstack.club 的官网,主要是一些导航和在线工具。 diff --git a/src/themes/WebStack/layouts/_default/single.html b/src/themes/WebStack/layouts/_default/single.html index 1a7a3ef..de0d405 100644 --- a/src/themes/WebStack/layouts/_default/single.html +++ b/src/themes/WebStack/layouts/_default/single.html @@ -9,7 +9,7 @@ {{ .Site.Title }} - + @@ -37,15 +37,6 @@ - @@ -86,7 +77,7 @@