record starting page name
Ted Unangst tedu@tedunangst.com
Thu, 05 Sep 2019 17:45:10 -0400
2 files changed,
4 insertions(+),
2 deletions(-)
M
views/honkpage.html
→
views/honkpage.html
@@ -14,9 +14,9 @@ {{ $BonkCSRF := .HonkCSRF }}
{{ if .TopXID }} <div class="info" id="refreshbox"> <script> -var topxid = { "home" : "{{ .TopXID }}" } +var topxid = { "{{ .PageName }}" : "{{ .TopXID }}" } var honksforpage = { } -var thispagename = "home" +var thispagename = "{{ .PageName }}" function fillinhonks(xhr) { var doc = xhr.responseXML topxid[thispagename] = doc.children[0].children[1].children[0].innerText