Initial commit
This commit is contained in:
36
Templates/Bases/Everything.base
Normal file
36
Templates/Bases/Everything.base
Normal file
@@ -0,0 +1,36 @@
|
||||
formulas:
|
||||
Embeds: if(file.embeds[0].containsAny("jpg","gif","webp","jpeg","avif"), file.embeds[0])
|
||||
Date: if(created,created,if(start,start))
|
||||
views:
|
||||
- type: table
|
||||
name: All files
|
||||
order:
|
||||
- file.name
|
||||
- file.mtime
|
||||
- file.path
|
||||
- file.ext
|
||||
- type: cards
|
||||
name: Images
|
||||
filters:
|
||||
and:
|
||||
- '!file.ext.containsAny("base", "canvas", "pdf", "md")'
|
||||
order:
|
||||
- file.name
|
||||
sort:
|
||||
- property: file.name
|
||||
direction: ASC
|
||||
image: file.file
|
||||
- type: cards
|
||||
name: Images in posts
|
||||
filters:
|
||||
and:
|
||||
- "!formula.Embeds.isEmpty()"
|
||||
order:
|
||||
- file.name
|
||||
- formula.Date
|
||||
sort:
|
||||
- property: file.name
|
||||
direction: ASC
|
||||
- property: date
|
||||
direction: DESC
|
||||
image: formula.Embeds
|
||||
Reference in New Issue
Block a user