chore: Rimosso file utenti.go e spostati file .json in _content/
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ func withSpacers(events []*GenericEvent) []*GenericEvent {
|
||||
func getDateYear(date string) int {
|
||||
year, err := strconv.Atoi(strings.Split(date, "/")[0])
|
||||
if err != nil {
|
||||
panic(err) // Tanto nel caso si nota in fase di sviluppo visto che "storia.json" è statico
|
||||
panic(err) // Tanto nel caso si nota in fase di sviluppo visto che "_content/storia.json" è statico
|
||||
}
|
||||
|
||||
return year
|
||||
|
||||
Reference in New Issue
Block a user