Skip to content

chore: use cot::Template instead of askama::Template in guide#62

Merged
m4tx merged 2 commits intomasterfrom
cot-template
Jan 22, 2026
Merged

chore: use cot::Template instead of askama::Template in guide#62
m4tx merged 2 commits intomasterfrom
cot-template

Conversation

@m4tx
Copy link
Member

@m4tx m4tx commented Jan 21, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates documentation examples to use cot::Template instead of askama::Template, aligning the guide with the recommended import pattern for the cot framework.

Changes:

  • Replaced use askama::Template; with use cot::Template; in code examples
  • Reordered imports in error-pages.md to group cot imports together

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/md-pages/v0.5/templates.md Updated Template import from askama to cot
src/md-pages/v0.5/error-pages.md Updated and reordered Template import from askama to cot
src/md-pages/master/templates.md Updated Template import from askama to cot (master version)
src/md-pages/master/error-pages.md Updated and reordered Template import from askama to cot (master version)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@m4tx m4tx merged commit cdbd380 into master Jan 22, 2026
11 checks passed
@m4tx m4tx deleted the cot-template branch January 22, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants