mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
Update workflow to change baseurl for cn site (#2081)
* Docs: fix gitinfo Signed-off-by: Carson Yang <yangchuansheng33@gmail.com> * Update workflow to change baseurl for cn site Signed-off-by: Carson Yang <yangchuansheng33@gmail.com> --------- Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
{{ end }}
|
||||
|
||||
<!-- change -->
|
||||
{{ $repoURL = $repoURL | append "docSite/content" .Site.LanguagePrefix $filePath }}
|
||||
{{ $repoURL = $repoURL | append "docSite/content" .Site.Language.Lang $filePath }}
|
||||
{{ $repoURL = delimit $repoURL "/" }}
|
||||
{{ $editPageURL := replaceRE "(https?://)|(/)+" "$1$2" $repoURL }}
|
||||
|
||||
|
Reference in New Issue
Block a user