mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-06-29 00:18:24 +00:00
remove previous button and increase cache time
This commit is contained in:
parent
1cadb417b9
commit
61eb1c5a86
@ -105,6 +105,6 @@ func (client *Client) FetchTag(tag string, sort string, page string) (Tag, error
|
||||
Background: "/" + data.Get("background_id").String() + ".webp",
|
||||
}
|
||||
|
||||
client.Cache.Set(tag+sort+page+"-tag", tagData, cache.DefaultExpiration)
|
||||
client.Cache.Set(tag+sort+page+"-tag", tagData, 4*cache.DefaultExpiration)
|
||||
return tagData, nil
|
||||
}
|
||||
|
@ -54,10 +54,6 @@
|
||||
</div>
|
||||
{{#noteq next ""}}
|
||||
<div class="flex">
|
||||
{{#noteq prev ""}}
|
||||
<!-- TODO: prev -->
|
||||
<a href="{{prev}}" title="Previous" class="px-3 py-2 rounded-l-lg bg-gray-400 text-gray-800"><</a>
|
||||
{{/noteq}}
|
||||
<a href="{{next}}" class="px-3 py-2 rounded-r-lg [&:only-child]:rounded-lg bg-green-400 text-gray-800">Next
|
||||
></a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user