The HB 页头新闻模块作为公告栏模块的替代品,其自动显示最近的新闻。

| Module | github.com/hbstack/header/modules/news |
|---|---|
| Repository | ⭐ Please consider giving a star if your like it. |
| Stars | |
| Version | |
| Used by | |
| Requirements | |
| License | |
| Usage | See how to use modules. |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sections | array | [news] | Main sections. | |
limit | number | 5 | The maximum number of news. | |
date_format | string | :date_full | The format of news date. | |
icon_name | string | bell-fill | The name of icon. | |
icon_vendor | string | bootstrap | The name of icon vendor. |