truncatesentences-filter added.
This commit is contained in:
15
helpers.go
Normal file
15
helpers.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package pongo2addons
|
||||
|
||||
func max(a, b int) int {
|
||||
if a > b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
func min(a, b int) int {
|
||||
if a < b {
|
||||
return a
|
||||
}
|
||||
return b
|
||||
}
|
Reference in New Issue
Block a user