diff options
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | templates/base.html | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -61,3 +61,11 @@ year = 2019 month = 11 day = 03 ``` + +### License + +Set a field in `extra` with a key of `license`: + +```toml +license = "@ 宇宙眼睛人" +``` diff --git a/templates/base.html b/templates/base.html index 31623a7..793efad 100644 --- a/templates/base.html +++ b/templates/base.html @@ -65,7 +65,7 @@ {% endblock %} </main> {% block footer %} - <p class="license">{{ config.license | default(value='') }}</p> + <p class="license">{{ config.extra.license | default(value='') }}</p> {% endblock %} </body> </html> |