chore: Rimosso file utenti.go e spostati file .json in _content/

This commit is contained in:
2022-08-28 18:11:08 +02:00
parent 805d9a7ba5
commit 192d8ea944
6 changed files with 3 additions and 44 deletions
+1 -1
View File
@@ -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