diff --git a/src/images/circled-cc.svg b/src/images/circled-cc.svg new file mode 100644 index 0000000..fc91857 --- /dev/null +++ b/src/images/circled-cc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/theme/pagetoc.js b/theme/pagetoc.js index 2e79f03..5bfb6df 100644 --- a/theme/pagetoc.js +++ b/theme/pagetoc.js @@ -65,3 +65,12 @@ if(document.querySelector("#document-not-found404")) { } }, 1000); } + +var f = document.getElementById("last-change"); +if (f) { + var text = f.innerHTML; + text = text.replace("Last change", "知识共享许可协议,CC - 最后修改") + text = text.replace("commit", "于提交") + + f.innerHTML = text +}