{{/*### Handler=/ TitleBar=Home Page KyutGrill=homepage2.jpg */}} {{ define "tpl" }} {{ $cf := .ClientFlags }} {{ $ds := band $cf 1 }} {{ $ := . }}
{{ $set := systemSettings "website_home_alert" }} {{ with $set.website_home_alert.String }}
{{ . | html }}
{{ end }} {{/* Not logged in block */}} {{ if not .Context.User.ID }}

{{ .T "Welcome to Ripple." }}

{{ .T "You look new here. Allow us to introduce you to what Ripple is." }}

{{ .T "Ripple is a private osu! server, featuring multiplayer, PP, a very active community and a development team going strong implementing new features and squashing bugs. You can check out even more features here. It has also a very friendly community, and it's open source! Just so you know, we currently have %s users online and %s registered users!" (rediget "ripple:online_users") (rediget "ripple:registered_users") | html }}

{{ .T "What are you waiting for? Join Ripple! It's risk-free: you won't get your account banned on the official server if you play on Ripple.
You can also switch anytime between the official osu! server and Ripple!" | html }}

{{ else }}

{{ .T "Howdy, %s!" .Context.User.Username }}

{{ .T "Welcome back to Ripple. We currently have %s online users and %s total registered users. Nice day to farm a few maps, isn't it?" (rediget "ripple:online_users") (rediget "ripple:registered_users") | html }}

{{ end }} {{ with (.Get "blog/posts?l=5") }}

{{ $.T "Latest news from our blog" | html }}

{{ range $i, $v := .posts }}

{{ html $v.title }}
{{ $v.creator.name }}, {{ time $v.created_at }}

{{ $v.snippet }}

{{ end }}
{{ end }}
{{ end }}