瀏覽代碼

Add text about gitignore

tags/v1.1.4
aries 5 年之前
父節點
當前提交
9638da43e9
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      docs/config/static_dir.md

+ 2
- 0
docs/config/static_dir.md 查看文件

@@ -13,6 +13,8 @@ Alternatively, you can overwrite this value in your configuration to use a diffe

This document is written assuming `instance/static/`.

Or, if you want to manage your custom file in git repository, basically remove the `instance/` entry from `.gitignore`.

## robots.txt

By default, the `robots.txt` that ships in `priv/static/` is permissive. It allows well-behaved search engines to index all of your instance's URIs.


Loading…
取消
儲存