This lightweight Baserow template includes minimal styles, focusing on providing the logic to connect to Baserow while allowing custom styling.
Template contents:
Directory page – List of records, including pagination, filters, and search.
Directory Item page – Row template listing one record. It will change the record based on the URL.
Sitemap – Dynamic sitemap outputting static pages and directory items.
These values need to come from your Baserow account.
API Token – Create a token by going to your Baserow dashboard > My Settings > Database tokens > Create a token with read permissions for your database > and copy the generated token.
Table ID – Go to your database, and on the left, click the three dots next to the database name and click "View API Docs". Then, on the left, click your table name and copy the table ID from the text, "The ID of this table is: 352571".
Copy these values and add them to Webstudio on three pages: Directory, Directory Item, and Sitemap. Go to Body (or Page Wrapper) > Settings > Variables > on each page and update the Baserow Token and Baserow Table ID values.
On the Directory page, update the "⚙️ Order By" variable with the field you want to order by. Also update the filter values in the Baserow Data variable.
The Baserow API docs (found by going to your table, database on the left, and clicking the three dots) will be immensely helpful.