From 383b976ddd38da269fe5a9e4883ba5dcf6e7eae7 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Sat, 24 Dec 2016 11:33:48 +0800 Subject: [PATCH] Update docs --- docs/README.md | 8 ++++++++ docs/zh-cn.md | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/docs/README.md b/docs/README.md index 8e293e50..8dda6acd 100644 --- a/docs/README.md +++ b/docs/README.md @@ -89,6 +89,14 @@ Code in `404.html` ``` +### Hash router +`404.html` is not SEO friendly, you can replace it use `index.html` and `data-router` [issue#7](https://github.com/QingWei-Li/docsify/issues/7) + +index.html + +```html + +``` ### CDN - UNPKG [https://unpkg.com/docsify/](https://unpkg.com/docsify/) diff --git a/docs/zh-cn.md b/docs/zh-cn.md index 745440a6..7897cb14 100644 --- a/docs/zh-cn.md +++ b/docs/zh-cn.md @@ -94,6 +94,15 @@ docsify serve docs ``` +### Hash router +`404.html` 对 SEO 不友好, 你可以用 `index.html` 代替并开启 `hash router` 功能。 [issue#7](https://github.com/QingWei-Li/docsify/issues/7) + +index.html + +```html + +``` + ### CDN - UNPKG [https://unpkg.com/docsify/](https://unpkg.com/docsify/)