From 68d35244505c75cea91620cbbb4cd5b1b98736c6 Mon Sep 17 00:00:00 2001 From: neillordC1 <54580701+neillordC1@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:05:27 +0100 Subject: [PATCH] Update model.md (#5848) the code in the first macro example was missing == ## What are you changing in this pull request and why? ## Checklist - [ ] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. - [ ] For [docs versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#about-versioning), review how to [version a whole page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) and [version a block of content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content). - [ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." Adding or removing pages (delete if not applicable): - [ ] Add/remove page in `website/sidebars.js` - [ ] Provide a unique filename for new pages - [ ] Add an entry for deleted pages in `website/vercel.json` - [ ] Run link testing locally with `npm run build` to update the links that point to deleted pages --- website/docs/reference/dbt-jinja-functions/model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/dbt-jinja-functions/model.md b/website/docs/reference/dbt-jinja-functions/model.md index 59c3421d856..903851617f2 100644 --- a/website/docs/reference/dbt-jinja-functions/model.md +++ b/website/docs/reference/dbt-jinja-functions/model.md @@ -11,7 +11,7 @@ description: "`model` is the dbt graph object (or node) for the current model." For example: ```jinja -{% if model.config.materialization = 'view' %} +{% if model.config.materialization == 'view' %} {{ log(model.name ~ " is a view.", info=True) }} {% endif %} ```