# 客户过滤器

Customer filters 输出使客户能够在店铺中与其账户进行交互的 URL。

## customer\_login\_link

`string | customer_login_link`

returns  [string](../basics/liquid-types#string)

生成指向客户登录页面的 HTML 链接。

**代码**

```liquid
{{ 'Log in' | customer_login_link }}
```

**输出**

```html
<a href="/account/login" id="customer_login_link">Log in</a>
```
