```dataview
table without id
File as "Subdomains",
dateformat(file.mtime, "yyyy-MM-dd") as "Last Modified"
from #subdomain
FLATTEN "[[" + file.path + "|" + truncate(file.name, 40) + "]]" as File
where
(
(domain and contains(domain, this.file.link)
and (file.name != this.file.name))
or
any(map(file.tags,
(x) => econtains(this.domain_tags, substring(x, 1))))
or
any(map(file.tags,
(x) => any(map(this.domain_tags,
(domtag) => contains(x, domtag + "/")))
))
)
sort file.mtime desc
```
```dataview
table without id
File as "Topics",
join(
sort(map(
filter(file.tags, (tag) => any(map(this.domain_tags, (domtag) => contains(tag, domtag + "/")))),
(x) => regexreplace(replace(x, "_", " "),
"#("+ join(this.domain_tags, "|") +")/", "")
)
),
", ") as "Type",
dateformat(file.mtime, "yyyy-MM-dd") as "Last Modified"
from ""
FLATTEN "[[" + file.path + "|" + truncate(file.name, 30) + "]]" as File
FLATTEN domain as domain
where
(
(domain and contains(domain, this.file.link)
and (file.name != this.file.name))
or
any(map(file.tags,
(x) => econtains(this.domain_tags, substring(x, 1))))
or
any(map(file.tags,
(x) => any(map(this.domain_tags,
(domtag) => contains(x, domtag + "/")))
))
)
and
!contains(file.path, "2 - Snippets")
and
!contains(file.tags, "subdomain")
sort file.mtime desc
```
```dataview
table without id
File as "Snippets",
join(
sort(map(
filter(file.tags, (tag) => any(map(this.domain_tags, (domtag) => contains(tag, domtag + "/")))),
(x) => regexreplace(replace(x, "_", " "),
"#("+ join(this.domain_tags, "|") +")/", "")
)
),
", ") as "Type",
dateformat(file.mtime, "yyyy-MM-dd") as "Last Modified"
from "2 - Snippets"
FLATTEN "[[" + file.path + "|" + truncate(file.name, 30) + "]]" as File
FLATTEN domain as domain
where
(
(domain and contains(domain, this.file.link)
and (file.name != this.file.name))
or
any(map(file.tags,
(x) => econtains(this.domain_tags, substring(x, 1))))
or
any(map(file.tags,
(x) => any(map(this.domain_tags,
(domtag) => contains(x, domtag + "/")))
))
)
sort file.mtime desc
```