eaac4c75b6
* Add link & target props to big_number.handlebars * Refactor: added new links in 49_big_number.sql and updated big_number.handlebars * Refactor: added new links in 49_big_number.sql * Apply suggestions from code review * fix broken links in the documentation * Update CHANGELOG.md --------- Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
SQLPage component templates
SQLPage templates are handlebars1 files that are used to render the results of SQL queries.
Default components
SQLPage comes with a set of default2 components that you can use without having to write any code. These are documented on https://sql-page.com/components.sql
Custom components
You can write your own component templates
and place them in the sqlpage/templates directory.
To override a default component, create a file with the same name as the default component.
If you want to start from an existing component, you can copy it from the sqlpage/templates directory
in the SQLPage source code2 .
-
A simple component to start from: https://github.com/sqlpage/SQLPage/blob/main/sqlpage/templates/code.handlebars ↩︎