diff --git a/docs/index.html b/docs/index.html
index 41d0d5b..99eda04 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -75,7 +75,8 @@
# parse branch
branch=$(__parse "s/^## (HEAD \(no branch\))$/\1/p")
branch=${branch:-$(__parse "s/^## No commits yet on (.*)$/\1/p")}
- branch=${branch:-$(__parse "s/^## ([^ \.]*).*$/\1/p")}
+ branch=${branch:-$(__parse "s/^## (.*)[\.]{3}[^ ]*.*$/\1/p")} # branch...remote
+ branch=${branch:-$(__parse "s/^## (.*)[^ ]*.*$/\1/p")} # branch
# parse push state
remote=$(__parse "s/^## .*[\.]{3}([^ ]*).*$/\1/p")