I don't know why all env variables start with var, but I tried to follow the same naming convention. I've named the index.html page "Home". The rest of the pages will have the name of their filename without the extension.
If we have a blog named MyBlog:
index.html title bar will read Home - MyBlog
pages/Contact.html title bar will read Contact - MyBlog
pages/About.html title bar will read About - MyBlog
posts/myPost.html title bar will read myPost - MyBlog
I didn't write export var_page="Home" to variables file, because it changes a lot.
I don't know why all env variables start with var, but I tried to follow the same naming convention. I've named the index.html page "Home". The rest of the pages will have the name of their filename without the extension.
If we have a blog named __MyBlog__:
* `index.html` title bar will read __Home - MyBlog__
* `pages/Contact.html` title bar will read __Contact - MyBlog__
* `pages/About.html` title bar will read __About - MyBlog__
* `posts/myPost.html` title bar will read __myPost - MyBlog__
I didn't write `export var_page="Home"` to `variables` file, because it changes a lot.
Thanks for this. According to the documentation though, you're supposed to name posts like 2016-02-04--Untimed article.md or 2016-02-04-17:00-Hello, world!.md and I feel it probably displays titles like these very ugly. You probably want to use doctitle, see line 288:
doctitle=${docbasename#*-*-*-*-}
Thanks for this. According to the documentation though, you're supposed to name posts like ```2016-02-04--Untimed article.md``` or ```2016-02-04-17:00-Hello, world!.md``` and I feel it probably displays titles like these very ugly. You probably want to use doctitle, see line 288:
```doctitle=${docbasename#*-*-*-*-}```
I don't know why all env variables start with var, but I tried to follow the same naming convention. I've named the index.html page "Home". The rest of the pages will have the name of their filename without the extension.
If we have a blog named MyBlog:
index.html
title bar will read Home - MyBlogpages/Contact.html
title bar will read Contact - MyBlogpages/About.html
title bar will read About - MyBlogposts/myPost.html
title bar will read myPost - MyBlogI didn't write
export var_page="Home"
tovariables
file, because it changes a lot.Thanks for this. According to the documentation though, you're supposed to name posts like
2016-02-04--Untimed article.md
or2016-02-04-17:00-Hello, world!.md
and I feel it probably displays titles like these very ugly. You probably want to use doctitle, see line 288:doctitle=${docbasename#*-*-*-*-}
Fixed it!
Any chance you could quickly squash this into a single commit? After that I'll hit merge :)
Done, thanks for the feedback!
Thanks again for the contribution!