Tinderbox Forum

Capture value($Attribute) of file that included this file

I currently have a note that is called Page Header. It contains a re-usable block of HTML code that I include in all my HTML templates across my site:

<!DOCTYPE html>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="^root^static/css/style.css" />

Unfortunately, value($PageTitle) doesn’t capture the attribute value of the page that included this snippet. How do I target the page that has included this?



returns the value of $PageTitle for this note-- the note that’s being exported right now.


returns the value of $PageTitle for the current note – the note corresponding to the page Tinderbox is building.

1 Like

Perfect! Thanks so much