mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 13:52:26 +08:00
update
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Eiblog Changelog
|
||||
|
||||
## v1.3.0 (暂定)
|
||||
* 更改 app.yml 配置项,将大部分配置归在 general 常规配置下。注意,部署时请先更新 app.yml。
|
||||
* 静态文件采用动态渲染,即用户不再需要管理 view、static 目录。
|
||||
* 通过 acme.sh 使用双证书啦,可到 Makefile 查看相关信息。
|
||||
* 使用 autocert 自动生成证书功能,从此再也不用担心证书过期,移步 [证书更新](https://github.com/eiblog/eiblog/blob/master/docs/autocert.md)。
|
||||
* 开启配置项 enablehttps, 将自动重定向 http 到 https 啦。
|
||||
|
||||
## v1.2.0 (2017-06-14)
|
||||
* 更新评论功能,基础评论 0 回复也可评论了。
|
||||
|
||||
4
Makefile
4
Makefile
@@ -15,10 +15,10 @@ test:
|
||||
build:
|
||||
@echo "go build..."
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build && \
|
||||
docker build -t $(docker_registry)/deepzz/eiblog .
|
||||
docker build -t $(docker_registry)/deepzz/eiblog:latest .
|
||||
|
||||
deploy:build
|
||||
@docker push $(docker_registry)/deepzz/eiblog
|
||||
@docker push $(docker_registry)/deepzz/eiblog:latest
|
||||
|
||||
dist:
|
||||
@./dist.sh
|
||||
|
||||
@@ -87,6 +87,7 @@ $ docker run -d --name eisearch \
|
||||
博主是一个有强迫症的人,一些文件的路径我使用了固定的路径,请大家见谅。假如你的 cdn 域名为 `st.example.com`,你需要确定这些文件已经在你的 cdn 中,它们路径分别是:
|
||||
|
||||
* `favicon.ico`,默认为 `st.example.com/static/img/favicon.ico`。故你在 cdn 中的文件名为 `static/img/favicon.ico`,以下如是。
|
||||
* 你还可以将 favicon.ico 复制到 static 文件夹下,这样通过 `https://example.com/favicon.ico` 也是能够访问的。docker 用户需要自行重新打包镜像。
|
||||
* `bg04.jpg`,左侧背景图片,`500*1200` 左右,cdn 文件名:`static/img/bg04.jpg`。如需更改,请在 `eiblog/view/st_blog.css` 中替换该名称。
|
||||
* `avatar.jpg`,左侧头像,`160*160~256*256`之间,cdn 文件名:`static/img/avatar.jpg`。
|
||||
* `blank.gif`,cdn 文件名:`static/img/blank.gif`。该图片请从 [这里](https://st.deepzz.com/static/img/blank.gif) 下载并上传至你的 cdn。
|
||||
|
||||
Reference in New Issue
Block a user