.gitea
assets
content
data
layouts
static
admin
config
links
previews
field-previews
components
body-preview.js
boolean-preview.js
count-preview.js
date-preview.js
draft-preview.js
index.js
page-previews
shortcodes
icons.js
index.html
data
media
schulchronik
favicon.ico
.gitignore
.mailmap
LICENSE
config.yml
- [x] Update auf Static CMS v2.0 - [x] aktualisierte Shortcodes (schließt #225) - [x] aktualisierte Previews (schließt #181) - Ordnerunterstützung - [x] vervollständigte Seiten - [x] Aufräumarbeiten Reviewed-on: #226
6 lines
154 B
JavaScript
6 lines
154 B
JavaScript
import { truncate } from "./components/index.js";
|
|
|
|
const BodyPreview = ({ value }) => h("p", {}, truncate(value ?? "", 50));
|
|
|
|
export default BodyPreview;
|