# Template Page - force link to new page follow the same template

**URL:** https://community.silverbullet.md/t/template-page-force-link-to-new-page-follow-the-same-template/1148
**Category:** General
**Created:** [October 24, 2024, 2:04pm UTC](https://community.silverbullet.md/t/template-page-force-link-to-new-page-follow-the-same-template/1148 "2024-10-24T14:04:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jasonfen](https://community.silverbullet.md/user_avatar/community.silverbullet.md/jasonfen/32/686_2.png) [@jasonfen](https://community.silverbullet.md/u/jasonfen)
#### Post date: [October 24, 2024, 2:04pm UTC](https://community.silverbullet.md/t/template-page-force-link-to-new-page-follow-the-same-template/1148/1 "2024-10-24T14:04:50Z")

</div>

I am new to SilverBullet and love it so far. Right now I’m building out a “Work Journal” template which will be my daily note pages. The template by default has links to {{yesterday}} and {{tomorrow}}, and I’d like to have those links create the new page using the same template. Is there a way to do that?

My template:

> ```auto
> ---
> tags: template
> hooks.newPage:
> suggestedName: "work/journal/{{today}}"
> confirmName: false
> openIfExists: true
> tags: workjournal
> ---
> 
> ___
> [[work/journal/{{yesterday}}|<<<]] **{{today}}** [[work/journal/{{tomorrow}}|>>>]]
> ___
> 
> # To-Do:
> - [] #1
> - [] .
> 
> # Meetings
> 
> # Actual Work
> 
> ```

---

<div class="post-metadata">

### Author: ![zef](https://community.silverbullet.md/user_avatar/community.silverbullet.md/zef/32/7_2.png) [@zef](https://community.silverbullet.md/u/zef)
#### Post date: [October 24, 2024, 4:30pm UTC](https://community.silverbullet.md/t/template-page-force-link-to-new-page-follow-the-same-template/1148/2 "2024-10-24T16:30:02Z")

</div>

Yes, you can specify the `forPrefix` in frontmatter (at the level of to the `confirmName` etc. attributes). When you specify `work/journal/` there, it should auto trigger the template when creating this pages under this prefix.

[https://silverbullet.md/Page%20Templates](https://silverbullet.md/Page%20Templates)
