Removed user specific code

This commit is contained in:
Brandon Rozek 2024-05-04 22:56:17 -04:00
parent d689db91c2
commit 824a45b711
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480

View file

@ -56,12 +56,6 @@
<p><strong>Recorded Walk: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p> <p><strong>Recorded Walk: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }} {{ end }}
{{ $data := getJSON "https://en.wikipedia.org/w/api.php?action=query&format=json&list=usercontribs&ucuser=BrandonRozek&uclimit=1" }}
{{ range first 1 $data.query.usercontribs }}
<p><strong>Wikipedia Page: </strong><a href="https://en.wikipedia.org/?curid={{ .pageid }}">{{ .title }}</a></p>
{{ end }}
{{ $items := (where site.RegularPages "Type" "observations").ByDate }} {{ $items := (where site.RegularPages "Type" "observations").ByDate }}
{{ range last 1 $items }} {{ range last 1 $items }}
{{ $name := "" }} {{ $name := "" }}