fix search with no results on deployed tekuti
* tekuti/page-helpers.scm: Be patient with git errors. Dunno why they happen, though.
This commit is contained in:
parent
8e19b46ec8
commit
29bc9314dd
1 changed files with 4 additions and 1 deletions
|
@ -253,7 +253,10 @@
|
||||||
(dsu-sort
|
(dsu-sort
|
||||||
(filter
|
(filter
|
||||||
identity
|
identity
|
||||||
(match-lines (git "grep" "-l" "-F" string master "--" "*/content")
|
(match-lines (or (false-if-git-error
|
||||||
|
;; dunno why git errors sometimes here...
|
||||||
|
(git "grep" "-l" "-F" string master "--" "*/content"))
|
||||||
|
"")
|
||||||
":(.+)/content$" (_ key)
|
":(.+)/content$" (_ key)
|
||||||
(post-from-key master key)))
|
(post-from-key master key)))
|
||||||
post-timestamp
|
post-timestamp
|
||||||
|
|
Loading…
Reference in a new issue