update index.qmd

This commit is contained in:
2025-11-27 16:28:33 +08:00
parent 304c78ebbf
commit 4741b2b22d
4 changed files with 178 additions and 25 deletions
+3 -1
View File
@@ -19,7 +19,9 @@ tibble::tibble(branch = system("git branch -a", intern = TRUE)) |>
htmlstr = paste0(
"## [**Version**: ",
branch,
"](https://drc.drwater.net/{{< var projtype >}}/{{< var pubtype >}}/{{< var reponame >}}/",
"](https://drc.drwater.net/{{< var projtype >}}/",
ifelse(grepl("pub", branch, ignore.case = TRUE), "public", "protected"),
"/{{< var reponame >}}/",
branch,
"/)"
)