diff --git a/README.md b/README.md index 3e92917..77f55d5 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,25 @@ ## Content -TODO +- [归档](https://lruihao.cn/archives/) +- [分类](https://lruihao.cn/categories/) +- [合集](https://lruihao.cn/collections/) +- [标签](https://lruihao.cn/tags/) -## Directory structure +## Distributable + +- [github-pages](https://github.com/Lruihao/lruihao.github.io) +- [Vercel](https://blog-lruihao.vercel.app/) + +## Subscribe + +- [RSS](http://lruihao.cn/index.xml) +- [GitHub](https://github.com/Lruihao/hugo-blog "Watch on GitHub") +- [云 + 社区](https://cloud.tencent.com/developer/column/94521) + +## [Roadmap](https://github.com/users/Lruihao/projects/1) + +## Project setup ```bash ▸ .github/ # GitHub configuration @@ -31,20 +47,13 @@ TODO ▸ themes/ # theme submodules ``` -## Distributable - -- [github-pages](https://github.com/Lruihao/lruihao.github.io) -- [Vercel](https://blog-lruihao.vercel.app/) - -## Quick Start - 首先点上 Star 😜,然后根据操作系统(Windows、Linux、macOS)安装最新扩展版本的 [Hugo(>= 0.112.0)](https://gohugo.io/installation/)。 ```bash git clone --recursive git@github.com:Lruihao/hugo-blog.git ``` -有两种方法可以启动这个博客。 +下载源码后,有两种方法可以启动这个博客。 ### NPM @@ -115,14 +124,6 @@ Press Ctrl+C to stop -## [Roadmap](https://github.com/users/Lruihao/projects/1) - -## Subscribe - -- [RSS](http://lruihao.cn/index.xml) -- [GitHub](https://github.com/Lruihao/hugo-blog "Watch on GitHub") -- [云 + 社区](https://cloud.tencent.com/developer/column/94521) - ## Powered - [Hugo](https://github.com/gohugoio/hugo) diff --git a/config/_default/outputFormats.toml b/config/_default/outputFormats.toml index 9bdc493..9ce79d5 100644 --- a/config/_default/outputFormats.toml +++ b/config/_default/outputFormats.toml @@ -9,13 +9,6 @@ isPlainText = true isHTML = false -# Options to make output baidu_urls.txt file -[BaiduUrls] - baseName = "baidu_urls" - mediaType = "text/plain" - isPlainText = true - isHTML = false - # FixIt 0.3.0 | NEW Options to make output /archives/index.html file [archives] path = "archives" @@ -33,3 +26,19 @@ isPlainText = false isHTML = true permalinkable = true + +# FixIt 0.3.0 | NEW Options to make output readme.md file +# FixIt 0.3.0 | 新增 用于输出 readme.md 文件的设置 +[README] + baseName = "readme" + mediaType = "text/markdown" + isPlainText = true + isHTML = false + +# FixIt 0.3.0 | CHANGED Options to make output baidu_urls.txt file +# FixIt 0.3.0 | 更改 用于输出 baidu_urls.txt 文件的设置 +[baidu_urls] + baseName = "baidu_urls" + mediaType = "text/plain" + isPlainText = true + isHTML = false diff --git a/config/_default/outputs.toml b/config/_default/outputs.toml index 5c90378..05e918e 100644 --- a/config/_default/outputs.toml +++ b/config/_default/outputs.toml @@ -3,8 +3,13 @@ # See: https://gohugo.io/templates/output-formats/#customizing-output-formats # ------------------------------------------------------------------------------------- -# Options to make hugo output files -home = ["HTML", "RSS", "JSON", "BaiduUrls", "archives", "offline"] +# Options to make hugo output files, the optional values are below: +# home: ["HTML", "RSS", "JSON", "archives", "offline", "README", "baidu_urls"] +# page: ["HTML", "MarkDown"] +# section: ["HTML", "RSS"] +# taxonomy: ["HTML", "RSS"] +# term: ["HTML", "RSS"] +home = ["HTML", "RSS", "JSON", "archives", "offline", "README", "baidu_urls"] page = ["HTML", "MarkDown"] section = ["HTML", "RSS"] taxonomy = ["HTML"] diff --git a/config/_default/params.toml b/config/_default/params.toml index 996a180..311fcd4 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -21,6 +21,14 @@ enablePWA = true externalIcon = true # FixIt 0.3.0 | NEW whether to reverse the order of the navigation menu navigationReverse = true +# FixIt 0.3.0 | NEW whether to add site title to the title of every page +# remember to set up your site title in `hugo.toml` (e.g. title = "title") +withSiteTitle = true +# FixIt 0.3.0 | NEW title delimiter when the site title is be added to the title of every page +titleDelimiter = "|" +# FixIt 0.3.0 | NEW whether to add site subtitle to the title of index page +# remember to set up your site subtitle by `params.header.subtitle.name` +indexWithSubtitle = true # FixIt 0.2.14 | NEW FixIt will, by default, inject a theme meta tag in the HTML head on the home page only. # You can turn it off, but we would really appreciate if you don’t, as this is a good way to watch FixIt's popularity on the rise. disableThemeInject = false diff --git a/themes/FixIt b/themes/FixIt index 804d1e4..8b2dd97 160000 --- a/themes/FixIt +++ b/themes/FixIt @@ -1 +1 @@ -Subproject commit 804d1e484d8cbbb14552cddc81302fca6e09326c +Subproject commit 8b2dd976e66277b2ed1295545f3eadaae5b0adde