Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

麻烦写个文档,告诉大家怎么用呗 #1

Open
fofen opened this issue Dec 28, 2017 · 1 comment
Open

麻烦写个文档,告诉大家怎么用呗 #1

fofen opened this issue Dec 28, 2017 · 1 comment

Comments

@fofen
Copy link

fofen commented Dec 28, 2017

我要做一个文档库,需要支持简体、繁体,http://pugo.io/ 是一个非常好的参考。
可惜,下载后,不知道怎么用呢……

我的做法是:

  1. 下载后解压,改名为 source
  2. 用它替换掉 pugo new site 生成的 source 目录
  3. ./pugo server

发现 theme 没变,于是把此仓库的 theme 移到,可是出现新问题:

CRIT|12-28 17:11:08.2573|Build|Fail|template: embed/header.html:15: function "FullURL" not defined

读了文档,也没解决问题。
请问如何解决呢?

@fofen
Copy link
Author

fofen commented Jan 2, 2018

FullURL 替换成 fullUrl 后,这个错是修好了,可是又遇到一个HTMLAttr

CRIT|01-02 11:41:51.7527|Build|Fail|template: docs.html:39: function "HTMLAttr" not defined

这个 HTMLAttr,搜了源码,没找到呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant