What I’m trying to do
Hi, I have just bought into Catalyst specifically for Bases and am loving it!
I am using Obsidian for archival work where I’m going through old books and periodicals and noting down all the different texts and recording their titles, authors, topics, etc.
I have a folder called Authors with a file for each author and some YAML data that describes useful information about them and space for biographical notes, secondary literature on them, etc. These files all have a property called ‘type’ with the value ‘author’. So e.g. for the author John Smith, there is a file titled “John Smith” with:
---
type: author
denomination: protestant
birthdeath: 1900–1950
---
I have another folder called Texts with a file for each article/book that includes YAML properties for author, year of publication, etc. At the moment, to link texts to their authors, I am just putting [[–]] around the author name so that property links directly to the file with that author’s name as its title.
---
type: text
author: [[John Smith]]
pubyear: 1925
source: Truth Magazine
---
I want to make a template for creating author files which automatically embeds a base on the author page that displays all the texts by that author. e.g. when I create a new author file from the template and title it “John Smith”, it will automatically include a base that shows all the folders in the Texts folder who have John Smith as their author.
---
type: author
denomination:
birthdeath:
---
# Bio
# Secondary Sources
# Texts
{???bases code???}
My question is basically what do I put where I’ve got {???bases code???} to generate a base that will show all files in the Texts folder where the “author” property has a value that matches the file name? There is probably a simple answer but reading the documentation I can’t quite figure it out.
Thanks!!!