summaryrefslogtreecommitdiffstats
path: root/hugolib/site_test.go
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2018-10-02 20:54:36 -0500
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-10-03 09:34:45 +0300
commit1fd30d462ee7f67fde6f29d170af1d225258322b (patch)
treee73de2357390d7556e0d023a7ac399ff69bf79ca /hugolib/site_test.go
parent498d6299581bead0f582431b8133d8b5f8760618 (diff)
hugolib: Cast taxonomy weight parameters to int
Fixes #4628
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r--hugolib/site_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go
index 2315af209..f775b0e79 100644
--- a/hugolib/site_test.go
+++ b/hugolib/site_test.go
@@ -823,7 +823,7 @@ tags = "a"
tags_weight = 33
title = "bar"
categories = [ "d", "e" ]
-categories_weight = 11
+categories_weight = 11.0
alias = "spf13"
date = 1979-05-27T07:32:00Z
+++