Skip to content

Commit

Permalink
fix(layouts/base): use it data prefix for accesing external title and…
Browse files Browse the repository at this point in the history
… description data
  • Loading branch information
uncenter committed Jan 29, 2025
1 parent 6e59de5 commit 83746d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/base.vto
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ socialLinks:
icon: mastodon
---

{{ set title = title ? (title + " - " + site.domain) : site.domain }}
{{ set description = description ? description : site.description }}
{{ set title = it.title ? (it.title + " - " + site.domain) : site.domain }}
{{ set description = it.description || site.description }}

<!DOCTYPE html>
<html lang="{{ site.lang }}">
Expand Down

0 comments on commit 83746d3

Please sign in to comment.