Ilya Grigoriev 448f1fd630 templates: add .email_domain() method to signatures
This is slightly less pretty than making an Email type,
but I think is much easier.

I would use instead of the last argument of:

```
  concat(
    label("email", signature.username()),
    "@",
    label("email",
      signature.email().remove_prefix(
        signature.username()
      ).remove_prefix("@")
    )
  )
```

(Aside for more motivation: I initially had a bug above by using
`.remove_prefix(signature.username() ++ "@")`. This is wrong since an
email might not contain an `@`, as I discovered while looking at the
code. The bug is now fixed, but `signature.email_domain()` would avoid
the problem)
2024-10-21 19:12:15 -07:00
..
2024-10-05 01:18:52 -07:00
2024-07-24 10:49:46 +09:00