Skip to content

Need a Little help with page titles #12455

Answered by clizlee
smrtrnx asked this question in Q&A
Discussion options

You must be logged in to vote

@smrtrnx sounds like you're using Foundation with Panini is that right? If so, then in your layouts/default.html <title> tag you would place kind of like a variable that would change for each page. So here's how mine looks:

<title>{{meta-title}}</title>

then in pages/index.html you have at the top of each page what you call "front matter" that starts with "---" at the top and bottom of the front matter. so for the title for the index page it would look like:

---
meta-title: Title for My Index Page
---

then for each page within pages folder, you would place a different title after meta-title: in the front matter for that page. but there's a lot more to learn for Panini than just that. so …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@smrtrnx
Comment options

@clizlee
Comment options

Answer selected by smrtrnx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants