mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 12:52:10 +00:00
fix fetching mentions when no webmention file exists
This commit is contained in:
parent
aebc49772e
commit
d8eae6f057
1 changed files with 5 additions and 1 deletions
|
@ -82,6 +82,10 @@ fetch_webmentions() {
|
|||
}
|
||||
|
||||
# fetch webmentions if we don't have a fresh copy already.
|
||||
if ! check_cached_webmentions "$stale_after_minutes"; then
|
||||
if [ -f "$webmentions_file" ]; then
|
||||
if ! check_cached_webmentions "$stale_after_minutes"; then
|
||||
fetch_webmentions
|
||||
fi
|
||||
else
|
||||
fetch_webmentions
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue