aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2016-12-14 09:15:16 -0800
committerChristine Dodrill <me@christine.website>2016-12-14 09:15:16 -0800
commit0770bb49cb7f72d12a89407cebb9e410ee33eb34 (patch)
tree4ed1b9b1cde66aeae5d17d9648df61a924a79da2
parent305db738ea631140da557fd03d88749cb182fe39 (diff)
downloadxesite-0770bb49cb7f72d12a89407cebb9e410ee33eb34.tar.xz
xesite-0770bb49cb7f72d12a89407cebb9e410ee33eb34.zip
backend: reverse sort
-rw-r--r--backend/christine.website/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/christine.website/main.go b/backend/christine.website/main.go
index 08a46da..63045a8 100644
--- a/backend/christine.website/main.go
+++ b/backend/christine.website/main.go
@@ -73,7 +73,7 @@ func init() {
panic(err)
}
- sort.Sort(posts)
+ sort.Sort(sort.Reverse(posts))
}
func main() {