{{define "content"}} {{if not .HasData}}
{{template "emptystate" .}}
{{else}}

{{.Settings.OwnerAvatar}} {{.Settings.OwnerName}}

{{if .Settings.SiteSubtitle}}{{.Settings.SiteSubtitle}} · {{end}}{{.RangeLabel}}
{{if .Settings.Has "overview"}}
{{num .Overview.Places}}个
去过的地点
{{num .Overview.Cities}}座
到过的城市
{{num .Overview.Provinces}}个
覆盖省份
{{num .Overview.Days}}天
有记录的日子
{{num .Overview.Visits}}次
累计到访
{{dur .Overview.DwellMin}}
累计停留
{{km .Overview.DistanceKm}}km
出行里程
{{if .Overview.FirstAt}}{{since .Overview.FirstAt}}{{else}}—{{end}}
开始记录于
{{end}} {{if and (.Settings.Has "map") .Points}}

足迹地图

共 {{num (len .Points)}} 个地点{{if .Settings.HideHome}} · 已隐藏「家」{{end}}{{if .Settings.HideWork}} · 已隐藏「工作」{{end}}
滚轮被禁用,点击地图进入全屏模式查看细节与筛选。
{{end}}
{{if and (.Settings.Has "types") .ActivityStats}}

去过的类型

按到访次数排序
{{range .ActivityStats}}
{{with icon .Icon}}{{.}} {{end}}{{.Name}}
{{num .Count}} 次
{{end}}
{{end}} {{if and (.Settings.Has "cities") .CityStats}}

城市足迹

按到访次数排序
{{range .CityStats}}
{{num .Count}} 次
{{end}}
共覆盖 {{num .Overview.Cities}} 座城市、{{num .Overview.Provinces}} 个省级行政区。
{{end}}
{{if .Monthly}}

月度活跃度

每月到访次数
{{range .Monthly}}
{{end}}
{{range .Monthly}}{{.Label}}{{end}}
{{end}} {{if and (.Settings.Has "heatmap") .Calendar}}

活跃日历

每一列是一周,颜色越深记录越多
{{range .Calendar}}
{{range .Days}}
{{end}}
{{end}}
少 多
{{end}}
{{if and (.Settings.Has "transport") .Transports}}

出行方式

按次数排序,里程为两点间直线距离估算
{{range .Transports}}
{{with icon .Icon}}{{.}} {{end}}{{.Name}}
{{num .Count}} 次
{{end}}
{{end}} {{if and (.Settings.Has "tags") .Tags}}

足迹标签

记录时打上的自定义标签
{{range .Tags}} {{.Name}} {{num .Count}} {{end}}
{{end}}
{{if and (.Settings.Has "weather") .Weather}}

天气足迹

记录期间经历过的天气
{{range .Weather}} {{end}}
天气记录小时数平均气温范围
{{condition .Condition}} {{num .Count}} {{f1 .AvgTemp}} ℃ {{f1 .MinTemp}} ~ {{f1 .MaxTemp}} ℃
{{end}} {{if and (.Settings.Has "timeline") .Recent}}

最近足迹

最新 {{num (len .Recent)}} 条到访记录
{{range .Recent}}
{{iconor .Icon "📍"}}
{{if .PlaceID}}{{.PlaceName}}{{else}}未命名地点{{end}}
{{day .Arrival}} · {{hm .Arrival}}{{if .City}} · {{.City}}{{end}}{{if .ActivityName}} · {{.ActivityName}}{{end}}{{if .Tags}} · {{range $i, $t := .Tags}}{{if $i}}、{{end}}{{$t}}{{end}}{{end}}
{{dur .DurationMin}}
{{since .Arrival}}
{{end}}
查看完整时间线 →
{{end}}
{{if and (.Settings.Has "map") .Points}} {{end}} {{end}} {{end}}