fix to context recycling and top/bottom anchors on posts display
This commit is contained in:
+1
-3
@@ -575,9 +575,7 @@ func contextRecycler(incoming chan *amContext, done chan bool) {
|
|||||||
for c := range incoming {
|
for c := range incoming {
|
||||||
c.echoContext = nil
|
c.echoContext = nil
|
||||||
c.httprc = http.StatusOK
|
c.httprc = http.StatusOK
|
||||||
for k := range c.rendervars {
|
c.rendervars = make(jet.VarMap)
|
||||||
delete(c.rendervars, k)
|
|
||||||
}
|
|
||||||
c.outputType = ""
|
c.outputType = ""
|
||||||
c.session = nil
|
c.session = nil
|
||||||
c.globals = nil
|
c.globals = nil
|
||||||
|
|||||||
+2
-2
@@ -71,7 +71,7 @@
|
|||||||
<button type="submit" name="go" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">Go</button>
|
<button type="submit" name="go" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded text-sm font-medium transition-colors">Go</button>
|
||||||
</form>
|
</form>
|
||||||
<div class="flex items-center gap-2 text-sm" name="top">
|
<div class="flex items-center gap-2 text-sm" name="top">
|
||||||
<span>[</span>
|
<a name="top"><span>[</span></a>
|
||||||
<a href="{{ post_stem }}?r=0,-1" class="text-blue-700 hover:text-blue-900">View All</a>
|
<a href="{{ post_stem }}?r=0,-1" class="text-blue-700 hover:text-blue-900">View All</a>
|
||||||
{{ if rangeStart > 0 }}
|
{{ if rangeStart > 0 }}
|
||||||
<span>|</span>
|
<span>|</span>
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
|
|
||||||
<!-- Bottom Navigation -->
|
<!-- Bottom Navigation -->
|
||||||
<div class="flex justify-end items-center mb-6 text-sm" name="bottom">
|
<div class="flex justify-end items-center mb-6 text-sm" name="bottom">
|
||||||
<span>[</span>
|
<a name="bottom"><span>[</span></a>
|
||||||
<a href="{{ post_stem }}?r=0,-1" class="text-blue-700 hover:text-blue-900 mx-2">View All</a>
|
<a href="{{ post_stem }}?r=0,-1" class="text-blue-700 hover:text-blue-900 mx-2">View All</a>
|
||||||
{{ if rangeStart > 0 }}
|
{{ if rangeStart > 0 }}
|
||||||
<span>|</span>
|
<span>|</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user