diff --git a/layouts/partials/filing.html b/layouts/partials/filing.html new file mode 100644 index 00000000000..e97333358dd --- /dev/null +++ b/layouts/partials/filing.html @@ -0,0 +1,4 @@ +{{ $baseURL := urls.Parse .Site.BaseURL }} +{{- if hasSuffix $baseURL.Hostname "cloudwego.cn" -}} +
备案号:京ICP备18026016号-10
+{{- end -}} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b7035f50e59..af4338e7a35 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -29,6 +29,7 @@ {{ .name }} {{ end }}

+ {{ partial "filing.html" . }}