Skip to content

minimal middleman examples, mostly to examine stuff that does not seem to work

Notifications You must be signed in to change notification settings

bewest/middleman-xxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How does middleman link_to work with http_prefix?

My page is hosted at eg, foo.github.io/foo-bar/. Therefore, when serving locally, I need either all links to work from / or from /foo-bar/. Currently they work in live mode using /.

However, after executing middleman build, with an http_prefix the output links still look like / instead of /foo-bar/.

If there is a page in a sub-directory as in subs/index a nav bar will need to link correctly back correctly; do I need invent my own custom variable to handle this or does link_to cover relative links with an http_prefix through configuration?

About

minimal middleman examples, mostly to examine stuff that does not seem to work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages