From 2e29322cf6939c862491846f16416034a3e4cea5 Mon Sep 17 00:00:00 2001 From: varkai Date: Fri, 31 Jul 2020 09:56:02 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-zh.md | 6 ------ README.md | 4 ---- 2 files changed, 10 deletions(-) diff --git a/README-zh.md b/README-zh.md index 5b5cf84..dfbdea3 100644 --- a/README-zh.md +++ b/README-zh.md @@ -32,12 +32,6 @@ $ git clone https://github.com/varkai/hugo-theme-zozo themes/zozo 使用关于页面,首先要在你的站点目录的 [`content`](./exampleSite/content/) 目录下创建一个 [`about`](./exampleSite/content/about/) 目录,然后再创建一个 [`index.md`](./exampleSite/content/about/index.md) 文件,最后编写该文件即可。 -## 隐藏页面 - -如果你不想让一个页面出现在文章列表中,只需要在 markdown 文件的 `frontmatter` 中添加 `hidden: true` 即可。 - -然后你可以在其他任何地方通过链接来引用该页面,如在菜单中放置一个链接。 - ## Shortcodes 主题提供了 `img` shortcode. diff --git a/README.md b/README.md index 685a8b9..43c017a 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,6 @@ There is an example site with config file and markdown files in `exampleSite` di Use the about page to introduce yourself to your visitors. You can customize the content as you like in the `/content/about/index.md`. -## Hide Pages - -Pages can be hidden and don't appear in the post list on the homepage if you add the variable `hidden = true` to the frontmatter. This allows you to link from elsewhere, i.e. just the menu. - ## Shortcodes This theme provides `img` shortcodes. -- cgit v1.2.3